From 35f5a674d47c91366a4f23c706fc0be1a689f65f Mon Sep 17 00:00:00 2001 From: Mike Boutin Date: Fri, 26 Sep 2014 17:58:01 -0400 Subject: [PATCH] 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. --- src/etc/pkg/rust.iss | 4 ++-- 1 file 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