Windows Installer Editor Reference
539
Custom Action Reference
brackets. For information on formatted text strings, see Formatted in the Windows
Installer SDK Help.
See also:
Guidelines for Custom Action Location
on page 505
Using the Custom Action Properties Tab
on page 542
Using the Custom Action Location Tab
on page 539
Custom Action Type 51 in the Windows Installer SDK Help
Terminate Installation
This custom action terminates the installation and displays a message explaining the
termination. Typically, you would place this custom action within a conditional block,
which begins with an If Statement.
See
If Statement
on page 528.
Tips
z
This custom action has restrictions on its placement, indicated by shaded areas in
the Installation Sequence.
z
The Properties tab is unavailable for this custom action.
Usage
Double-click the custom action and complete the Details tab:
z
Custom Action Name
Enter a unique name that begins with a letter or underscore. It can contain numbers
and periods. It must not match the name of any Windows Installer standard action.
See Standard Actions Reference in the Windows Installer SDK Help.
z
Termination Message
Enter a message to explain to the end user why the installation terminated. Use
plain text, formatted text strings, or enter an integer that is indexed to an entry in
the error table.
See also:
Formatted in the Windows Installer SDK Help
Guidelines for Custom Action Location
on page 505
Custom Action Type 19 in the Windows Installer SDK Help
Using the Custom Action Location Tab
The Location tab appears for custom actions only if you are working in the All Custom
Actions installation mode. The All Custom Actions installation mode lists all the
custom actions that are part of this installation, which are stored in the CustomAction
table.