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 "GraphicTest"
|
---|
5 | #define MyAppNameShort "GraphicTest"
|
---|
6 | #define MyAppVersion "1.0.0"
|
---|
7 | #define MyAppVersionSuffix "alfa"
|
---|
8 | #define MyAppPublisher "Chronosoft"
|
---|
9 | #define MyAppPublisherShort "Chronosoft"
|
---|
10 | #define MyAppURL "https://app.zdechov.net/GraphicTest"
|
---|
11 | #define MyAppExeName "GraphicTest.exe"
|
---|
12 | #define MyAppDebugName "GraphicTest.dbg"
|
---|
13 | #define MyAppSubDir "..\.."
|
---|
14 |
|
---|
15 | [Setup]
|
---|
16 | ; NOTE: The value of AppId uniquely identifies this application.
|
---|
17 | ; Do not use the same AppId value in installers for other applications.
|
---|
18 | ; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
|
---|
19 | AppId={{BABA230F-339F-450A-BA09-0310DCBAB3B5}
|
---|
20 | AppName={#MyAppName}
|
---|
21 | #ifdef MyAppVersionSuffix
|
---|
22 | AppVersion={#MyAppVersion}-{#MyAppVersionSuffix}
|
---|
23 | AppVerName={#MyAppName} {#MyAppVersion}-{#MyAppVersionSuffix}
|
---|
24 | OutputBaseFilename=Install-{#MyAppNameShort}-{#MyAppVersion}-{#MyAppVersionSuffix}
|
---|
25 | #else
|
---|
26 | AppVersion={#MyAppVersion}
|
---|
27 | AppVerName={#MyAppName} {#MyAppVersion}
|
---|
28 | OutputBaseFilename=Install-{#MyAppNameShort}-{#MyAppVersion}
|
---|
29 | #endif
|
---|
30 | AppPublisher={#MyAppPublisher}
|
---|
31 | AppPublisherURL={#MyAppURL}
|
---|
32 | AppSupportURL={#MyAppURL}
|
---|
33 | AppUpdatesURL={#MyAppURL}
|
---|
34 | UninstallDisplayName={#MyAppName}
|
---|
35 | UninstallDisplayIcon="{app}\{#MyAppExeName}"
|
---|
36 | VersionInfoVersion={#MyAppVersion}
|
---|
37 | VersionInfoCompany={#MyAppPublisher}
|
---|
38 | DefaultDirName={commonpf}\{#MyAppPublisherShort}\{#MyAppName}
|
---|
39 | DefaultGroupName={#MyAppPublisherShort}\{#MyAppName}
|
---|
40 | AllowNoIcons=yes
|
---|
41 | OutputDir=.
|
---|
42 | Compression=lzma
|
---|
43 | SolidCompression=yes
|
---|
44 | ChangesAssociations=yes
|
---|
45 | WizardStyle=modern
|
---|
46 | ; "ArchitecturesInstallIn64BitMode=x64" requests that the install be
|
---|
47 | ; done in "64-bit mode" on x64, meaning it should use the native
|
---|
48 | ; 64-bit Program Files directory and the 64-bit view of the registry.
|
---|
49 | ; On all other architectures it will install in "32-bit mode".
|
---|
50 | ArchitecturesInstallIn64BitMode=x64
|
---|
51 | ; Note: We don't set ProcessorsAllowed because we want this
|
---|
52 | ; installation to run on all architectures (including Itanium,
|
---|
53 | ; since it's capable of running 32-bit code too).
|
---|
54 |
|
---|
55 | [Languages]
|
---|
56 | Name: "english"; MessagesFile: "compiler:Default.isl"
|
---|
57 | Name: "czech"; MessagesFile: "compiler:Languages\Czech.isl"
|
---|
58 |
|
---|
59 | [Tasks]
|
---|
60 | Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags:
|
---|
61 |
|
---|
62 | [Registry]
|
---|
63 | Root: HKLM; Subkey: "Software\Chronosoft\GraphicTest"; Flags: uninsdeletekey
|
---|
64 |
|
---|
65 | [Files]
|
---|
66 | Source: "{#MyAppSubDir}\lib\x86_64-win64-Release\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: Is64BitInstallMode
|
---|
67 | Source: "{#MyAppSubDir}\lib\i386-win32-Release\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion; Check: not Is64BitInstallMode
|
---|
68 | ; NOTE: Don't use "Flags: ignoreversion" on any shared system files
|
---|
69 |
|
---|
70 | [Icons]
|
---|
71 | Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
|
---|
72 | Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
|
---|
73 | Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
|
---|
74 |
|
---|
75 | [Run]
|
---|
76 | Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, "&", "&&")}}"; Flags: nowait postinstall skipifsilent
|
---|
77 |
|
---|