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
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Display dialog panel based on Java Custom Action return value
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
May 20, 2013
02:27 AM
Display dialog panel based on Java Custom Action return value
Hi all,
I am stucking on this problem for 2 days now, please help.
I have installshield 2012 professional version and I am able to invoke my Java application (custom action) from installshield.
My Java application throws Exception if the operation fails. And if so I want the installer display a dialog with the exception message I thrown to the user and return to the installer panel where they are.
However as soon as the custom action throws exception (Which means the application didn't end with code 0) installshield consider the installation process fails.
I've tried many ways such as creating a temp file or registry key but the condition builder for dialog behavior only look into the properties managed by "Property Manager". And when I go to "Property manager" view it seems only accept hard coded value or existing local value. I am seeking for setting the property value from my Java application but I don't know how.
Please help.
Really appreciate.
I am stucking on this problem for 2 days now, please help.
I have installshield 2012 professional version and I am able to invoke my Java application (custom action) from installshield.
My Java application throws Exception if the operation fails. And if so I want the installer display a dialog with the exception message I thrown to the user and return to the installer panel where they are.
However as soon as the custom action throws exception (Which means the application didn't end with code 0) installshield consider the installation process fails.
I've tried many ways such as creating a temp file or registry key but the condition builder for dialog behavior only look into the properties managed by "Property Manager". And when I go to "Property manager" view it seems only accept hard coded value or existing local value. I am seeking for setting the property value from my Java application but I don't know how.
Please help.
Really appreciate.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 21, 2013
02:16 AM
Hi,
This query supposed to be posted in Installshield forum.
Thanks,
Manzoor
This query supposed to be posted in Installshield forum.
Thanks,
Manzoor
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)