Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

Install uninstalling after removing temporary files

Updated: 21 May 2010 | 5 comments
RodgerVK's picture
0 0 Votes
Login to vote

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

Bill MacEachern's picture
06
Mar
2009
0 Votes 0
Login to vote

Do the upgrade with verbose logging and see what's happening.

Rivin's picture
06
Mar
2009
0 Votes 0
Login to vote

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.

RodgerVK's picture
06
Mar
2009
0 Votes 0
Login to vote

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.

EdT's picture
06
Mar
2009
0 Votes 0
Login to vote

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.

RodgerVK's picture
09
Mar
2009
0 Votes 0
Login to vote

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?