Major Upgrade - Maintenance Error
Posted 12 February 2003 - 18:42
I have a MSI/Standard project in IS 7.04, which upgrades an application previously deployed with another installer (vb).
The upgrade seemed to work ok - uninstalled the old files, installed the new ones. However, the application is currently installed on my machine, but wen I run the install I get the dialogs for a fresh install!
I have run a simple MessageBox test, and the maintenance property is not being set on a maintenance install!
Can anyone please help?
Posted 13 February 2003 - 09:23
Posted 13 February 2003 - 10:59
The previous version did use msi, just not Installshield.
I'm trying to do a major upgrade of this version. The IS help says to keep the UpgradeCode the same, but to change the PackageCode and ProductCode. I have done this, and the upgrade appears to work.
The problems only come when you try to remove the new version, because the maintenance property is not set.
Posted 13 February 2003 - 11:42
However I'm not sure what "maintenance" property you mean?
Posted 13 February 2003 - 15:47
"This system variable is set to TRUE if your installation program is running in maintenance mode, or set to FALSE for a first-time installation."
I used this InstallScript in the OnBegin handler as a test:
szTemp = "MAINTENANCE set!";
szTemp = "## MAINTENANCE not set! ##";
Posted 13 February 2003 - 16:38