Upgrade side effects
Posted 26 September 2003 - 12:51
I am doing a major upgrade which removes my previous install.
This removal executes an installshield script of my previous install.
The value of MAINTENANCE is does not seem to TRUE so there is a difference between a manual remove and an upgrade remove.
And how do you circumvent this ?
I use Installshiled Developper 8.2 with scripting.
Anny help is appreciated.
Hugo van Putten
Posted 30 September 2003 - 03:15
Posted 30 September 2003 - 07:23
First i install version 5.25.
Then i upgrade to version 5.30
During the uninstall fase i get an error message from, i gues, 5.25 uninstalling.
I think that when 5.25 is uninstalled a script from 5.25 is executed.
The question is what is the state of the system during this uninstall ?
Is it being uninstalled in maintenance mode ? meaning MAINTENANCE = TRUE ?
Or is it being uninstalled in the same mode as the update is being installed meaning MAINTENACE is FALSE.
The actions of the uninstall depend on the MAINTENACE property.
I wrote both the scripts for 5.25 and 5.30.
I can not change the scripts for 5.25 since it has been shipped.
Posted 30 September 2003 - 09:10
Anyway, forget MAINTENANCE, go for UPGRADINGPRODUCTCODE.
Posted 06 October 2003 - 10:35
But what about the version that is in the field ?
It uses MAINTENANCE and its code is executed whenever i try to upgrade ?
How do i circumvent a problem in a PREVIOUS version i can not change ?
Can i deinstall an installation made by installshield developper without it executing its script ?