Prerequisite Handler

A prerequisite handler is a specialised action sequence that performs pre-installation actions to install a prerequisite for the installation or your product. Prerequisite handlers differ from regular action sequences in the following respects:

When you create a new InstallMate project, it contains prerequisite handlers for commonly used prerequisites. To use those for your own installer, simply select them in the tree on the Prerequisites project page. We do not recommend that you modify them unless you have a thorough understanding of their operation.

Attributes

The following attributes and options are available.

Attribute Description
Name The internal name of the prerequisite handler. This name is only used in InstallMate and is not visible to the user. You must use this name if you want to refer to the prerequisite handler, for example in the Dependencies field of other handlers.
Description The description of the prerequisite handler as it appears in the tree and list on the Prerequisites project page. This is for your convenience only; the description is not used by the installer.
Dependencies

Enter a comma-separated list of prerequisite handlers on which the current one depends. The dependencies will be evaluated and, if necessary, installed before the current handler is executed.

Tip: You do not need to select the dependencies manually in the tree on the Prerequisites project page; all required dependencies will be automatically included in the installer.

Administrator rights required Check this box if the prerequisite handler requires Administrator rights for one or more of its actions. This is typically the case if the handler installs a system component. If this box is checked, then the CheckPrerequisites standard action will check if these rights are available prior to executing the handler and prevent installation if not.
Condition Enter the conditional expression that determines if the prerequisite handler will be executed, or leave empty for unconditional execution. Typically, this field contains a conditional expression that tests if the prerequisite is missing from the target system and returns True if so (thus executing the handler to install the prerequisite).
Physical CPUs Checkboxes for the physical processor architectures that are supported by modern Windows editions. Check the boxes for the architectures on which installation of the prerequisite is permitted; clear the ones on which the prerequisite should not be installed. For details, see CPU architecture support.
.EXE support A dropdown box plus checkboxes for the .EXE architectures that are supported by modern Windows editions. Check the boxes for the architectures that are required for the prerequisite, along with a selection mode from the dropdown box. For details, see CPU architecture support.
Comment Enter a short description of the action sequence's purpose. This is for your own documentation only; the installer does not use this field.

Related topics

Actions, Working with attribute panes