about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMike Boutin <mike.boutin@gmail.com>2014-09-26 17:58:01 -0400
committerMike Boutin <mike.boutin@gmail.com>2014-09-26 18:04:48 -0400
commit35f5a674d47c91366a4f23c706fc0be1a689f65f (patch)
tree19997a041e2850d8d12a71d1ecf473278b7253d5
parent5d653c17a656e8fe1572c7a695e33b188eda0597 (diff)
dist: Make Windows installer modify system %PATH%
Modify the system %PATH% environment variable instead of the current
user's %PATH% environment. The current user will be an admin user
that may not be the same user who originally started the installer.
Closes #17570.
-rw-r--r--src/etc/pkg/rust.iss4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/etc/pkg/rust.iss b/src/etc/pkg/rust.iss
index 08c28c4399b..fe2107943c5 100644
--- a/src/etc/pkg/rust.iss
+++ b/src/etc/pkg/rust.iss
@@ -8,7 +8,7 @@
 SetupIconFile=rust-logo.ico
 AppName=Rust
 AppVersion={#CFG_RELEASE}
-AppCopyright=Copyright (C) 2006-2013 Mozilla Foundation, MIT license
+AppCopyright=Copyright (C) 2006-2014 Mozilla Foundation, MIT license
 AppPublisher=Mozilla Foundation
 AppPublisherURL=http://www.rust-lang.org
 VersionInfoVersion={#CFG_VERSION_WIN}
@@ -43,7 +43,7 @@ Source: "tmp/dist/win/*.*" ; DestDir: "{app}"; Flags: ignoreversion recursesubdi
 [Code]
 const
 	ModPathName = 'modifypath';
-	ModPathType = 'user';
+	ModPathType = 'system';
 
 function ModPathDir(): TArrayOfString;
 begin