]> git.lizzy.rs Git - rust.git/commitdiff
Change default installation directory to %SYSTEMDRIVE%\Rust.
authorVadim Chugunov <vadimcn@gmail.com>
Tue, 9 Dec 2014 20:14:09 +0000 (12:14 -0800)
committerVadim Chugunov <vadimcn@gmail.com>
Wed, 10 Dec 2014 23:14:14 +0000 (15:14 -0800)
Modify user PATH, rather than system PATH.

src/etc/pkg/rust.iss

index c57a7ab6c7059d98048203d6b9d9dda5ad0e9f78..43df6256e0b7ec8ca61b4830f3f38ed3044b87ca 100644 (file)
@@ -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
@@ -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