Summary
The built-in Dialog Editor allows you to modify our default InstallScript dialogs. However, the Dialog Editor does not provide any functionality to make a copy of an existing InstallScript dialog. This article shows you how this can be done inside of the InstallShield IDE for an InstallScript project type.Synopsis
The built-in Dialog Editor allows you to modify our default InstallScript dialogs. However, the Dialog Editor does not provide any functionality to make a copy of an existing InstallScript dialog. This article shows you how this can be done inside of the InstallShield IDE for an InstallScript project type.
Discussion
To make a copy of an existing InstallScript dialog inside of the InstallShield IDE, follow these steps:
- Open up your InstallScript project and go to the Dialog Editor view, under User Interface > Dialogs.
- Select the dialog you would like to copy and then right-click on the dialog and select Edit.
- Once the dialog resources have been loaded into the project (the dialog name will be in bold), go to the Direct Editor view found under Additional Tools > Direct Editor.
- Locate the Dialog table and select it to view its contents. The dialog you wanted to copy should have an entry in the Dialog table.
- In the Dialog column, set your new dialog name.
- In the ISResourceId column (located on the far right of the Dialog table), change the default value to a number in the 13000s. For example, if the original value was 12067, change it to 13067.
- Go back into the Dialog Editor view, you will see a new copy of the dialog you previously selected to modify as you wish.
-
In your script when you call your custom dialog, make sure you pass the same ID that you specified in step 6 to EzDefineDialog().
If you want to view the source code behind our default InstallScript dialogs, you just need to go to the Script\isrt\src sub-folder where you installed InstallShield. For example, if you installed InstallShield to <Program Files>, the src folder would be located under <Program Files>\InstallShield 10.5\Script\isrt\src.
Additional Information
For more information on calling a custom dialog from script, see the Help topic EzDefineDialog().
Related Articles
Bad Grammar in InstallScript Dialog String 3Number of Views InstallScript MSI projects display dialog "Directory does not exist and can not be created!" 4Number of Views Add Image to Push Button Control on InstallScript Dialogs 3Number of Views Need documentation for creating a copy of a project 3Number of Views How to change the default position of Installscript dialogs 3Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago