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: SUITE PROJECT: force exit from install
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
Mar 03, 2014
10:17 AM
SUITE PROJECT: force exit from install
Is there a method for the Suite Project where I can force an exit from the install?
The reason I ask is that I have some conditions that are checked after initial startup of the setup. In one certain scenario I want to show a message indicating that the customer is to do X before proceeding with the install.
I can get a custom secondary window to show when the conditions are correct, however, inserting a Cancel button does nothing but just close the secondary window.
There does not seem to be a baked in method for forcing an exit from the UI either. I could create some custom dll action that just returns an 'exit' code, basically a failure, and I will detect the failure and then force exit. But this seems like a 'hack' at best. It would seem to me that the installation author can setup a condition in which the user is not able to proceed.
The other option is to create a standard wizard page I guess and just enable the cancel button that comes with a standard wizard page.
Any ideas?
Thank you.
The reason I ask is that I have some conditions that are checked after initial startup of the setup. In one certain scenario I want to show a message indicating that the customer is to do X before proceeding with the install.
I can get a custom secondary window to show when the conditions are correct, however, inserting a Cancel button does nothing but just close the secondary window.
There does not seem to be a baked in method for forcing an exit from the UI either. I could create some custom dll action that just returns an 'exit' code, basically a failure, and I will detect the failure and then force exit. But this seems like a 'hack' at best. It would seem to me that the installation author can setup a condition in which the user is not able to proceed.
The other option is to create a standard wizard page I guess and just enable the cancel button that comes with a standard wizard page.
Any ideas?
Thank you.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 03, 2014
03:13 PM
Depending on exactly when you need this, your best options are currently either Exit Conditions (configure these in General Information), or through a wizard page like the last option you listed. I think it would make a reasonable feature request to have a cancel action that would act like a wizard page cancel button (closing the secondary window, and proceeding to InstallationComplete if the user accepts). Although perhaps you could use Set Active Page off the secondary window's cancel button click already.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)