]> git.lizzy.rs Git - rust.git/blob - src/etc/pkg/rust.iss
635d385d7c410d1f32f710523e943391ba24546c
[rust.git] / src / etc / pkg / rust.iss
1 #define CFG_VERSION_WIN GetEnv("CFG_VERSION_WIN")
2 #define CFG_RELEASE GetEnv("CFG_RELEASE")
3
4 [Setup]
5
6 SetupIconFile=rust-logo.ico
7 AppName=Rust
8 AppVersion={#CFG_RELEASE}
9 AppCopyright=Copyright (C) 2006-2013 Mozilla Foundation, MIT license
10 AppPublisher=Mozilla Foundation
11 AppPublisherURL=http://www.rust-lang.org
12 VersionInfoVersion={#CFG_VERSION_WIN}
13 LicenseFile=LICENSE.txt
14
15 DisableWelcomePage=true
16 DisableProgramGroupPage=true
17 DisableReadyPage=true
18 DisableStartupPrompt=true
19
20 OutputDir=.\
21 SourceDir=.\
22 OutputBaseFilename=rust-{#CFG_RELEASE}-install
23 DefaultDirName={pf32}\Rust
24
25 Compression=lzma2/ultra
26 InternalCompressLevel=ultra
27 SolidCompression=true
28
29 ChangesEnvironment=true
30 ChangesAssociations=no
31 AllowUNCPath=false
32 AllowNoIcons=true
33 Uninstallable=yes
34
35 [Tasks]
36 Name: modifypath; Description: &Add {app}\bin to your PATH (recommended)
37
38 [Files]
39 Source: "i686-pc-mingw32/stage3/*.*" ; DestDir: "{app}"; Flags: ignoreversion recursesubdirs
40
41 [Code]
42 const
43         ModPathName = 'modifypath';
44         ModPathType = 'user';
45
46 function ModPathDir(): TArrayOfString;
47 begin
48         setArrayLength(Result, 1)
49         Result[0] := ExpandConstant('{app}\bin');
50 end;
51 #include "modpath.iss"