PDA

View Full Version : Open Dialog from Install script



Barvaz
11-02-2011, 07:46 AM
Hi,

Under "User Interface -> Dialog" i have dialog naming "CancelSetup".
How can i load this dialog from the install script?
I have a code which displays the following dialog type:


nReturn = SprintfBox(MB_ABORTRETRYIGNORE,"[ProductName] - InstallShield Wizard","%s",sMessage);

If the user click on ABORT than i would like to load the "CancelSetup" dialog from the existing under "User Interface -> Dialog"

Please Advice.
Thanks.

skolte
11-02-2011, 10:48 AM
I remember some time ago when I was wondering the same and wished there was a sample that would show this. It took me a couple of days to figure out how to get your own custom dialog to work the way you want.
To make your life easier, and anyone else who might stumble upon this thread with similar question, I created a simple sample ( 9389 ) that shows a custom login dialog and gets back username/password.
With this, now you should be easily able to modify the logic / dialog that fits your needs.

Let me know if you have any questions.