cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
pradnya
Level 3

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.
Labels (1)
0 Kudos
(1) Reply
toogoodju
Level 4

Did you try calling System.exit(int) in your custom product action? I believe this should work
0 Kudos