Archive: Check for installed application updates?


Check for installed application updates?
Hello all, NSIS is a great product! I've successfully written an installer that installs approximately 8-9 related applications in a single group icon.

I've seen other programs popup a box that says an upgrade is available. Is there an NSIS way of periodically checking that a installed program upgrade is available for download and installation?

-- IV


No. NSIS only creates installers. Once it's done installing, it quits and it's done. If you want an application to stay in memory and periodically check for updates, you'll have to create such an application yourself.


Are there any non-proprietary examples/solutions available that do this? Thanks! -- IV


You could create an NSIS (or other) executable that checks a web address, and run the executable when the computer starts. But I would be VERY annoyed if someone tried to pull something like that on my PC.


What about something that simply asks for a users emails to notify of product updates with opt-out and sends their information to the author? Googling reveals SMTP Relay plug-in conversation but it appears years old. Is this the way that this kind of thing is still done? -- IV


Mailing is a bad idea, for various reasons. Better to set up a php script somewhere that takes email addresses as parameter and stores them on your server. Use one of the internet plugins to go to the URL.