source: trunk/Install/win/Tunneler.iss

Last change on this file was 98, checked in by chronos, 6 months ago
  • Fixed: Pack audio files for Windows 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 "Tunneler"
5#define MyAppNameShort "Tunneler"
6#define MyAppVersion "1.2.0"
7#define MyAppPublisher "Chronosoft"
8#define MyAppPublisherShort "Chronosoft"
9#define MyAppURL "https://app.zdechov.net/Tunneler"
10#define MyAppExeName "Tunneler.exe"
11#define MyAppDebugName "Tunneler.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={{63BC68DB-0555-461D-9975-943637FC15AE}
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"
51
52[Tasks]
53Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags:
54
55[Registry]
56Root: HKLM; Subkey: "Software\Chronosoft\Tunneler"; Flags: uninsdeletekey
57
58[Files]
59Source: "{#MyAppSubDir}\lib\x86_64-win64-Release\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: Is64BitInstallMode
60Source: "{#MyAppSubDir}\lib\i386-win32-Release\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: not Is64BitInstallMode
61Source: "{#MyAppSubDir}\Audio\*.*"; DestDir: "{app}\Audio"; Flags: ignoreversion
62Source: "{#MyAppSubDir}\Languages\*.po"; DestDir: "{app}\Languages"; Flags: ignoreversion
63Source: "{#MyAppSubDir}\Languages\*.pot"; DestDir: "{app}\Languages"; Flags: ignoreversion
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.