Auto update of program (Downloading from web)
-
Hello. I have been creating a application that checks the application version and sees if it fits with the version from http://msbeditor.dumpen.dk/versioninfo.html If it doesnt I use a webBrowser component to open a download link to http://msbeditor.dumpen.dk/msbEditor.rar But this is not very practical because, the ones using my application have to download all files even though some of the files are not changed.. So I wanted to ask if you have an idea on how to make a auto updater in C#? I was thinking of something like: Check the application version with the online version (Allready done) If it doesnt fit, then match all the files (last changed or file size or similar) in the rar file (from msbeditor.dumpen.dk) with the files in the application folder If they are changed then download the changed files Any ideas?
-
Hello. I have been creating a application that checks the application version and sees if it fits with the version from http://msbeditor.dumpen.dk/versioninfo.html If it doesnt I use a webBrowser component to open a download link to http://msbeditor.dumpen.dk/msbEditor.rar But this is not very practical because, the ones using my application have to download all files even though some of the files are not changed.. So I wanted to ask if you have an idea on how to make a auto updater in C#? I was thinking of something like: Check the application version with the online version (Allready done) If it doesnt fit, then match all the files (last changed or file size or similar) in the rar file (from msbeditor.dumpen.dk) with the files in the application folder If they are changed then download the changed files Any ideas?
-
Sounds okay. You can create an additional updater application that will download the files and then update your main application when finished. regards
Thank you Im glad you like the idea But do you have any like real code for me? Because (for me since im not that expierenced) its hard to go from idea to actullay coding it A snippet or similar is just fine! :)
-
Hello. I have been creating a application that checks the application version and sees if it fits with the version from http://msbeditor.dumpen.dk/versioninfo.html If it doesnt I use a webBrowser component to open a download link to http://msbeditor.dumpen.dk/msbEditor.rar But this is not very practical because, the ones using my application have to download all files even though some of the files are not changed.. So I wanted to ask if you have an idea on how to make a auto updater in C#? I was thinking of something like: Check the application version with the online version (Allready done) If it doesnt fit, then match all the files (last changed or file size or similar) in the rar file (from msbeditor.dumpen.dk) with the files in the application folder If they are changed then download the changed files Any ideas?
Hi. Have you considered ClickOnce ? Kjetil