Hello,
Is there a way to restart the program after all updates have been applied in the "silent" mode?
In order to achieve that you can use our predefined
Launch file custom action
with sequence to launch your application at the end of the installation process.
Please take a look on the
Launch file after installation article which may be useful to you.
2. If not, how do I display a message to the user telling them that an update has been applied and to restart the program manually? Again, this is in the silent mode.
Indeed, when a silent installation is made no dialog is displayed. However, you can create your own
custom action which will display a custom message at the end of the installation process of the updates. Then you can go in the
“Custom Actions” page and add a predefined
Launch attached file custom action
with sequence. This type of custom action can execute an application (EXE or DLL) or run a script (VBScript or Java script). Also, the source file will be embedded in the MSI file but will not be deployed at install time with the other application files.
Also, a message box can be displayed using our predefined
Execute inline script code custom action
with sequence which is basically a small VBScript or JScript that is ran during the install process.
Here is an example of a "Execute inline script code" custom action written in VBScript:
Code: Select all
MsgBox "Updates have been applied. You can now restart your application."
Please let us know if that helped.
Best regards,
Dan
FOLLOW US
Get the latest news in Application Packaging