| 1 | #include "Common.iss"
|
|---|
| 2 |
|
|---|
| 3 | [Setup]
|
|---|
| 4 | ; "ArchitecturesInstallIn64BitMode=x64" requests that the install be
|
|---|
| 5 | ; done in "64-bit mode" on x64, meaning it should use the native
|
|---|
| 6 | ; 64-bit Program Files directory and the 64-bit view of the registry.
|
|---|
| 7 | ; On all other architectures it will install in "32-bit mode".
|
|---|
| 8 | ArchitecturesInstallIn64BitMode=x64
|
|---|
| 9 | ; Note: We don't set ProcessorsAllowed because we want this
|
|---|
| 10 | ; installation to run on all architectures (including Itanium,
|
|---|
| 11 | ; since it's capable of running 32-bit code too).
|
|---|
| 12 | OutputBaseFilename=Install-{#MyAppNameShort}-{#MyAppVersion}{#MyAppVersionSuffix}
|
|---|
| 13 |
|
|---|
| 14 | [Components]
|
|---|
| 15 | Name: "ai\ai_uo"; Description: "AI_UO"; Types: full
|
|---|
| 16 | Name: "ai\capital_ai"; Description: "Capital AI"; Types: full
|
|---|
| 17 | Name: "ai\aias"; Description: "AIAS"; Types: full
|
|---|
| 18 | Name: "ai\civseed"; Description: "Civilisation Seed AI"; Types: full
|
|---|
| 19 | Name: "ai\crystal"; Description: "Crystal"; Types: full
|
|---|
| 20 | Name: "ai\kiai"; Description: "KIAI"; Types: full
|
|---|
| 21 | Name: "ai\liberator"; Description: "Liberator"; Types: full
|
|---|
| 22 | Name: "ai\seti"; Description: "SETI"; Types: full
|
|---|
| 23 | Name: "ai\shah"; Description: "Shah"; Types: full
|
|---|
| 24 |
|
|---|
| 25 | [Files]
|
|---|
| 26 | Source: "{#MyAppSubDir}\lib\x86_64-win64-Release\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Components: main; Check: Is64BitInstallMode
|
|---|
| 27 | Source: "{#MyAppSubDir}\lib\i386-win32-Release\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Components: main; Check: not Is64BitInstallMode
|
|---|
| 28 | Source: "{#MyAppSubDir}\AI\StdAI\lib\x86_64-win64-Release\StdAI.dll"; DestDir: "{app}\AI\StdAI"; DestName: "StdAI-win64.dll"; Flags: ignoreversion; Components: ai\stdai; Check: Is64BitInstallMode
|
|---|
| 29 | Source: "{#MyAppSubDir}\AI\StdAI\lib\i386-win32-Release\StdAI.dll"; DestDir: "{app}\AI\StdAI"; DestName: "StdAI-win32.dll"; Flags: ignoreversion; Components: ai\stdai; Check: not Is64BitInstallMode
|
|---|
| 30 | Source: "{#MyAppSubDir}\AI\AI_UO\*.*"; DestDir: "{app}\AI\AI_UO"; Flags: ignoreversion; Components: ai\ai_uo; Check: not Is64BitInstallMode
|
|---|
| 31 | Source: "{#MyAppSubDir}\AI\AIAS\*.*"; DestDir: "{app}\AI\AIAS"; Flags: ignoreversion; Components: ai\aias; Check: not Is64BitInstallMode
|
|---|
| 32 | Source: "{#MyAppSubDir}\AI\Capital AI\*.*"; DestDir: "{app}\AI\Capital AI"; Flags: ignoreversion; Components: ai\capital_ai; Check: not Is64BitInstallMode
|
|---|
| 33 | Source: "{#MyAppSubDir}\AI\Civilisation Seed AI\*.*"; DestDir: "{app}\AI\Civilisation Seed AI"; Flags: ignoreversion; Components: ai\civseed; Check: not Is64BitInstallMode
|
|---|
| 34 | Source: "{#MyAppSubDir}\AI\Crystal\*.*"; DestDir: "{app}\AI\Crystal"; Flags: ignoreversion; Components: ai\crystal; Check: not Is64BitInstallMode
|
|---|
| 35 | Source: "{#MyAppSubDir}\AI\KIAI\*.*"; DestDir: "{app}\AI\KIAI"; Flags: ignoreversion; Components: ai\kiai; Check: not Is64BitInstallMode
|
|---|
| 36 | Source: "{#MyAppSubDir}\AI\Liberator\*.*"; DestDir: "{app}\AI\Liberator"; Flags: ignoreversion; Components: ai\liberator; Check: not Is64BitInstallMode
|
|---|
| 37 | Source: "{#MyAppSubDir}\AI\SETI\*.*"; DestDir: "{app}\AI\SETI"; Flags: ignoreversion; Components: ai\seti; Check: not Is64BitInstallMode
|
|---|
| 38 | Source: "{#MyAppSubDir}\AI\Shah\*.*"; DestDir: "{app}\AI\Shah"; Flags: ignoreversion; Components: ai\shah; Check: not Is64BitInstallMode
|
|---|