ISWiSuiteCondition Object (Advanced UI and Suite/Advanced UI)
InstallShield 2022 » Automation Interface » Advanced UI and Suite/Advanced UI
Project:This information applies to the following project types:
• | Advanced UI |
• | Suite/Advanced UI |
Edition:The Advanced UI project type is available in the 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.
The ISWiSuiteCondition object represents the following types of conditions:
• | Exit condition (used for the Condition property of the ISWiSuiteExitCondition object) |
• | Feature condition (used for the Condition property of the ISWiSuiteFeature object) |
• | Detection condition (used for the DetectionCondition property of the ISWiSuitePackage object) |
• | Eligibility condition (used for the EligibleCondition property of the ISWiSuitePackage object) |
The ISWiSuiteCondition object can also exist in the Conditions collection of an All, Any, or None condition group.
To add or remove conditions from a condition group, call AddCondition, AddGroup, AddExtensionCondition, or DeleteCondition.
Members
Name |
Type |
Description |
|||||||||||||||
Method |
Adds a condition to a condition group. |
||||||||||||||||
Method |
Adds an extension condition to a condition group. |
||||||||||||||||
Method |
Adds an All, Any, or None operator to a setting for a condition group. |
||||||||||||||||
Method |
Adds a parameter for an extension condition. |
||||||||||||||||
Method |
Changes the All, Any, or None operator in a condition group. |
||||||||||||||||
Method |
Deletes a condition object. |
||||||||||||||||
Method |
Deletes a parameter for an extension condition. |
||||||||||||||||
Collection |
Contains all of the settings for a conditional statement. |
||||||||||||||||
Collection |
Contains all of the conditional statements under a condition group. |
||||||||||||||||
Method |
Moves a condition or a condition group within a condition tree. |
||||||||||||||||
Name |
String Property: Read-Write for Extension Conditions; Read-only for all other conditions |
For extension conditions: Gets or sets the part of the name of the DLL entry points. For other condition types: Gets the name of the condition. |
|||||||||||||||
Resource |
Read-Write String Property |
Gets or sets the source of the condition. For extension conditions, the value of this property is set to the name of the DLL file. For the other types of built-in conditions, the value of this property is read-only. |
|||||||||||||||
Type |
Read-only Integer Property |
Gets the type of condition, condition group, or condition check. Available options are:
To identify group conditions, use the following: pCondition.Type < 10 |
Applies To
• | ISWiSuiteExitCondition |
• | ISWiSuiteFeature |
• | ISWiSuitePackage |
See Also
Building Conditional Statements in Advanced UI and Suite/Advanced UI Projects
Types of Condition Checks in Advanced UI and Suite/Advanced UI Projects
Creating a Custom Condition for an Advanced UI or Suite/Advanced UI Installation