diff options
| author | Mike Boutin <mike.boutin@gmail.com> | 2014-09-26 17:58:01 -0400 |
|---|---|---|
| committer | Mike Boutin <mike.boutin@gmail.com> | 2014-09-26 18:04:48 -0400 |
| commit | 35f5a674d47c91366a4f23c706fc0be1a689f65f (patch) | |
| tree | 19997a041e2850d8d12a71d1ecf473278b7253d5 | |
| parent | 5d653c17a656e8fe1572c7a695e33b188eda0597 (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.iss | 4 |
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 |
