When I try installing an upgrade built with WiX, I get the error "The specified account already exists" and yes, I have read Windows msi: error 1316: the specified account already exists
I'm confused about the role of the various GUIDs in the WiX project files.
Previously, I had released ver. 5.4.35 of my program; the Product.wxs
file created an MSI and contained the following directives:
<Product Id="4DF780D3-60EC-43D3-A537-8484FE03B793"
Version="5.4.35"
UpgradeCode="A2F60910-A7FC-4B96-9375-EFBED25CC826">
The Burner created an EXE from the MSI with the following Bundle.wxs
file:
<Bundle Version="5.4.35"
UpgradeCode="0694ce56-8095-450c-9859-881c0c9d56f7">
I published a new version 6.0.6, and changed nothing other than the version. The new Product.wxs
is:
<Product Id="4DF780D3-60EC-43D3-A537-8484FE03B793" Same
Version="6.0.6"
UpgradeCode="A2F60910-A7FC-4B96-9375-EFBED25CC826"> Same
and the Bundle.wxs
is:
<Bundle Version="6.0.6"
UpgradeCode="0694ce56-8095-450c-9859-881c0c9d56f7"> Same
Users are reporting that installing the new version on top of the old version fails, the "Repair" doesn't work. They have to completely uninstall the old version, and install the new one, which is inconvenient.
The installer does contain some custom actions. There are no component or other GUIDs.
My question: what should I change to insure that the upgrade works correctly and is error-free?