cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Shuttledude
Level 7

Automatic Upgrade will not install

Given: Basic MSI application, two releases, uncompressed and compressed. Both releases compile OK. Compressed version 1.0.0.0 installed OK.

Added an Automatic Upgrade to the project, pointed it to the uncompressed 1.0.0.0 build msi file, changed Package Code, changed product version to 1.0.1.0, kept product code and upgrade code the same; re-compiled just the compressed release -- the output window said it resulted in a minor upgrade. No build warnings or errors.

But when I try to install version 1.0.1.0, a Windows Installer dialog states "Another version of this product is already installed...". I have read other threads that talk about this problem regarding a major upgrade, but that's not the situation with my project.

What to do?
Labels (1)
0 Kudos
(2) Replies
KathyMorey
Level 10

Are you building a setup.exe wrapper? If not, then for a minor upgrade to work, you must include REINSTALL and REINSTALLMODE properties in the command line when you run the MSI. (Setup.exe will set these automatically for a minor upgrade.)
0 Kudos
Shuttledude
Level 7

Works great now, thanks for the information.
0 Kudos