Code needed for automatic software update through Internet
-
I've searched and found no code on software update by Internet. Some gurus out there may be interested in writing a class CURLFileUpdate (MFC-MDI framework): (a) to read a list of {FileName, nVersion } from a given "Versions.ini" file. (b) to acess a file at a given URL to check for info (e.g. {FileName, nLatestVersion, bCritical} on files that are new or have later version, and to allow downloading these files and store them in a specified path. (c) to update the "Versions.ini" file (d) to allow the app to exit and then re-execute itself if any of the updated files is critical. Such a class would be very useful to a lot of programmers. I could cook up one for items (a,b,c), but I'll be stuck at (d) and the result will be pretty pathetic!!.