Setting Feature Conditions
InstallShield 2019 Express Edition
Conditional installation of one of your features can be useful if you need to specify that a feature in your installation requires a specific operating system or application. If the target system does not meet the condition, the feature is not installed.
Note • You cannot create conditions for the Always Install feature.
To set a condition for a feature in your project:
|
1.
|
In the View List under Organize Your Setup, click Features. |
|
2.
|
Select the feature that you want to configure. |
|
3.
|
Click the Condition setting and then click the ellipsis button (...). The Condition Builder dialog box opens. |
|
4.
|
To create an operating system condition: |
|
a.
|
Click the Operating System tab. |
|
b.
|
Clear the All Operating Systems check box and select the operating systems that you want to target in the condition. |
To create a software condition:
|
a.
|
Click the Software tab. |
|
b.
|
Do one or more of the following: |
|
•
|
If an application must be present on the target system for the selected feature, set the check box of that application to the green checked state . To set the check box to this state, click it until the green check mark appears in the check box. |
|
•
|
If an application must not be installed on the target system for the selected feature, set the check box of that application to the red X . To set the check box to this state, click it until the red X appears in the check box. |
|
•
|
To remove a software condition, click the check box until it is empty. An empty check box indicates that the condition is not based on the software in any way. |
|
•
|
If the application is not listed, click Create New Requirement. The System Search Wizard opens, enabling you to create a new condition based on whether a specified file exists on the target system. The new condition is created and added to the System Software Requirements explorer. |
InstallShield adds the condition to the grid. The feature is installed if any of the operating system conditions for this feature are true and if all of the other conditions for this feature are also true.
See Also
System Search Wizard
Feature Settings
Features View
Open topic with navigation