Reputation: 60
I'm experiencing issues with minor upgrades in WiX v4 while major upgrades are working correctly. While the installer says successful, when trying to run the installed application, it throws errors as if the upgrade didn't complete properly, but clean installations and major upgrades work fine.
<Upgrade Id="$(var.UpgradeCode)">
<UpgradeVersion Minimum="$(var.InitialVersion)"
Maximum="$(var.ProductVersion)"
Property="PREVIOUSVERSIONSINSTALLED"
IncludeMinimum="yes"
IncludeMaximum="yes" />
</Upgrade>
<InstallExecuteSequence>
<RemoveExistingProducts After="InstallInitialize"/>
</InstallExecuteSequence>
I need to implement logic that:
Any insights or suggestions would be greatly appreciated.
Upvotes: 0
Views: 46
Reputation: 708
Try resetting your version to 10.3.106 instead of 10.3.0.106. Then test it again. I seem to remember something about MSI only recognizing the first 3 numbers in the version during a minor upgrade.
Upvotes: 0