Assigning a Rule to a Group of Actions

InstallAnywhere 2018

If you want to apply one or more rules to two or more actions, first create an action group as the parent of those actions, and then apply the rules to the action group.

To assign a rule to a group of actions:

1. Create an Action Group action:
a. In the Advanced Designer, on the Organization page, click the sequence that contains the action that you want to configure. The corresponding view opens.
b. Click the Add Action button. The Choose an Action dialog box opens.
c. Click the action you want to add, and then click the Add button. InstallAnywhere adds the action to the action list. The Choose an Action dialog box remains open, enabling you to add additional actions as needed.
d. Use the arrow keys to move the action up or down in the action list.

Tip • When you nest actions within an action group, any rules that you assign to the action group must evaluate to true for these actions to run.

2. Configure the rules for the action group:
a. On the Action Group’s customizer, click the Rules tab.
b. Click the Add Rule button. The Choose a rule dialog box opens.
c. Select the rule that you want to add for the installer and click the Add button.

InstallAnywhere adds the rule to the rules list. Configure the rule’s settings as needed.

Comment Action Groups

To prevent an action group (and all of the actions that it contains) from being bundled with the installer, select the Comment Action Group check box on the Properties tab of the Action Group customizer. When this check box is selected, a overlay icon appears on top of the action group icon in the action list to indicate its change in status:

Comment Action Group

The Comment Action Group option gives you an easy way to retain the actions in an action group in your installation project but to not include them in the built installer. If, at some future time, you wish to include these actions in the installer, you can clear the selection of the Comment Action Group option.

See Also