GregDude
Posts: 7
Joined: Thu Apr 14, 2016 3:09 am

Auto restart after installation via update

We have installer and update projects configured like this:

Installer project:
Exit Dialog
Finish Actions
Launch Application
[] Launch application at the end of installation

Update project:
Auto Close Application (tab)
Auto Restart

If Auto Restart is enabled in the update project, when installer is launched from application via the updater, the installer
finishes with option 'Launch application?' checkbox. If the user unchecks the box, the application still restarts.

Is there a work around eg. set the checkbox based on the updater launching with restart enabled/disabled, or hide this installer option when launched with restart configured?

To clarify, the issue is that the application will always restart regardless of the install dialog restart checkbox, when launched as update.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Auto restart after installation via update

Hi,

Since the "Auto Restart" option is selected in the "Auto Close Application" tab, the application will always be launched after an update done through the Updater. If you want to let the user choose if the application will be launched or not, you can keep the "Launch application" option from the finish dialog, but uncheck the "Auto Restart" option from the "Auto Close Application" tab.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
GregDude
Posts: 7
Joined: Thu Apr 14, 2016 3:09 am

Re: Auto restart after installation via update

Fair enough. Thank you for your quick response.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Auto restart after installation via update

You're welcome.

If you have other questions, do not hesitate to ask us.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”