summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-06-05 17:40:15 (GMT)
committerBrad King <brad.king@kitware.com>2024-06-05 17:47:36 (GMT)
commit01670894849ca79725b39b5bee9f75a4b5b9419b (patch)
tree676e58f3052f4f42b8c3b4736ced426387ab57e4 /Modules
parentefaa9efece0786a80243d005e35e68f18999eb0e (diff)
downloadCMake-01670894849ca79725b39b5bee9f75a4b5b9419b.zip
CMake-01670894849ca79725b39b5bee9f75a4b5b9419b.tar.gz
CMake-01670894849ca79725b39b5bee9f75a4b5b9419b.tar.bz2
CPack/WiX: Restore default (missing) InstallScope from 3.28 and lower
In commit 60661f6770 (CPack/WiX: Make InstallScope configurable, 2023-11-07, v3.29.0-rc1~413^2) the `CPACK_WIX_INSTALL_SCOPE` default was set to `perMachine`. While installers created with `perMachine` have better behavior on their own than installers created without any `InstallScope`, they do not cleanly convert existing installations on updates. Fixes: #26029
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Internal/CPack/CPackWIX.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Internal/CPack/CPackWIX.cmake b/Modules/Internal/CPack/CPackWIX.cmake
index 5fe772e..c40ddd5 100644
--- a/Modules/Internal/CPack/CPackWIX.cmake
+++ b/Modules/Internal/CPack/CPackWIX.cmake
@@ -20,5 +20,5 @@ if(NOT CPACK_WIX_LIGHT_EXECUTABLE)
endif()
if(NOT DEFINED CPACK_WIX_INSTALL_SCOPE)
- set(CPACK_WIX_INSTALL_SCOPE "perMachine")
+ set(CPACK_WIX_INSTALL_SCOPE "NONE")
endif()