| 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 "AvPx"
|
|---|
| 5 | #define MyAppVersion "1.0"
|
|---|
| 6 | #define MyAppPublisher "SirLemonhead"
|
|---|
| 7 | #define MyAppURL "http://homepage.eircom.net/~duncandsl/avp/"
|
|---|
| 8 | #define MyAppExeName "AvPx.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={{6214FDEA-8101-434C-86C0-6CBF1380D025}
|
|---|
| 15 | AppName={#MyAppName}
|
|---|
| 16 | AppVersion={#MyAppVersion}
|
|---|
| 17 | ;AppVerName={#MyAppName} {#MyAppVersion}
|
|---|
| 18 | AppPublisher={#MyAppPublisher}
|
|---|
| 19 | AppPublisherURL={#MyAppURL}
|
|---|
| 20 | AppSupportURL={#MyAppURL}
|
|---|
| 21 | AppUpdatesURL={#MyAppURL}
|
|---|
| 22 | DefaultDirName={pf}\Fox\Aliens versus Predator
|
|---|
| 23 | DefaultGroupName={#MyAppName}
|
|---|
| 24 | OutputBaseFilename=setup
|
|---|
| 25 | Compression=lzma
|
|---|
| 26 | SolidCompression=yes
|
|---|
| 27 |
|
|---|
| 28 | [Languages]
|
|---|
| 29 | Name: "english"; MessagesFile: "compiler:Default.isl"
|
|---|
| 30 |
|
|---|
| 31 | [Tasks]
|
|---|
| 32 | Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
|
|---|
| 33 |
|
|---|
| 34 | [Files]
|
|---|
| 35 | Source: "C:\Users\Barry\Desktop\avp_redist\AvPx.exe"; DestDir: "{app}"; Flags: ignoreversion
|
|---|
| 36 | Source: "C:\Users\Barry\Desktop\avp_redist\directx\*"; DestDir: "{app}\redist\directx\"; Flags: ignoreversion recursesubdirs createallsubdirs
|
|---|
| 37 | Source: "C:\Users\Barry\Desktop\avp_redist\vcredist_x86.exe"; DestDir: "{app}\redist\vc\"; Flags: ignoreversion
|
|---|
| 38 | Source: "C:\Users\Barry\Desktop\avp_redist\shaders\*"; DestDir: "{app}\shaders\"; Flags: ignoreversion recursesubdirs createallsubdirs
|
|---|
| 39 | Source: "C:\Users\Barry\Desktop\avp_redist\dlls\*"; DestDir: "{app}";
|
|---|
| 40 | ; NOTE: Don't use "Flags: ignoreversion" on any shared system files
|
|---|
| 41 |
|
|---|
| 42 | [Icons]
|
|---|
| 43 | Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
|
|---|
| 44 | Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
|
|---|
| 45 |
|
|---|
| 46 | [Run]
|
|---|
| 47 | Filename: "{app}\redist\vc\vcredist_x86.exe"; Description: "Install Visual Studio 2010 SP1 Runtime";
|
|---|
| 48 | Filename: "{app}\redist\directx\DXSETUP.exe"; Description: "Install DirectX Runtimes";
|
|---|
| 49 | Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, "&", "&&")}}"; Flags: nowait postinstall skipifsilent
|
|---|
| 50 |
|
|---|