Hello,
If i do a major upgrade then old version of my program is uninstalled i understand.
But what happens exactly ?
Is the uninstall the same as the manual uninstall and is the maintenance script executed ?
Will a part of the script of my old install be executed and in what mode ?
Maintenance mode ?
Can i debug this script ?
In my current upgrade i get an error which seems to come from the script of my previous install.
But i can not determine if this is true since i don't know how to debug this OLD script code.
Please help me find this information
Thanks
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Is uninstall script executed by removexistingprodu
Started by
HvP
, Oct 06 2003 11:27
2 replies to this topic
Posted 13 November 2003 - 19:55
As far as I know the RemoveExistingProducts action will uninstall the old setup in silent mode. When a major upgrade removes an existing installation like this there is a special property called UPGRADINGPRODUCTCODE that is set. You can check for this property to determine if your product is being removed in a major upgrade scenario.
Errors occuring during uninstall of old setups is a real pain. Maybe you can run the uninstall in silent mode from the command line and create a log file. This should enable you to see where the error occurs.
Errors occuring during uninstall of old setups is a real pain. Maybe you can run the uninstall in silent mode from the command line and create a log file. This should enable you to see where the error occurs.
Regards
-Stein Åsmul
-Stein Åsmul
Posted 13 November 2003 - 20:07
Note that Major Upgrades often don't work as intended for the InstallScript MSI project type. This may have improved in DevStudio 9 but personnaly I'd recommend Basic MSI instead.
Stefan Krüger
InstallSite.org twitter facebook