Customizing the Post-Install Sequence

InstallAnywhere 2018

The Post-Install sequence contains actions and panels that occur after the installation of files. You can use the Post-Install view on the Sequence page to add, configure, and remove items in the Post-Install sequence of your project.

By default, a new InstallAnywhere project contains the following items in the Post-Install sequence:

Panel: Install Complete—This panel appears when the installation has completed successfully. This action is determined by the status of the $INSTALL_SUCCESS$ variable. This panel displays only if $INSTALL_SUCCESS$ contains no error conditions.
Restart Windows—If the installer determines that it is necessary to restart a Windows-based system, this action restarts the system.

Installations that are created in InstallAnywhere are controlled primarily by InstallAnywhere rules. The rules that are set by default for the Restart Windows action are simple rules that are set to compare InstallAnywhere variables. InstallAnywhere rules are Boolean and allow the file, panel, or action to be installed, displayed, or run only if the rule resolves to True.

To add actions to the Post-Install sequence:

1. In the Advanced Designer, on the Sequence page, click Post-Install. The Post-Install view opens.
2. Click the Add Action button. The Choose an Action dialog box opens.
3. Click the action you want to add, and then click the Add button. InstallAnywhere adds the action to the Post-Install Action List. The Choose an Action dialog box remains open, enabling you to add additional actions as needed.
4. Use the arrow keys to move the action up or down in the action list.

To specify an action’s settings, select the action and use its customizers at the bottom of the view. For detailed information on each action’s customizer settings, see Actions.