Skip to content

Commit

Permalink
Change default installation directory to %SYSTEMDRIVE%\Rust.
Browse files Browse the repository at this point in the history
Modify user PATH, rather than system PATH.
  • Loading branch information
vadimcn committed Dec 10, 2014
1 parent bc486dc commit 3eda3cd
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 @@ -23,7 +23,7 @@ DisableStartupPrompt=true
OutputDir=.\dist\
SourceDir=.\
OutputBaseFilename={#CFG_PACKAGE_NAME}-{#CFG_BUILD}
DefaultDirName={pf32}\Rust
DefaultDirName={sd}\Rust

Compression=lzma2/ultra
InternalCompressLevel=ultra
Expand All @@ -49,7 +49,7 @@ Source: "tmp/dist/win/gcc/*.*"; DestDir: "{app}"; Flags: ignoreversion recursesu
[Code]
const
ModPathName = 'modifypath';
ModPathType = 'system';
ModPathType = 'user';
function ModPathDir(): TArrayOfString;
begin
Expand Down

5 comments on commit 3eda3cd

@bors
Copy link
Contributor

@bors bors commented on 3eda3cd Dec 14, 2014

Choose a reason for hiding this comment

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

saw approval from alexcrichton
at vadimcn@3eda3cd

@bors
Copy link
Contributor

@bors bors commented on 3eda3cd Dec 14, 2014

Choose a reason for hiding this comment

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

merging vadimcn/rust/inst-path = 3eda3cd into auto

@bors
Copy link
Contributor

@bors bors commented on 3eda3cd Dec 14, 2014

Choose a reason for hiding this comment

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

vadimcn/rust/inst-path = 3eda3cd merged ok, testing candidate = 93c0610

@bors
Copy link
Contributor

@bors bors commented on 3eda3cd Dec 14, 2014

Choose a reason for hiding this comment

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

fast-forwarding master to auto = 93c0610

Please sign in to comment.