Major Upgrade works within Installshield but not with msiexec command
I have been having trouble doing a major upgrade for Password Safe from 3.32 to 3.35. When i test the upgrade from within Installshield the old version is removed and i get the option to install the latest version of Password Safe 3.35. But when i try via msiexec /i .passwordsafe.msi TRANSFORMS= passwordsafe.mst i get the following error:
"Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel."
I was getting the following error ;Reconfiguration success or error status: 1638.
According to the following article i found on http://stackoverflow.com/questions/7802965/upgrade-with-wix - if i change the ‘ProductCode’ the latest version is installed but leaves the old version side by side.
What I have done so far :
Upgrade code has been copied from version 3.32 into 3.35. VersionMin 3.32 / VersionMax 3.35 / Attribut(i4) 769 Action Property (s27) REMOVEEXISTING then added into Property table ; SecureCustomProperties = REMOVEEXISTING
ProductCode same as old version. (If I change then both install)
Added ‘RemoveExistingProducts’ between InstallValidate and InstallInitialize and set to YES.
What I’m I doing wrong?
//When i test the upgrade from within Installshield the old version is removed and i get the option to install the latest version of Password Safe 3.35.//
What do you mean by this?