github.com/axw/juju@v0.0.0-20161005053422-4bd6544d08d4/scripts/win-installer/setup.iss (about) 1 ; Script generated by the Inno Setup Script Wizard. 2 ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! 3 4 #define MyAppName "Juju" 5 #define MyAppVersion "2.0.0" 6 #define MyAppPublisher "Canonical, Ltd" 7 #define MyAppURL "http://jujucharms.com/" 8 #define MyAppExeName "juju.exe" 9 10 [Setup] 11 ; NOTE: The value of AppId uniquely identifies this application. 12 ; Do not use the same AppId value in installers for other applications. 13 ; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) 14 AppId={{B2781001-AA89-4E70-AC2B-17D004DFBAE2} 15 AppName={#MyAppName} 16 AppVersion={#MyAppVersion} 17 ;AppVerName={#MyAppName} {#MyAppVersion} 18 AppPublisher={#MyAppPublisher} 19 AppPublisherURL={#MyAppURL} 20 ChangesEnvironment=yes 21 DefaultDirName={pf}\{#MyAppName} 22 DisableDirPage=auto 23 DefaultGroupName={#MyAppName} 24 DisableProgramGroupPage=yes 25 OutputBaseFilename=juju-setup-{#MyAppVersion} 26 SetupIconFile=juju.ico 27 Compression=lzma 28 SolidCompression=yes 29 UninstallDisplayIcon={app}\juju.ico 30 UninstallDisplayName=Juju 31 WizardImageStretch=no 32 WizardImageFile=juju-wizard-side.bmp 33 WizardImageBackColor=clWhite 34 WizardSmallImageFile=juju-55.bmp 35 LicenseFile=LICENCE.txt 36 37 [Languages] 38 Name: "english"; MessagesFile: "compiler:Default.isl" 39 40 [Tasks] 41 Name: modifypath; Description: Add application directory to your environment path 42 43 [Files] 44 Source: "juju.exe"; DestDir: "{app}"; Flags: ignoreversion 45 Source: "juju.ico"; DestDir: "{app}"; Flags: ignoreversion 46 Source: "README.txt"; DestDir: "{app}"; Flags: ignoreversion 47 Source: "LICENCE.txt"; DestDir: "{app}"; Flags: ignoreversion 48 49 [Run] 50 Filename: "{app}\README.txt"; Description: "View the README file"; Flags: postinstall shellexec skipifsilent 51 52 [Code] 53 const 54 ModPathName= 'modifypath'; 55 ModPathType = 'system'; 56 57 function ModPathDir(): TArrayOfString; 58 begin 59 setArrayLength(Result, 1) 60 Result[0] := ExpandConstant('{app}'); 61 end; 62 63 #include "modpath.iss"