Adding a New Installation Condition for an InstallShield Prerequisite

InstallShield 2015

To add a new installation condition for an InstallShield prerequisite:

1. In the InstallShield Prerequisite Editor, open the prerequisite that you want to modify.
2. Click the Conditions tab.
3. Click Add. The Prerequisite Condition dialog box opens.
4. Select the appropriate option for the type of condition and then set the properties for the condition as needed.

The InstallShield Prerequisite Editor adds the condition to the Conditions tab.

If a condition evaluates as true at run time, that condition is met. The InstallShield prerequisite is installed on the target machine if the following are true:

The target machine meets any of the operating system conditions and all of the other conditions that are listed on the Conditions tab.
For feature prerequisites only (that is, an InstallShield prerequisite that is associated with one or more features in the main installation)—The feature that contains the feature prerequisite must be installed. Thus, if the feature has a condition that is not met on the target system, or if the end user chooses not to install the feature, the feature is not installed. As a result, none of its associated feature prerequisites are installed, unless the feature prerequisites are also associated with other features that are installed.

For example, you might have an InstallShield prerequisite that has several different conditions:

A specific file is not present on the target machine. In this example, if this file is missing, it indicates that an application that your product requires must be installed; otherwise, your product should not be installed.
The target machine has Windows XP.
The target machine has Windows Vista.

In this example, if the target machine is running Windows XP or Windows Vista and the InstallShield prerequisite is not associated with a feature, the prerequisite is installed, but only if the specified file is not present. The same is true if the InstallShield prerequisite is associated with a feature that the installation installs at run time.

Note: Because installation of prerequisites such as Windows service packs is not supported, the operating system version information is not expected to change. Therefore, the operating system conditions are not considered in verifying whether a prerequisite was installed correctly.

See Also