Install uninstalling after removing temporary files
Updated: 21 May 2010 | 5 comments
I have created a MSI install using the UpgradeSync and the Upgrade table. The version I'm trying to install is 4.4.8.5 and in my Upgrade table I have listed 4.4.7.0, 4.4.8.2, 4.4.8.3, and 4.4.8.4. I had an issue where previous vesions were not getting uninstalled but that seems to be fixed now. When the install runs it correctly uninstalls the previous version then at the end of the install after removing temporary files the install turns around and uninstalls the version that was just installed leaving only the shortcuts. If you then click on a shortcut it trys to run the install again. Why is the version getting uninstalled at the end of the installation?
Thanks in advance,
Rodger Van Kirk
Discussion Filed Under:
Comments
Do the upgrade with verbose logging and see what's happening.
Hi Nbtrble.
I am having same issue, the upgrade worked fine before , but now at the end of the upgrade it starts uninstalling some files and unregistering services, still could not figure it out what's the reason. Checked logs, but no clue yet.
I did do the install also with verbose logging and not completly sure what I'm looking at/for. I did see where its uninstalling stuff but not sure why.
Where is your "RemoveExistingProducts" action sequenced?
Also, are you aware that only the first three fields of the ProductVersion property are checked for upgrade purposes? Therefore 4.4.8.2, 4.4.8.3, and 4.4.8.4 are the same version (4.4.8) as far as the upgrade process is concerned. You can verify this by looking up "ProductVersion" in the help file MSI.CHM
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
The RemoveExistingProducts call got places in the Execute Immediate code at the very bottom. Its the last line in the script.
Does that mean each release I make needs to increment the third number?
Would you like to reply?
Login or Register to post your comment.