Skip to content

Commit 35f5a67

Browse files
committed
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.
1 parent 5d653c1 commit 35f5a67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/etc/pkg/rust.iss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
SetupIconFile=rust-logo.ico
99
AppName=Rust
1010
AppVersion={#CFG_RELEASE}
11-
AppCopyright=Copyright (C) 2006-2013 Mozilla Foundation, MIT license
11+
AppCopyright=Copyright (C) 2006-2014 Mozilla Foundation, MIT license
1212
AppPublisher=Mozilla Foundation
1313
AppPublisherURL=http://www.rust-lang.org
1414
VersionInfoVersion={#CFG_VERSION_WIN}
@@ -43,7 +43,7 @@ Source: "tmp/dist/win/*.*" ; DestDir: "{app}"; Flags: ignoreversion recursesubdi
4343
[Code]
4444
const
4545
ModPathName = 'modifypath';
46-
ModPathType = 'user';
46+
ModPathType = 'system';
4747
4848
function ModPathDir(): TArrayOfString;
4949
begin

0 commit comments

Comments
 (0)