When enabling the "Schedule updates" options, the installer will set a RunOnce registry key to run the update scheduler. The problem with this is that the user has to log out/in or restart the computer for it to show. To get around this, I do this at the end of the install:
[DEFINE REGION: Finish Setup]
Comment: End of Installation
Hide Dialog
if Variable REMOVE Equals FALSE
if Variable SUCCESS Equals COMPLETE
Run Program $EXEFILE$ /updatesetup
end
end
And so, I get the app icon in the system tray that lets me schedule updates. My main question is:
How can I make this only run during the installation? Everytime an update is automatically installed, the system tray icon re-appears to schedule updates.
I also have a side question, if that's okay:
How can I make the schedule updates dialog appear automatically. My current solution only makes the system tray icon appear and the user has to know to click it to schedule updates.
Thanks!
Schedule updates only during initial install
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Schedule updates only during initial install
You may have a look at "WebUpdate sample (customized)" from:
https://www.installaware.com/forums/viewtopic.php?f=2&t=6772
If I haven't missed your question, this should do exactly what you need.
https://www.installaware.com/forums/viewtopic.php?f=2&t=6772
If I haven't missed your question, this should do exactly what you need.
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Schedule updates only during initial install
Thank you, that is what I'm looking for.
Who is online
Users browsing this forum: No registered users and 30 guests