summaryrefslogtreecommitdiff
path: root/installer.iss
blob: 820d567b079694b8dab0654df30ab9a8d83b94a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
; Script for creating Quackle Windows installer
; For Inno Setup 5.1

[Setup]
AppName=Quackondo
AppVerName=Quackondo 1.0.4
ArchitecturesAllowed=x64
ArchitecturesInstallIn64BitMode=x64
DefaultDirName={commonpf}\Quackondo
DefaultGroupName=Quackondo
ChangesAssociations=yes
UninstallDisplayIcon={app}\Quackle.exe

[Icons]
Name: "{group}\Quackondo 1.0.4"; Filename: "{app}\Quackle.exe"; WorkingDir: "{app}"

[Registry]
Root: HKCU; Subkey: "Software\Quackle.org"
Root: HKCR; Subkey: ".gcg"; ValueType: string; ValueName: ""; ValueData: "QuackleGameFile"; Flags: uninsdeletevalue 
Root: HKCR; Subkey: "QuackleGameFile"; ValueType: string; ValueName: ""; ValueData: "Quackle Game File"; Flags: uninsdeletekey 
Root: HKCR; Subkey: "QuackleGameFile\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\Quackle.exe,0" 
Root: HKCR; Subkey: "QuackleGameFile\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\Quackle.exe"" ""%1"""


[Files]
Source: "quacker\build\RelWithDebInfo\Quackle.exe"; DestDir: "{app}"
Source: "LICENSE"; DestDir: "{app}"

; Assuming either a cmake process or a human copied the DLL files
; in the same dir.  Right now, I'm building from vcpkg, and the list of DLLs
; is Qt5Core, Qt5Gui, Qt5Widgets, zlib1, bz2, freetype, harfbuzz, libpng16, pcre2-16.
; Also the MSVC VC runtime redist DLLs.
; But, depending upon your build chain, this will vary. -jfultz
Source: "quacker\build\RelWithDebInfo\*.dll"; DestDir: "{app}"

; Ditto for various Qt plugins
; Right now, I'm installing platforms\qwindows.dll, styles\qwindowsvistastyle.dll,
; and imageformats\*
Source: "quacker\build\RelWithDebInfo\imageformats\*"; DestDir: "{app}\imageformats"
Source: "quacker\build\RelWithDebInfo\platforms\*"; DestDir: "{app}\platforms"
Source: "quacker\build\RelWithDebInfo\styles\*"; DestDir: "{app}\styles"
Source: "quacker\build\RelWithDebInfo\macondo\*"; DestDir: "{app}\macondo"; Flags: recursesubdirs


Source: "data\themes\*"; DestDir: "{app}\data\themes"
Source: "data\alphabets\*"; DestDir: "{app}\data\alphabets"
Source: "data\lexica\*"; DestDir: "{app}\data\lexica"
Source: "data\strategy\*"; DestDir: "{app}\data\strategy"; Flags: recursesubdirs