summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-03-13 14:07:51 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-03-13 14:08:03 (GMT)
commitd7c4a8ab81182ec438a444464a9f13847080d8a6 (patch)
tree3584aedeebf4b3dacc044f2e18e4578be7a69632 /Utilities
parentf74bb6527e669a02ee9f042023fcb4c9cb9f9594 (diff)
parent7593bdf4e88b6a5da60e6fa9d4ba05a378d5d7d4 (diff)
downloadCMake-d7c4a8ab81182ec438a444464a9f13847080d8a6.zip
CMake-d7c4a8ab81182ec438a444464a9f13847080d8a6.tar.gz
CMake-d7c4a8ab81182ec438a444464a9f13847080d8a6.tar.bz2
Merge topic 'wix-cmake-downgrade-fix'
7593bdf4e8 CMake: Fix WiX installer downgrades with versioned binaries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3087
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/Release/WiX/WIX.template.in2
1 files changed, 2 insertions, 0 deletions
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"/>
+ <Property Id="REINSTALLMODE" Value="amus"/>
+
<WixVariable Id="WixUILicenseRtf" Value="$(var.CPACK_WIX_LICENSE_RTF)"/>
<Property Id="WIXUI_INSTALLDIR" Value="INSTALL_ROOT"/>