Written some cool source code? Upload it to Programmer's Heaven.

Read Post

C#

Moderators: None (Apply to moderate this forum)
Number of threads: 1987
Number of posts: 4268

This Forum Only
Post New Thread

Report
Auto update of program (Downloading from web) Posted by Dumpen on 30 Jun 2008 at 7:35 AM
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?
Reply
Report
Re: Auto update of program (Downloading from web) Posted by asponge on 30 Jun 2008 at 6:31 PM
Check out ClickOnce deployment:
http://msdn.microsoft.com/en-us/library/t71a733d(VS.80).aspx

: 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?
:
Reply




corner
© 1996-2008. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Publisher: Lars Hagelin.
bootstrapLabs Logo A bootstrapLabs project.