[wix-users] Cannot update the currently installed product to a newer version (the third version component is changed)

Tigran Galoyan tigran.galoyan at gmail.com
Mon Apr 27 12:19:14 PDT 2020


Hi,

I have installed my product version e.g. 1.10.1511.2574 and now when I try
to install version 1.10.1525.0722 of the same product it gives an error
"another version of this product is already installed installation of this
version cannot continue ...".

My Product Id and UpgradeCode attributes have constant GUID values. The
Package Id attribute has * value for auto generation.

Without MajorUpgrade element declaration I get that error when installing
the next version.

When adding the MajorUpgrade with the following attributes and values I get
the same error.

<MajorUpgrade AllowSameVersionUpgrades="no" AllowDowngrades="no"
DowngradeErrorMessage="A newer version of [ProductName] is already
installed."
                      Disallow="yes" DisallowUpgradeErrorMessage="An older
version of [ProductName] is already installed. Uninstall it first." />

When changing the AllowSameVersionUpgrades attribute value to YES I still
get the same error.

<MajorUpgrade AllowSameVersionUpgrades="yes" AllowDowngrades="no"
DowngradeErrorMessage="A newer version of [ProductName] is already
installed."
                      Disallow="yes" DisallowUpgradeErrorMessage="An older
version of [ProductName] is already installed. Uninstall it first." />

The description of AllowSameVersionUpgrades clearly indicates that MSI
ignores the forth version component, but in my case the existing 3rd
component is 1511 and for the new one it's 1525, so it increased, why would
it then doesn't allow me to upgrade?

Thanks for the support.

Best,
Tigran


More information about the wix-users mailing list