source: trunk/Install/win/TransLines.iss

Last change on this file was 137, checked in by chronos, 13 months ago
  • Added: Windows installer for 1.4.0.
  • Modified: Trunk pushed to 1.5.0 version.
File size: 3.1 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 "TransLines"
5#define MyAppNameShort "TransLines"
6#define MyAppVersion "1.5.0"
7#define MyAppPublisher "Chronosoft"
8#define MyAppPublisherShort "Chronosoft"
9#define MyAppURL "https://app.zdechov.net/translines/"
10#define MyAppExeName "TransLines.exe"
11#define MyAppDebugName "TransLines.dbg"
12#define MyAppSubDir "../.."
13
14[Setup]
15; NOTE: The value of AppId uniquely identifies this application.
16; Do not use the same AppId value in installers for other applications.
17; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
18AppId={{3E90B798-4D7C-4BB9-B6C1-0F63940CA63C}
19AppName={#MyAppName}
20AppVersion={#MyAppVersion}
21AppVerName={#MyAppName} {#MyAppVersion}
22AppPublisher={#MyAppPublisher}
23AppPublisherURL={#MyAppURL}
24AppSupportURL={#MyAppURL}
25AppUpdatesURL={#MyAppURL}
26UninstallDisplayName={#MyAppName}
27UninstallDisplayIcon="{app}\{#MyAppExeName}"
28VersionInfoVersion={#MyAppVersion}
29VersionInfoCompany={#MyAppPublisher}
30DefaultDirName={commonpf}\{#MyAppPublisherShort}\{#MyAppName}
31DefaultGroupName={#MyAppPublisherShort}\{#MyAppName}
32AllowNoIcons=yes
33OutputDir=.
34OutputBaseFilename=Install-{#MyAppNameShort}-{#MyAppVersion}
35Compression=lzma
36SolidCompression=yes
37ChangesAssociations=yes
38; "ArchitecturesInstallIn64BitMode=x64" requests that the install be
39; done in "64-bit mode" on x64, meaning it should use the native
40; 64-bit Program Files directory and the 64-bit view of the registry.
41; On all other architectures it will install in "32-bit mode".
42ArchitecturesInstallIn64BitMode=x64
43; Note: We don't set ProcessorsAllowed because we want this
44; installation to run on all architectures (including Itanium,
45; since it's capable of running 32-bit code too).
46WizardStyle=modern
47
48[Languages]
49Name: "english"; MessagesFile: "compiler:Default.isl"
50Name: "czech"; MessagesFile: "compiler:Languages\Czech.isl"
51Name: "french"; MessagesFile: "compiler:Languages\French.isl"
52Name: "german"; MessagesFile: "compiler:Languages\German.isl"
53
54[Tasks]
55Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags:
56
57[Registry]
58Root: HKLM; Subkey: "Software\Chronosoft\TransLines"; Flags: uninsdeletekey
59
60[Files]
61Source: "{#MyAppSubDir}\lib\x86_64-win64-Release\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: Is64BitInstallMode
62Source: "{#MyAppSubDir}\lib\i386-win32-Release\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: not Is64BitInstallMode
63Source: "{#MyAppSubDir}\Languages\*.po"; DestDir: "{app}\Languages"; Flags: ignoreversion
64Source: "{#MyAppSubDir}\Languages\*.pot"; DestDir: "{app}\Languages"; Flags: ignoreversion
65
66[Icons]
67Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
68Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
69Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
70
71[Run]
72Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, "&", "&&")}}"; Flags: nowait postinstall skipifsilent
73
Note: See TracBrowser for help on using the repository browser.