From 2e5330591d0df3142ada56c39b5fa15817fb9c0c Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 27 Mar 2024 10:55:09 -0400 Subject: Utilities/Release/WiX: Modify PATH by default when installing on Windows If the PATH modification choice has not been saved persistently by an existing installation of CMake, default to modifying the system PATH environment variable to make our command-line tools available for all users. This is a common expectation. Fixes: #21465 --- Help/release/dev/rel-win-PATH.rst | 6 ++++-- Utilities/Release/WiX/options.wxs | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Help/release/dev/rel-win-PATH.rst b/Help/release/dev/rel-win-PATH.rst index f6f70b9..f4a7360 100644 --- a/Help/release/dev/rel-win-PATH.rst +++ b/Help/release/dev/rel-win-PATH.rst @@ -2,5 +2,7 @@ rel-win-PATH ------------ * The precompiled Windows ``.msi`` installers provided on - `cmake.org `_, when replacing an existing - installation, now preserve the ``PATH`` modification preference by default. + `cmake.org `_, when performing a fresh + installation, now modify the system-wide ``PATH`` by default. + When replacing an existing installation, the ``PATH`` modification + preference is preserved by default. diff --git a/Utilities/Release/WiX/options.wxs b/Utilities/Release/WiX/options.wxs index c274d85..0fd3527 100644 --- a/Utilities/Release/WiX/options.wxs +++ b/Utilities/Release/WiX/options.wxs @@ -4,7 +4,7 @@ - + -- cgit v0.12