-
We recently upgraded our Wix3-based installer to Wix 4.0.1. The installer is an exe bootstrapper bundle wrapping two MSIs (one 64-bit, one 32-bit). If I have our old Wix3 based version installed, and run the Wix4 bundle then it detects the related bundle, but not the MSI package. I believe this prevents the WIX_UPGRADE_DETECTED property from being correctly populated, which causes logic issues in our MSI (as it's acting as a fresh install instead of an upgrade) We are using the same upgrade code, and ProviderKey as before. The 3rd number in the version string is being incremented, and a ProductCode is not defined. Here is a section of our bootstrapper logs. It detects the old installed version 23.7.7.0, but both of the relevant MSIs (SFWindows64_msi, and SFWindows_msi,) are marked as having an "Absent" state.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This seemed to be a difference between Wix3 and Wix4 in how it handles the |
Beta Was this translation helpful? Give feedback.
This seemed to be a difference between Wix3 and Wix4 in how it handles the
Language
attribute defined on thePackage
element in our MSI.Wix4 appears to use this value in the
Language
column of theUpgrade
table in the resulting msi. Previously, it seems like Wix3 left this column blank.Thus the new Wix4 msi wasn't recognizing the previous Wix3 msi as a related product due to the language code mismatch.
Removing the explicit language code from our new Wix4-generated msi caused the upgrades to start working again as expected.