diff --git a/Help/release/dev/rel-win-PATH.rst b/Help/release/dev/rel-win-PATH.rst new file mode 100644 index 0000000000..f6f70b9f7f --- /dev/null +++ b/Help/release/dev/rel-win-PATH.rst @@ -0,0 +1,6 @@ +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. diff --git a/Utilities/Release/WiX/WIX.template.in b/Utilities/Release/WiX/WIX.template.in index f48f782218..fb8fa59144 100644 --- a/Utilities/Release/WiX/WIX.template.in +++ b/Utilities/Release/WiX/WIX.template.in @@ -46,6 +46,7 @@ + diff --git a/Utilities/Release/WiX/options.wxs b/Utilities/Release/WiX/options.wxs index 2c76bb7112..c274d85232 100644 --- a/Utilities/Release/WiX/options.wxs +++ b/Utilities/Release/WiX/options.wxs @@ -6,13 +6,31 @@ + + + + + + + _CMAKE_IN_PATH_REG = "#0" + _CMAKE_IN_PATH_REG = "#1" + - ADD_CMAKE_TO_PATH = "0" + ADD_CMAKE_TO_PATH = "0" ADD_CMAKE_TO_PATH = "1" ADD_CMAKE_TO_PATH = "None" ADD_CMAKE_TO_PATH = "System" AND ALLUSERS ADD_CMAKE_TO_PATH = "User" AND NOT ALLUSERS + + + + + + + +