1 #define CFG_VERSION_WIN GetEnv("CFG_VERSION_WIN")
2 #define CFG_RELEASE GetEnv("CFG_RELEASE")
3 #define CFG_PACKAGE_NAME GetEnv("CFG_PACKAGE_NAME")
4 #define CFG_BUILD GetEnv("CFG_BUILD")
8 SetupIconFile=rust-logo.ico
10 AppVersion={#CFG_RELEASE}
11 AppCopyright=Copyright (C) 2006-2014 Mozilla Foundation, MIT license
12 AppPublisher=Mozilla Foundation
13 AppPublisherURL=http://www.rust-lang.org
14 VersionInfoVersion={#CFG_VERSION_WIN}
15 LicenseFile=LICENSE.txt
17 PrivilegesRequired=lowest
18 DisableWelcomePage=true
19 DisableProgramGroupPage=true
21 DisableStartupPrompt=true
25 OutputBaseFilename={#CFG_PACKAGE_NAME}-{#CFG_BUILD}
26 DefaultDirName={pf32}\Rust
28 Compression=lzma2/ultra
29 InternalCompressLevel=ultra
32 ChangesEnvironment=true
33 ChangesAssociations=no
39 Name: modifypath; Description: &Add {app}\bin to your PATH (recommended)
42 Name: rust; Description: "Rust compiler and standard crates"; Types: full compact custom; Flags: fixed
43 Name: gcc; Description: "Linker and platform libraries"; Types: full
46 Source: "tmp/dist/win/rust/*.*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs; Components: rust
47 Source: "tmp/dist/win/gcc/*.*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs; Components: gcc
51 ModPathName = 'modifypath';
52 ModPathType = 'system';
54 function ModPathDir(): TArrayOfString;
56 setArrayLength(Result, 1)
57 Result[0] := ExpandConstant('{app}\bin');
60 #include "modpath.iss"
61 #include "upgrade.iss"
63 // Both modpath.iss and upgrade.iss want to overload CurStepChanged.
64 // This version does the overload then delegates to each.
66 procedure CurStepChanged(CurStep: TSetupStep);
68 UpgradeCurStepChanged(CurStep);
69 ModPathCurStepChanged(CurStep);