ivaldes1
16th December 2009 05:16 UTC
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
MSG
16th December 2009 08:43 UTC
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.
ivaldes1
16th December 2009 14:20 UTC
Are there any non-proprietary examples/solutions available that do this? Thanks! -- IV
MSG
17th December 2009 08:02 UTC
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.
ivaldes1
18th December 2009 04:30 UTC
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
MSG
18th December 2009 06:19 UTC
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.