Hello.
I am trying to write a custom action that should run only when upgrade went unsuccessfully. I mean, when I'm doing upgrade and press cancel button during the upgrade - it should run the rollback script and terminate.
I wrote this new action, put it in the end of the "Install execution stage" but before "Finish execution". I set execution stage condition to be -Install ->Upgrade (First time install is unchecked). Also in "execution time" I set it to be "During installation rollback"
for some reason, the log file says the script is running while upgrade - in both cases! even if went successfully or if i did press the cancel button - in both cases the log file says the script is running. But nothing happend! (The first row in the script is to write something to file which is not happening)
So, actually I cant know if the script was running or not - the log file says it is but it doesnt look like it was running.
How can i know that? and was i supposed to set something else? why it says it is running in both cases if i set "During installation rollback"?
Thanks in advance
FOLLOW US
Get the latest news in Application Packaging