Adding Project Assistant Dialog Support to Projects Upgraded from InstallShield Professional
InstallShield 2024
When you upgrade an installation project from InstallShield Professional to InstallShield and the project contains a Setup.rul file that was created in InstallShield Professional, some questions may not be available on the Installation Interview page of the Project Assistant. This is because the Setup.rul file is missing the portions of the OnFirstUIBefore event code that InstallShield uses to key on script tags.
If you create a new InstallScript project and look at the OnFirstUIBefore event, you will see the following code that the Project Assistant requires in order to support dialog functions:
//{{IS_SCRIPT_TAG(FunctionName)
InstallScript code...
//}}IS_SCRIPT_TAG(FunctionName)
To add Project Assistant dialog support to your upgraded project:
1. | In the InstallScript view, open your Setup.rul file. |
2. | Comment out the OnFirstUIBefore event code. |
3. | In the event category list at the top of the InstallScript pane, select the OnFirstUIBefore event. InstallShield re-adds this event to your script. |
4. | Copy the pertinent dialog code to the commented-out code for the OnFirstUIBefore event. |
5. | Delete the OnFirstUIBefore event code that you added in step 3. |
6. | Remove the comments from the remaining OnFirstUIBefore event code. |