From 7593bdf4e88b6a5da60e6fa9d4ba05a378d5d7d4 Mon Sep 17 00:00:00 2001 From: Nils Gladitz Date: Tue, 12 Mar 2019 08:58:45 +0100 Subject: CMake: Fix WiX installer downgrades with versioned binaries Since commit 5b9da05b7a (Windows: Embed version information into CMake binaries, 2017-10-25, v3.11.0-rc1~411^2) our binaries have version information that prevents a `.msi` downgrade from replacing them by default. Configure the re-install mode: * a: reinstall all files regardless of version * m: rewrite all per-machine registry entries * u: rewrite all per-user registry entries * s: reinstall shortcuts and icons Fixes: #19006 --- Utilities/Release/WiX/WIX.template.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Utilities/Release/WiX/WIX.template.in b/Utilities/Release/WiX/WIX.template.in index fe176ca..8abf9d8 100644 --- a/Utilities/Release/WiX/WIX.template.in +++ b/Utilities/Release/WiX/WIX.template.in @@ -20,6 +20,8 @@ Schedule="afterInstallInitialize" AllowDowngrades="yes"/> + + -- cgit v0.12