wix5 - How to support downgrades in a WiX 5 Bundle with a MsiPackage - Stack Overflow

admin2025-04-18  2

In a WiX bundle that includes an MSI with <MsiPackage>, how can I allow downgrades?

The MSI package supports downgrades, and this actually works when installed / downgraded manually using msiexec.

However, the bundle always reports error 0x80070666:

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.

It seems to me that the bundle in principle is able to do what the error message basically says: Uninstall the existing version before installing. So I hope there is at least some kind of work-around.

I'm asking explicitly about version 5.

转载请注明原文地址:http://anycun.com/QandA/1744910160a89348.html