-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrelease.iss
71 lines (63 loc) · 3.05 KB
/
release.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
71
; -- 64Bit.iss --
; Demonstrates installation of a program built for the x64 (a.k.a. AMD64)
; architecture.
; To successfully run this installation and the program it installs,
; you must have a "x64" edition of Windows.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING .ISS SCRIPT FILES!
[Setup]
#define AppName "M'Target"
#define AppMajor
#define AppMinor
#define AppRevision
#define AppBuild
#define AppVersion GetVersionComponents("build/x64/m-target-x64.exe", AppMajor, AppMinor, AppRevision, AppBuild)
#define AppVersion Str(AppMajor) + "." + Str(AppMinor) + "." + Str(AppRevision)
DisableWelcomePage=no
AppName={#AppName}
AppId={#AppName}
AppVersion={#AppVersion}
AppPublisher=Bkacjios
AppPublisherURL=https://github.com/bkacjios
AppUpdatesURL=https://github.com/bkacjios/m-target/releases
AppSupportURL=https://github.com/bkacjios/m-target/issues
WizardStyle=modern
DefaultDirName={autopf}\{#AppName}
DefaultGroupName={#AppName}
UninstallDisplayIcon={app}\m-target-x64.exe
SetupIconFile=installer/icon.ico
WizardImageFile=installer/wizardbanner.bmp
WizardSmallImageFile=installer/wizard.bmp
Compression=lzma2
SolidCompression=yes
OutputDir=./releases
OutputBaseFilename=m-target-x64-installer
; "ArchitecturesAllowed=x64" specifies that Setup cannot run on
; anything but x64.
ArchitecturesAllowed=x64
; "ArchitecturesInstallIn64BitMode=x64" requests that the install be
; done in "64-bit mode" on x64, meaning it should use the native
; 64-bit Program Files directory and the 64-bit view of the registry.
ArchitecturesInstallIn64BitMode=x64
LicenseFile=build/x64/license.txt
[Files]
Source: "build/x64/license.txt"; DestDir: "{app}"; DestName: "license.txt"; Flags: ignoreversion
Source: "build/x64/m-target-x64.exe"; DestDir: "{app}"; DestName: "m-target-x64.exe"; Flags: ignoreversion
Source: "build/x64/love.dll"; DestDir: "{app}"; DestName: "love.dll"; Flags: ignoreversion
Source: "build/x64/lua51.dll"; DestDir: "{app}"; DestName: "lua51.dll"; Flags: ignoreversion
Source: "build/x64/mpg123.dll"; DestDir: "{app}"; DestName: "mpg123.dll"; Flags: ignoreversion
Source: "build/x64/msvcp120.dll"; DestDir: "{app}"; DestName: "msvcp120.dll"; Flags: ignoreversion
Source: "build/x64/msvcr120.dll"; DestDir: "{app}"; DestName: "msvcr120.dll"; Flags: ignoreversion
Source: "build/x64/OpenAL32.dll"; DestDir: "{app}"; DestName: "OpenAL32.dll"; Flags: ignoreversion
Source: "build/x64/SDL2.dll"; DestDir: "{app}"; DestName: "SDL2.dll"; Flags: ignoreversion
Source: "build/x64/sqlite3.dll"; DestDir: "{app}"; DestName: "sqlite3.dll"; Flags: ignoreversion
[InstallDelete]
Type: files; Name: {app}\m-target-64.exe
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; \
GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Icons]
Name: "{group}\{#AppName}"; Filename: "{app}\m-target-x64.exe"
Name: "{commondesktop}\{#AppName}"; Filename: "{app}\m-target-x64.exe"; \
Tasks: desktopicon
[Run]
Filename: {app}\m-target-x64.exe; Description: "Launch {#AppName}"; Flags: postinstall shellexec skipifsilent nowait