Hello,
So putting this together, it seems like auto-update should have some way of understanding that it's updating a currently installed program, that would modify the installation dialogs so that
* User is not prompted for install directory or desktop/quicklaunch shortcut options
What you can do is conditionally display the FolderDlg depending on whether the installer is doing a fresh install, or an upgrade. For more details about that, you can consult our guide:
Conditionally displaying an install dialog.
You can use the UPGRADINGPRODUCTCODE property to detect whether the installer is doing an upgrade or a fresh install.
* Then when install is done, a success dialog appears with a "Relaunch" button.
If you want an automatic restart of the application, without the user prompt, you can follow these steps:
- in your Updates Configuration project, add or select an update
- in the right Properties pane, in the "Auto Close Applications" section, press New
- select your main executable path
- please make sure you have "Disable Auto Restart" checkbox unchecked if you want your application to restart after the update has been applied
Regards,
Gabriel
FOLLOW US
Get the latest news in Application Packaging