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
Cancel of update still uninstalls current product
Cancel of update still uninstalls current product
Last edited by scotteb on Thu Jun 11, 2015 12:15 pm, edited 1 time in total.
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Canel of update still uninstalls current product
Dear Scott,
by default with a full update, the install process first removes the already installed application before to proceed to install the new one.
Anyway this behavior can be changed as you want.
The code that un-installs is not hidden and it's on top of your MSIcode script. So in your case, just move it anywhere you like.
By default all the code responsible of the un-install process, if a previous installed version is found, it's comprised within the "Install Application Pre-Requisites" Code Region of the Main Script.
Hope this helps you.
Regards
by default with a full update, the install process first removes the already installed application before to proceed to install the new one.
Anyway this behavior can be changed as you want.
The code that un-installs is not hidden and it's on top of your MSIcode script. So in your case, just move it anywhere you like.
By default all the code responsible of the un-install process, if a previous installed version is found, it's comprised within the "Install Application Pre-Requisites" Code Region of the Main Script.
Hope this helps you.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Who is online
Users browsing this forum: No registered users and 59 guests