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
- :
- Re: Invoke custom code when the user cancels installation during Pre-Install phase
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
Oct 31, 2013
03:39 AM
Invoke custom code when the user cancels installation during Pre-Install phase
Hi,
I'm using InstallAnywhere 2012 and I'm trying to invoke custom code (java) during Pre-Install phase that is triggered when the user cancels the installation. I tried using CancelButtonHandler and Rollback option with no luck since I'm in the Pre-Install phase.
In details:
I'm performing application validations during Pre-Install phase and hold validation results. When all validations are completed I'm adding validations status to the log. If the user cancels the installation while validating, the validation status is not appended to the log.
Do you know how can I do it?
Any help will be highly appreciated.
Thanks
I'm using InstallAnywhere 2012 and I'm trying to invoke custom code (java) during Pre-Install phase that is triggered when the user cancels the installation. I tried using CancelButtonHandler and Rollback option with no luck since I'm in the Pre-Install phase.
In details:
I'm performing application validations during Pre-Install phase and hold validation results. When all validations are completed I'm adding validations status to the log. If the user cancels the installation while validating, the validation status is not appended to the log.
Do you know how can I do it?
Any help will be highly appreciated.
Thanks
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 05, 2013
03:43 AM
Hi,
Did you validate the custom message under String getInstallStatusMessage() ?Whenever validate any custom message to forward the same to Installanywhere Log file,we need to Enable the checkbox "Include debug output(stderr and stdout)" ,So that it will take care the validation status append to the log.
Thanks,
Kshirabdhi
Did you validate the custom message under String getInstallStatusMessage() ?Whenever validate any custom message to forward the same to Installanywhere Log file,we need to Enable the checkbox "Include debug output(stderr and stdout)" ,So that it will take care the validation status append to the log.
Thanks,
Kshirabdhi
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)