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
- :
- Modal results in Suite Projects (secondary windows)
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
Jun 10, 2015
04:00 AM
Modal results in Suite Projects (secondary windows)
Hi,
In a Suite Project, I use an external dll to validate user inputs in a wizard page. This work fine (although informations about Suite Project dll are not easy to found), but now I want, in some cases, to show warnings on some inputs (example: "Do you really want to do that ? Ok/Cancel").
Unfortunately I don't know how to interpret the modal result of the secondary window.
I have tried, in the Next button click of the wizard page:
1- Dll call to validate the inputs - ok
2- Show secondary window to draw a warning if requiered (conditioned by a property affected by the dll) - ok
3- Set active page to the next wizard page if allowed (conditioned by a property affected by the "Ok" click in the secondary window) - don't work
I also tried to show message box directly from dll (Delphi), but i recieve EAccessViolation from ISuiteUIExtension.MessageBox.
What should I do to show this warnings and check user choices?
Thank you in advance,
Adrien
In a Suite Project, I use an external dll to validate user inputs in a wizard page. This work fine (although informations about Suite Project dll are not easy to found), but now I want, in some cases, to show warnings on some inputs (example: "Do you really want to do that ? Ok/Cancel").
Unfortunately I don't know how to interpret the modal result of the secondary window.
I have tried, in the Next button click of the wizard page:
1- Dll call to validate the inputs - ok
2- Show secondary window to draw a warning if requiered (conditioned by a property affected by the dll) - ok
3- Set active page to the next wizard page if allowed (conditioned by a property affected by the "Ok" click in the secondary window) - don't work
I also tried to show message box directly from dll (Delphi), but i recieve EAccessViolation from ISuiteUIExtension.MessageBox.
What should I do to show this warnings and check user choices?
Thank you in advance,
Adrien
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 23, 2016
09:57 AM
We've enhanced click events in InstallShield 2016 to support running actions before closing a secondary window. While there might be some esoteric workarounds available before that (I haven't found one), it should be straightforward in InstallShield 2016 with the new Close Window event.