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
- :
- Bug! SdShowDlgEdit1 Cancel button
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
‎Apr 03, 2008
08:45 AM
Bug! SdShowDlgEdit1 Cancel button
SdShowDlgEdit1 has 2 return values: Next(1) and Back(12), but it has 3 Buttons: Next, Back, and Cancel. Cancel does nothing. I need to be able to remove that button or make it return a value. Why would IS provide a dialog that is fundamentally broken? Did i miss some documentation saying that the SdDialog... functions were deprecated?
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 03, 2008
09:02 AM
How and where are you calling it? If I add SdShowDlgEdit1 into the OnFirstUIBefore event handler of an InstallScript project, it calls the OnCanceling handler when I click Cancel...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 03, 2008
09:36 AM
It's a basic MSI project. Your reply led me to the Handler function. That looks like it'll do it. Much appreciated. i guess my silly little
wasn't really doing anything at all.
I was apparently neglecting the fact that these Sd- functions were obviously designed for use with event-driven projects.
Thanks again for your help, Robert. You're always a big help.
if (nvResult = CANCEL)then
return -1;
endif;
wasn't really doing anything at all.
I was apparently neglecting the fact that these Sd- functions were obviously designed for use with event-driven projects.
Thanks again for your help, Robert. You're always a big help.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 01, 2008
10:04 AM
Okay, so i've finally gotten back to this problem, and it appears as though the "Handler" function is not the solution. It won't compile, as it complains of and illegal "Handler" call outside of program block. "Program" blocks are only in InstallScript projects (so perhaps the doc should say at the top that the topic only applies to IS projects.)
So we still have the problem of a dialog being provided with broken functioanlity, and no alternative provided except a custom MFC dialog.
Is there actually an alternative, and i just haven't figured it out yet?
Help, help!
So we still have the problem of a dialog being provided with broken functioanlity, and no alternative provided except a custom MFC dialog.
Is there actually an alternative, and i just haven't figured it out yet?
Help, help!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 01, 2008
10:16 AM
Can you use an MSI custom dialog box instead? SdShowDlgEdit1 shouldn't be that difficult to duplicate, and it would use the standard button behavior...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 01, 2008
01:48 PM
How do i create an msi custom dialog box in a basic msi projet? the closest thing i've found in the help was the EzDefineDialog, but that doesn't seem to make sense whe ni need to call it from an installscript CA within a basic msi project...
sorry, i usually don't require this much hand-holding... 😕
sorry, i usually don't require this much hand-holding... 😕
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 01, 2008
02:25 PM
Please see the sample chapter from the training course "Learning MSI Projects Using InstallShield 2008" (not 2009) available here: http://www.acresso.com/services/education/publications.htm.
The online help section Creating Installations > Defining the End-User Interface > Working with Dialogs has more information on the matter, too.
The online help section Creating Installations > Defining the End-User Interface > Working with Dialogs has more information on the matter, too.