diff options
author | Brad King <brad.king@kitware.com> | 2024-03-27 14:55:09 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-03-29 13:32:27 (GMT) |
commit | 2e5330591d0df3142ada56c39b5fa15817fb9c0c (patch) | |
tree | e7c09fbddb487c6308f4004b8572cc87acee855b /Utilities | |
parent | 32388821e2fedfdfbe080897697c5f6d16357321 (diff) | |
download | CMake-2e5330591d0df3142ada56c39b5fa15817fb9c0c.zip CMake-2e5330591d0df3142ada56c39b5fa15817fb9c0c.tar.gz CMake-2e5330591d0df3142ada56c39b5fa15817fb9c0c.tar.bz2 |
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
Diffstat (limited to 'Utilities')
-rw-r--r-- | Utilities/Release/WiX/options.wxs | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ <Property Id="CMAKE_IN_PATH" Value="Init" /> <!-- Always initialize the checkbox value so it cannot be directly overridden from the command line. --> - <SetProperty Action="Set_CMAKE_IN_PATH_Init" Id="CMAKE_IN_PATH" After="AppSearch" Sequence="first" Value="{}" /> + <SetProperty Action="Set_CMAKE_IN_PATH_Init" Id="CMAKE_IN_PATH" After="AppSearch" Sequence="first" Value="1" /> <!-- Read the "CMAKE_IN_PATH" checkbox value from the registry, if it was stored previously. Properties using RegistrySearch cannot be private, so use a private-looking public name. --> |