Trigger Rollback Action

InstallAnywhere 2020

You can add a Trigger Rollback action to the Install sequence to specifically initiate a rollback if a certain rule or condition is met. For example, suppose that you are trying to install an application that interacts with a database. You could add a Trigger Rollback action to the installation so that if the installer detects that the database is not accessible from the machine on which the installation is in progress, the installation could be rolled back.

To add a Trigger Rollback action to the Install sequence:

1. In the Advanced Designer, on the Sequence page, click Install. The Install view opens.
2. Click the Add Action button. The Choose an Action dialog box opens.
3. Click the Trigger Rollback Action action, and then click the Add button. InstallAnywhere adds the action to the Visual Tree. The Choose an Action dialog box remains open, enabling you to add additional actions as needed.
4. Click the Rules tab.
5. Click the Add Rule button.
6. Add the rule or rules that you want to use to define the conditions for rollback.

For a description of all available rules, see Rules Reference.

If the conditions that are defined in the rules are not met, the installation is rolled back.