Extension Condition Settings

InstallShield 2015

Project: This information applies to the following project types:

Advanced UI
Suite/Advanced UI

Edition: The Advanced UI project type is available in the Professional edition of InstallShield. The Suite/Advanced UI project type is available in the Premier edition of InstallShield. For information about the differences between these two project types, see Advanced UI Projects vs. Suite/Advanced UI Projects.

When you are building a conditional statement for an exit, detection, eligibility, or feature condition in an Advanced UI or Suite/Advanced UI project, or for an action condition in a Suite/Advanced UI project, you can create an extension condition that calls a C/C++ DLL that you have created to implement your own custom condition. The custom condition could check target systems for factors that the built-in types of condition checks do not evaluate. For instructions on how to create the DLL and add it to your project, see Creating a Custom Condition for an Advanced UI or Suite/Advanced UI Installation.

When you add an extension condition DLL, InstallShield adds a row for the condition. The row consists of two fields. The left field of this row uses the following syntax to describe your condition:

ExtensionDLLName:Condition

where ExtensionDLLName is the name of the DLL file, but without the .dll part of the name.

The right field of this row is a read-only field that shows the parameter-and-value pairs that you have defined for the condition. This setting also contains an Add Parameter button, which lets you define parameters and their values, as well as a Delete this condition button, which lets you delete the extension condition.

To add a parameter and value, click the Add Parameter button in the right field of the extension condition row. The Configure Extension Condition dialog box opens, enabling you to enter the name of the parameter. InstallShield adds a new row for the parameter. Configure the value of the parameter in the field on the right.

See Also