summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-06-05 18:02:10 (GMT)
committerBrad King <brad.king@kitware.com>2024-06-05 18:02:10 (GMT)
commitbad894b53eb533e4e3255b33a3245884581f4687 (patch)
treef78463331660a836e2239ee8952dc7a7eb36f6ba
parent614100dbf66b44bafd618acaf752b1c2877ce9bc (diff)
parent01670894849ca79725b39b5bee9f75a4b5b9419b (diff)
downloadCMake-bad894b53eb533e4e3255b33a3245884581f4687.zip
CMake-bad894b53eb533e4e3255b33a3245884581f4687.tar.gz
CMake-bad894b53eb533e4e3255b33a3245884581f4687.tar.bz2
Merge branch 'backport-3.29-cpack-wix-scope-default'
-rw-r--r--Help/release/3.29.rst26
1 files changed, 19 insertions, 7 deletions
diff --git a/Help/release/3.29.rst b/Help/release/3.29.rst
index 3903c91..10912b2 100644
--- a/Help/release/3.29.rst
+++ b/Help/release/3.29.rst
@@ -193,13 +193,6 @@ Other Changes
* The :variable:`CPACK_PRODUCTBUILD_DOMAINS` variable now defaults to true.
See policy :policy:`CMP0161`.
-* The :cpack_gen:`CPack WIX Generator` now produces WiX MSI installers
- that create start menu and uninstall entries for all users by default,
- as documented by the :variable:`CPACK_WIX_INSTALL_SCOPE` variable
- ``perMachine`` value. Previously, without a custom WiX template,
- it produced installers that would only create start menu and uninstall
- entries for the current user, even though they install for all users.
-
Updates
=======
@@ -218,3 +211,22 @@ Changes made since CMake 3.29.0 include the following.
* These versions made no changes to documented features or interfaces.
Some implementation updates were made to support ecosystem changes
and/or fix regressions.
+
+3.29.5
+------
+
+* The :cpack_gen:`CPack WIX Generator`'s :variable:`CPACK_WIX_INSTALL_SCOPE`
+ variable, new in 3.29, now defaults to ``NONE``. This restores
+ compatibility with behavior of 3.28 and below: without a custom WiX
+ template, it produces installers that only create start menu and
+ uninstall entries for the current user, even though they install
+ for all users.
+
+ In 3.29.0 through 3.29.4, ``CPACK_WIX_INSTALL_SCOPE`` defaulted to
+ ``perMachine``. This created MSI installers that create start menu
+ and uninstall entries for all users by default. While this behavior
+ is better on its own, these installers do not cleanly replace existing
+ installations created with MSI installers produced by 3.28 and below.
+ 3.29.5 reverts the default for compatibility. Projects may transition
+ to ``perMachine`` on their own schedule by setting
+ ``CPACK_WIX_INSTALL_SCOPE``.