Cooper.Wu
Cooper.Wu

Reputation: 4585

Upgrade with Wix

I tried nearly all solutions list on page How to implement WiX installer upgrade? , but didn't upgrade successful. always prompt this message when I was upgrade:

"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."

When I trace the installer log, it shows:

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. {CCA05551-C990-4ACA-9B01-A65AA9FBF884} MSI (c) (50:40) [13:49:33:462]: Product: -- Configuration failed.

MSI (c) (50:40) [13:49:33:462]: Windows Installer reconfigured the product. Product Name: Product Version: 2.0.1.6. Product Language: 1033. Reconfiguration success or error status: 1638.


Any configuration I missed?

Upvotes: 4

Views: 2037

Answers (1)

Cosmin
Cosmin

Reputation: 21436

To make a package perform a major upgrade you must increase its ProductVersion and change the ProductCode.

You can read about different types of upgrades here: http://msdn.microsoft.com/en-us/library/windows/desktop/aa369786(v=vs.85).aspx

Upvotes: 5

Related Questions