Custom Actions View

InstallShield 2012 Spring Express Edition

As complex as Windows Installer is, it may not provide all the functionality that you require. Microsoft allows you to add flexibility to your installation that is not directly supported by Windows Installer through the use of custom actions.

InstallShield supports custom actions that call a DLL function, launch an executable file, or use a VBScript or JScript. Examples of scenarios where you may want to use custom actions include the following:

Validating a serial number that an end user entered during installation run time
Checking if a product is installed
Restarting the target machine after the installation

When you add a custom action in the Custom Actions view, you need to schedule it for one of the available sequences. For example, you may want a particular custom action to be launched during the installation immediately after the Setup Complete Success dialog is displayed. In this case, you would add your custom action to the After Setup Complete Success dialog item in the Custom Actions view. Once you have added an action to a sequence, you can reschedule it if necessary. For more information, see Changing When Custom Actions Are Launched.

When you select a custom action in the Custom Actions view, you can configure its settings. To learn more, see the following:

MSI DLL Custom Action Settings
DLL Custom Action Settings
Executable File Custom Action Settings
VBScript Custom Action Settings
JScript Custom Action Settings

For comparisons of each type of action, see Using Custom Actions.

See Also