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
- :
- How to Exit from Product tree
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
Sep 11, 2006
06:21 AM
How to Exit from Product tree
Hi,
I have 2-3 features in Product tree.
One feature contains action "Execute Process" . If this action fails then I want to exit from the Installer. I can write a custom bean that will check the return code of "Execute process" and then exit from the installer. This bean (Product action) will be added in the "Product" tree.
But i didnt see any API to exit from installer ( In Wizard bean an API is available to exit from installer but I need API to be added in Product action bean)
Please let me know if anybody knows the API / solution.
I have 2-3 features in Product tree.
One feature contains action "Execute Process" . If this action fails then I want to exit from the Installer. I can write a custom bean that will check the return code of "Execute process" and then exit from the installer. This bean (Product action) will be added in the "Product" tree.
But i didnt see any API to exit from installer ( In Wizard bean an API is available to exit from installer but I need API to be added in Product action bean)
Please let me know if anybody knows the API / solution.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 14, 2006
08:51 AM
Did you try calling System.exit(int) in your custom product action? I believe this should work
