Skip to content

Commit 93c0610

Browse files
committed
auto merge of #19725 : vadimcn/rust/inst-path, r=alexcrichton
Change default installation directory to %SYSTEMDRIVE%\Rust. Modify user PATH, rather than system PATH.
2 parents 52f7a4a + 3eda3cd commit 93c0610

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/etc/pkg/rust.iss

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ DisableStartupPrompt=true
2323
OutputDir=.\dist\
2424
SourceDir=.\
2525
OutputBaseFilename={#CFG_PACKAGE_NAME}-{#CFG_BUILD}
26-
DefaultDirName={pf32}\Rust
26+
DefaultDirName={sd}\Rust
2727

2828
Compression=lzma2/ultra
2929
InternalCompressLevel=ultra
@@ -49,7 +49,7 @@ Source: "tmp/dist/win/gcc/*.*"; DestDir: "{app}"; Flags: ignoreversion recursesu
4949
[Code]
5050
const
5151
ModPathName = 'modifypath';
52-
ModPathType = 'system';
52+
ModPathType = 'user';
5353
5454
function ModPathDir(): TArrayOfString;
5555
begin

0 commit comments

Comments
 (0)