Skip to content

Commit

Permalink
dist: Make Windows installer modify system %PATH%
Browse files Browse the repository at this point in the history
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 rust-lang#17570.
  • Loading branch information
iliekturtles committed Sep 26, 2014
1 parent 5d653c1 commit 35f5a67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/etc/pkg/rust.iss
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down Expand Up @@ -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
Expand Down

1 comment on commit 35f5a67

@alexcrichton
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+, thanks!

Please sign in to comment.