Skip to content

Commit 3eda3cd

Browse files
committed
Change default installation directory to %SYSTEMDRIVE%\Rust.
Modify user PATH, rather than system PATH.
1 parent bc486dc commit 3eda3cd

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
@@ -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)