close Warning: Can't synchronize with repository "(default)" (No changeset 184 in the repository). Look in the Trac log for more information.

source: tags/1.0.0/Install/xTactics.iss

Last change on this file was 119, checked in by chronos, 7 years ago
  • Added: Windows binary for 1.0.0 version.
File size: 3.4 KB
Line 
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 "xTactics"
5#define MyAppVersion "1.0.0"
6#define MyAppPublisher "Chronosoft"
7#define MyAppPublisherShort "Chronosoft"
8#define MyAppURL "http://svn.zdechov.net/trac/xtactics"
9#define MyAppExeName "xtactics.exe"
10#define MyAppDebugName "xtactics.dbg"
11#define MyAppSubDir ".."
12
13[Setup]
14; NOTE: The value of AppId uniquely identifies this application.
15; Do not use the same AppId value in installers for other applications.
16; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
17AppId={{044A3DC1-AAED-4ECD-8C43-5376F46460F2}
18AppName={#MyAppName}
19AppVersion={#MyAppVersion}
20;AppVerName={#MyAppName} {#MyAppVersion}
21AppPublisher={#MyAppPublisher}
22AppPublisherURL={#MyAppURL}
23AppSupportURL={#MyAppURL}
24AppUpdatesURL={#MyAppURL}
25DefaultDirName={pf}\{#MyAppPublisherShort}\{#MyAppName}
26DefaultGroupName={#MyAppPublisherShort}\{#MyAppName}
27AllowNoIcons=yes
28OutputDir=.
29OutputBaseFilename=Install-{#MyAppName}-{#MyAppVersion}
30Compression=lzma
31SolidCompression=yes
32ChangesAssociations=yes
33; "ArchitecturesInstallIn64BitMode=x64" requests that the install be
34; done in "64-bit mode" on x64, meaning it should use the native
35; 64-bit Program Files directory and the 64-bit view of the registry.
36; On all other architectures it will install in "32-bit mode".
37ArchitecturesInstallIn64BitMode=x64
38; Note: We don't set ProcessorsAllowed because we want this
39; installation to run on all architectures (including Itanium,
40; since it's capable of running 32-bit code too).
41
42[Languages]
43Name: "english"; MessagesFile: "compiler:Default.isl"
44Name: "czech"; MessagesFile: "compiler:Languages\Czech.isl"
45
46[Tasks]
47Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags:
48
49[Registry]
50Root: HKCU; Subkey: "Software\Chronosoft\xTactics"; Flags: uninsdeletekey
51
52#define FileTypeName "xTactics game"
53Root: HKCR; Subkey: ".xtg"; ValueType: string; ValueName: ""; ValueData: "{#FileTypeName}"; Flags: uninsdeletevalue
54Root: HKCR; Subkey: "{#FileTypeName}"; ValueType: string; ValueName: ""; ValueData: "{#FileTypeName}"; Flags: uninsdeletekey
55Root: HKCR; Subkey: "{#FileTypeName}\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\{#MyAppExeName},0"
56Root: HKCR; Subkey: "{#FileTypeName}\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\{#MyAppExeName}"" ""%1"""
57
58[Files]
59Source: "{#MyAppSubDir}\lib\x86_64-win64\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: Is64BitInstallMode
60Source: "{#MyAppSubDir}\lib\i386-win32\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: not Is64BitInstallMode
61Source: "{#MyAppSubDir}\Languages\*.po"; DestDir: "{app}\Languages"; Flags: ignoreversion
62Source: "{#MyAppSubDir}\Images\Maps\*.*"; DestDir: "{app}\Images\Maps"; Flags: ignoreversion
63; NOTE: Don't use "Flags: ignoreversion" on any shared system files
64
65[Icons]
66Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
67Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
68Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
69
70[Run]
71Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, "&", "&&")}}"; Flags: nowait postinstall skipifsilent
72
Note: See TracBrowser for help on using the repository browser.