cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
roisman
Level 2

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
Labels (1)
0 Kudos
(1) Reply
kshirabdhi
Level 3

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
0 Kudos