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
- :
- Displaying a custom dialog
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
Dec 29, 2011
05:38 PM
Displaying a custom dialog
I have a custom dialog that I made in the dialog user interface. I don't want it to be displayed as part of the normal dialog sequence (ie: clicking the next button of a previous dialog). Instead, I want to display it using code. The name of the dialog I created in the dialog interface is "MyDialog". My code is as follows:
nResult = EzDefineDialog("MyDialog","","MyDialog",NULL);
nResult = WaitOnDialog("MyDialog");
This is currently not working. nResult returns 0 on the EzDefineDialog call, but nResult returns -1 during the WaitOnDialog call and nothing happens. Am I doing something wrong here? Also, I'm not sure if this matters or not, but this would be the second custom dialog being displayed on the screen at the same time (maybe this isn't possible?). Basically, the installation proceeds from dialog to dialog when the user hits the next button (or back/cancel/etc.). At some point during this sequence, I want to call "MyDialog" manually. So, the normal installation sequence will still be hanging around in the background until I have exited from "MyDialog". This is a basic msi project. Any Ideas?
Thanks.
nResult = EzDefineDialog("MyDialog","","MyDialog",NULL);
nResult = WaitOnDialog("MyDialog");
This is currently not working. nResult returns 0 on the EzDefineDialog call, but nResult returns -1 during the WaitOnDialog call and nothing happens. Am I doing something wrong here? Also, I'm not sure if this matters or not, but this would be the second custom dialog being displayed on the screen at the same time (maybe this isn't possible?). Basically, the installation proceeds from dialog to dialog when the user hits the next button (or back/cancel/etc.). At some point during this sequence, I want to call "MyDialog" manually. So, the normal installation sequence will still be hanging around in the background until I have exited from "MyDialog". This is a basic msi project. Any Ideas?
Thanks.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 30, 2011
05:19 PM
Never mind. Apparently it is not possible in a basic msi project:
http://kb.flexerasoftware.com/doc/Helpnet/installshield16helplib_sp1/CustomDialogTips.htm
http://kb.flexerasoftware.com/doc/Helpnet/installshield16helplib_sp1/CustomDialogTips.htm
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)