Insert Action Dialog Box

InstallShield 2020

Project:The Insert Action dialog box is available in the following project types:

Basic MSI
InstallScript MSI
MSI Database
Transform

The Insert Action dialog box enables you to insert a standard action, custom action, or dialog into one of your project’s sequences.

To launch the Insert Action dialog box:

1. In the View Bar / View List under Behavior and Logic, click Custom Actions and Sequences.
2. Right-click a sequence, dialog, custom action, or standard action, and then click Insert.

Tip:You can also launch this dialog box from the DIM References view in a Basic MSI project: In this view, click a DIM reference, and then click the Sequences tab. Right-click a sequence, dialog, custom action, or standard action, and then click Insert.

Dialog Options

Insert Action Dialog Box Options

Option

Description

Action Type

Select the type of action to insert:

Custom Actions—You can create custom actions with the Custom Action Wizard.
Dialogs—You can insert dialogs into the User Interface sequence. To create custom dialogs, use the Dialogs view.
DIM Custom Actions—These custom actions are stored within one or more DIM references that you have added to your installation project. The GUID for that DIM is appended to the name of the custom action. For example, if you have a LaunchUtility action called LaunchUtility stored within a DIM, it appears as LaunchNotepad.xxxxxxxx_xxxx_xxxx_xxxx_xxxxxxxx, where x is the GUID for that DIM.
DIM Dialogs—These dialogs are stored within one or more DIM references that you have added to your installation project. The GUID for that DIM is appended to the name of the dialog. For example, if you have a dialog called CustomerInfo stored within a DIM, it appears as CustomerInfo.xxxxxxxx_xxxx_xxxx_xxxx_xxxxxxxx, where x is the GUID for that DIM.
Merge Module Custom Actions—These custom actions are stored within one or more merge modules that you have associated with your installation project. The GUID for that merge module is appended to the name of the custom action. For example, if you have a custom action called LaunchNotepad stored within a merge module, it appears as LaunchNotepad.xxxxxxxx_xxxx_xxxx_xxxx_xxxxxxxx, where x is the GUID for that module.
Merge Module Dialogs—These dialogs are stored within one or more merge modules that you have associated with your installation project. The GUID for that merge module is appended to the name of the dialog. For example, if you have a dialog called CustomerInfo stored within a merge module, it appears as CustomerInfo.xxxxxxxx_xxxx_xxxx_xxxx_xxxxxxxx, where x is the GUID for that module.
Standard Actions—These actions are built into Windows Installer.

Note:When you delete a merge module from your project that contains custom actions or dialogs inserted within one of your sequences, InstallShield removes those actions and dialogs automatically from the sequence. The same is true for DIM references.

Select an Action

After you have selected the action type, you need to select the specific action. To do this, highlight the action you want to insert.

Condition

You can set a condition upon this action. If the condition does not evaluate to true, the action does not execute. For more information on conditions, see Conditional Statement Syntax.

Comments

Enter comments in this field. These comments are for internal use only and are not displayed to the end user.