Adding an Extension Condition DLL to an Advanced UI or Suite/Advanced UI Project
InstallShield 2024
Project:
• | 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.
Once you have created an extension condition DLL, you can add it to your project.
To add an extension condition DLL to an Advanced UI or Suite/Advanced UI project:
1. | Find the setting for the detection condition, eligibility condition, or other condition in your project that you want to use your extension condition DLL. |
To learn more about setting up these conditions, see Building Conditional Statements in Advanced UI and Suite/Advanced UI Projects.
2. | If necessary, add an Any, All, or None operator to the condition group. |
3. | In the Any, All, or None setting, click the New Condition button and then click Browse for an Extension Condition DLL. The Open dialog box opens. |
4. | Select the extension condition DLL that you created, and then click Open. The Configure Extension Condition dialog box opens. |
Note that the DLL must be written according to the instructions in Creating an Extension Condition DLL for an Advanced UI or Suite/Advanced UI Project.
5. | Click the condition that you want to use. InstallShield adds the DLL to your project as a support file. InstallShield also adds a new 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.
6. | 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. |
7. | Enter the name of the parameter, and then click OK. InstallShield adds a new row for the parameter. Configure the value of the parameter in the field on the right. |
See Also
Creating a Custom Condition for an Advanced UI or Suite/Advanced UI Installation