commit a18652ed619b4c94c74080b637f446503e2bc605
parent 88fe467b194f21cace92109dffc68e8b1362be3e
Author: Luis Calle <53507599+TheLeoP@users.noreply.github.com>
Date: Thu, 30 May 2024 23:45:30 -0500
fix(win-msi): add bin to PATH per-machine after installation (#29099)
#22856 made it possible for the msi installer to perform per-user
installations, which caused problems for users that already had
per-machine installations trying to update (the Windows Installer does
not support major upgrades across installation context, see #22933 and
https://stackoverflow.com/a/15498911). It was then reverted in #22949,
but the scope of the modification to the PATH environment variable was
not reverted.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmake.packaging/WixPatch.xml b/cmake.packaging/WixPatch.xml
@@ -6,7 +6,7 @@
Name='PATH'
Action='set'
Permanent='no'
- System='no'
+ System='yes'
Part='last'
Value='[INSTALL_ROOT]bin'
/>