Fog Creek Software
Discussion Board




Check for Updates

Anyone know of any good "drop-ins" that will allow me to add a "Check for Updates" feature to my app?

Something similar to what this app does here:
http://www.lottomania2000.com/en/checkupdates.htm

Thanks!

Edward
Sunday, January 04, 2004

Currently looking at this to install/update a VB app. Since VB has some prerequisistes, I'm thinking of writing a web-based installer with NSIS which, unlike Inno, supports installs over the Net.

http://nsis.sourceforge.net

Also, you can start looking at http://www.planetsourcecode.com , and search for "updater". Haven't tried any of the samples yet.

Frederic Faure
Sunday, January 04, 2004

I don't know what language you are working in, but libcurl from curl.haxx.se makes doing a quick check pretty easy.  If you have a predefined place on your web site where the application can check, it's trivially easy to snarf a file.

Clay Dowling
Sunday, January 04, 2004

If the updates are pure data file updates, then it doesn't sound too difficult to code...
The app makes a web request that contains within the query string the current version number and parameter check_update.

Server handles query, checks db and replies (most easily in xml) with the latest version number, and the readme text, whereupon the user can download the updated data file.

SC
Sunday, January 04, 2004

Have a look at the Updater Application Block (free code).

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/updater.asp

Just me (Sir to you)
Monday, January 05, 2004

*  Recent Topics

*  Fog Creek Home