Cancel of update still uninstalls current product
Posted: Sun Jun 07, 2015 3:41 pm
Greetings! I am using IA Studio 12.
I just discovered that if a user has version 1.0 of a product installed, downloads the install package for 1.1, executes the install but cancels during the interview, then the prior version of the product as been removed. Testing shows that this is the default behavior, and does not seem to be specific to our scripts. Is that accurate? My user was upset and I don't blame them.
I am not an MSI (nor even IA) expert, but I am a developer so think I see what is happening. It appears that when NEEDSUPGRADE = true, then the currently installed package is run with REMOVE=ALL during pre-requisites, before the wizard even opens. Do I have that right?
We would like to move this so that if the user cancels the install that the current version remains untouched. How would you recommend that I accomplish that?
Thank you,
Scott
I just discovered that if a user has version 1.0 of a product installed, downloads the install package for 1.1, executes the install but cancels during the interview, then the prior version of the product as been removed. Testing shows that this is the default behavior, and does not seem to be specific to our scripts. Is that accurate? My user was upset and I don't blame them.
I am not an MSI (nor even IA) expert, but I am a developer so think I see what is happening. It appears that when NEEDSUPGRADE = true, then the currently installed package is run with REMOVE=ALL during pre-requisites, before the wizard even opens. Do I have that right?
We would like to move this so that if the user cancels the install that the current version remains untouched. How would you recommend that I accomplish that?
Thank you,
Scott