forked from ClanGenOfficial/clangen
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Clan-gen.iss
70 lines (53 loc) · 2.64 KB
/
Clan-gen.iss
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
; Clan-gen Installer Script
#define ApplicationBaseName "Clan-gen"
#define ApplicationFullName "Clan-gen (fan edit) by Sablesteel"
; Update this line to the date of the latest Clan-gen (fan edit) by Sablesteel release
; (or choose your own version-numbering scheme)
#define ApplicationVersion "2022.08.10"
#define ApplicationURL "https://sablesteel.itch.io/clan-gen-fan-edit"
; Comment out the following line and uncomment the second one in order to place help files, EULA, etc.
; in the same program group as the main Clan-gen' shortcuts
;#define DocumentationFolder "Documentation"
;#define DocumentationFolder "."
; Filenames for the compiled installer
#define InstallerBaseName ApplicationBaseName + " " + ApplicationVersion
#define InstallerFullName InstallerBaseName + ".exe"
; Filenames for the Inno sourcecode
#define SourceFullName ApplicationBaseName + ".iss"
;-------------------------------------------------------------------------------
[Setup]
; if using a Eula uncomment this line
;LicenseFile=Eula.txt
OutputBaseFilename={#InstallerBaseName}
SourceDir=.
AppName={#ApplicationFullName}
DefaultDirName={commonpf}\{#ApplicationFullName}
DefaultGroupName={#ApplicationFullName}
OutputDir=.
; Control Panel information
AppPublisherURL={#ApplicationURL}
AppVersion={#ApplicationVersion}
; Installer icon (if you'd like to provide one)
SetupIconFile=.\main.ico
; Uninstalling will not delete saves so I figured no need for an uninstaller.
Uninstallable=no
; Installer information
VersionInfoProductName={#ApplicationFullName}
VersionInfoVersion={#ApplicationVersion}
;-------------------------------------------------------------------------------
[Files]
Source: "*"; DestDir: {app}; Excludes: "{#InstallerFullName},{#SourceFullName}";
Source: ".\resources\*"; DestDir: {app}\resources;
Source: ".\sprites\*"; DestDir: {app}\sprites;
; Flags: onlyifdoesntexist prevents settings and clanlist.txt from being overwritten after update
Source: ".\saves\*"; DestDir: {app}\saves; Flags: onlyifdoesntexist;
[Dirs]
; Permissions: users-full allows the user to write to the saves directory
Name: "{app}\saves"; Permissions: users-full
;-------------------------------------------------------------------------------
[Icons]
;; Create Clan-gen (fan edit) icons
Name: {group}\Clan-gen (fan edit); Filename: {app}\main.exe; Comment: "Clan-gen (fan edit) by Sablesteel"
Name: {commondesktop}\Clan-gen (fan edit); Filename: {app}\main.exe; Comment: "Clan-gen (fan edit) by Sablesteel";
; Uninstall program Comment out to disable shortcut
;Name: {group}\Uninstall {#ApplicationFullName}; Filename: {uninstallexe}