Note that these programs on my
Hotkeys
page now have a Check for Update command in the Tray Menu:
ReOpen
FolderCache
Selector
TicClick
TicTac
Way more convenient.
This is the first time I've implemented going online to check for updates so a few notes may be in order:
It seems to work fine on my system, but I don't have dial-up to test with a dial-up connection. The function uses standard Inet calls, so it should be pretty vanilla.
The update process only sends file download requests to the server. No other info is sent. The file version info in the .exe file on your system is compared with the latest version available, that's read from the downloaded file. If the one online is newer, it asks if you want to download. The version info is in a small .ini file I keep updated on the server. The name of your running program is used to look up the file version info from the downloaded .ini file. Once the update check routine has the info it needs from the .ini file, it's deleted. Super simple.
If you update, the zip file and the program folder are both opened, and the program quits, so you can overwrite it with the newer files.