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.)
|
---|
18 | AppId={{63BC68DB-0555-461D-9975-943637FC15AE}
|
---|
19 | AppName={#MyAppName}
|
---|
20 | AppVersion={#MyAppVersion}
|
---|
21 | AppVerName={#MyAppName} {#MyAppVersion}
|
---|
22 | AppPublisher={#MyAppPublisher}
|
---|
23 | AppPublisherURL={#MyAppURL}
|
---|
24 | AppSupportURL={#MyAppURL}
|
---|
25 | AppUpdatesURL={#MyAppURL}
|
---|
26 | UninstallDisplayName={#MyAppName}
|
---|
27 | UninstallDisplayIcon="{app}\{#MyAppExeName}"
|
---|
28 | VersionInfoVersion={#MyAppVersion}
|
---|
29 | VersionInfoCompany={#MyAppPublisher}
|
---|
30 | DefaultDirName={commonpf}\{#MyAppPublisherShort}\{#MyAppName}
|
---|
31 | DefaultGroupName={#MyAppPublisherShort}\{#MyAppName}
|
---|
32 | AllowNoIcons=yes
|
---|
33 | OutputDir=.
|
---|
34 | OutputBaseFilename=Install-{#MyAppNameShort}-{#MyAppVersion}
|
---|
35 | Compression=lzma
|
---|
36 | SolidCompression=yes
|
---|
37 | ChangesAssociations=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".
|
---|
42 | ArchitecturesInstallIn64BitMode=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).
|
---|
46 | WizardStyle=modern
|
---|
47 |
|
---|
48 | [Languages]
|
---|
49 | Name: "english"; MessagesFile: "compiler:Default.isl"
|
---|
50 | Name: "czech"; MessagesFile: "compiler:Languages\Czech.isl"
|
---|
51 |
|
---|
52 | [Tasks]
|
---|
53 | Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags:
|
---|
54 |
|
---|
55 | [Registry]
|
---|
56 | Root: HKLM; Subkey: "Software\Chronosoft\Tunneler"; Flags: uninsdeletekey
|
---|
57 |
|
---|
58 | [Files]
|
---|
59 | Source: "{#MyAppSubDir}\lib\x86_64-win64-Release\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: Is64BitInstallMode
|
---|
60 | Source: "{#MyAppSubDir}\lib\i386-win32-Release\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: not Is64BitInstallMode
|
---|
61 | Source: "{#MyAppSubDir}\Audio\*.*"; DestDir: "{app}\Audio"; Flags: ignoreversion
|
---|
62 | Source: "{#MyAppSubDir}\Languages\*.po"; DestDir: "{app}\Languages"; Flags: ignoreversion
|
---|
63 | Source: "{#MyAppSubDir}\Languages\*.pot"; DestDir: "{app}\Languages"; Flags: ignoreversion
|
---|
64 |
|
---|
65 | [Icons]
|
---|
66 | Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
|
---|
67 | Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
|
---|
68 | Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
|
---|
69 |
|
---|
70 | [Run]
|
---|
71 | Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, "&", "&&")}}"; Flags: nowait postinstall skipifsilent
|
---|
72 |
|
---|