This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Cloned Dialog same resource id
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 31, 2008
10:33 AM
Cloned Dialog same resource id
I cloned the SdWelcomeMaint to remove the modify button and created a .rul file for the dialog. Depending on how I use the EzDefineDialog function I either get an error or the SdWelcomeMaint dialog appears when I use the resource ID (it isn't changed for the new cloned dialog) though it does respond to the InstallShield script I wrote for the clone.
ExDefineDialog("WelcomeMAINT", ISUSER, "WelcomeMAINT", NULL) - returns true, but WaitOnDialog("WelcomeMAIN") returns -1
EzDefineDialog("WelcomeMAINT", "", "", RES_DIALOG_ID) opens and responds with MY new code.
Any ideas? I really want to NOT allow the user to Modify OR Repair - just remove.
Thanks,
:confused:
ExDefineDialog("WelcomeMAINT", ISUSER, "WelcomeMAINT", NULL) - returns true, but WaitOnDialog("WelcomeMAIN") returns -1
EzDefineDialog("WelcomeMAINT", "", "", RES_DIALOG_ID) opens and responds with MY new code.
Any ideas? I really want to NOT allow the user to Modify OR Repair - just remove.
Thanks,
:confused:
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 03, 2009
05:42 AM
I'm sure you've probably fixed this issue by now but just in case someone else finds this and is having problems:
Once you've cloned the dialog, close the IDE and open the ISM file in an xml editor. Then change the dialog id for the new dialog by hand to a suitable value. save changes and open again in Installshield. You'll then be able to reference your new dialog by this ID
Once you've cloned the dialog, close the IDE and open the ISM file in an xml editor. Then change the dialog id for the new dialog by hand to a suitable value. save changes and open again in Installshield. You'll then be able to reference your new dialog by this ID