fork/m-overlay

git clone https://git.julia.blue/fork/m-overlay

BkacjiosAdded an option to installer for creating a desktop shortcut. Added links to latest installer/portable release to the README.d8a7a00

settings-overhaul
2.9 KiB69 linesraw
1; -- 64Bit.iss --
2; Demonstrates installation of a program built for the x64 (a.k.a. AMD64)
3; architecture.
4; To successfully run this installation and the program it installs,
5; you must have a "x64" edition of Windows.
6
7; SEE THE DOCUMENTATION FOR DETAILS ON CREATING .ISS SCRIPT FILES!
8
9[Setup]
10#define AppName "M'Overlay"
11#define AppMajor
12#define AppMinor
13#define AppRevision
14#define AppBuild
15#define AppVersion GetVersionComponents("build/x64/m-overlay-x64.exe", AppMajor, AppMinor, AppRevision, AppBuild)
16#define AppVersion Str(AppMajor) + "." + Str(AppMinor) + "." + Str(AppRevision)
17DisableWelcomePage=no
18AppName={#AppName}
19AppId={#AppName}
20AppVersion={#AppVersion}
21AppPublisher=Bkacjios
22AppPublisherURL=https://github.com/bkacjios
23AppUpdatesURL=https://github.com/bkacjios/m-overlay/releases
24AppSupportURL=https://github.com/bkacjios/m-overlay/issues
25WizardStyle=modern
26DefaultDirName={autopf}\{#AppName}
27DefaultGroupName={#AppName}
28UninstallDisplayIcon={app}\m-overlay-x64.exe
29SetupIconFile=installer/icon.ico
30WizardImageFile=installer/wizardbanner.bmp
31WizardSmallImageFile=installer/wizard.bmp
32Compression=lzma2
33SolidCompression=yes
34OutputDir=./releases
35OutputBaseFilename=m-overlay-x64-installer
36; "ArchitecturesAllowed=x64" specifies that Setup cannot run on
37; anything but x64.
38ArchitecturesAllowed=x64
39; "ArchitecturesInstallIn64BitMode=x64" requests that the install be
40; done in "64-bit mode" on x64, meaning it should use the native
41; 64-bit Program Files directory and the 64-bit view of the registry.
42ArchitecturesInstallIn64BitMode=x64
43LicenseFile=build/x64/license.txt
44
45[Files]                                
46Source: "build/x64/license.txt"; DestDir: "{app}"; DestName: "license.txt"; Flags: ignoreversion
47Source: "build/x64/m-overlay-x64.exe"; DestDir: "{app}"; DestName: "m-overlay-x64.exe"; Flags: ignoreversion
48Source: "build/x64/love.dll"; DestDir: "{app}"; DestName: "love.dll"; Flags: ignoreversion
49Source: "build/x64/lua51.dll"; DestDir: "{app}"; DestName: "lua51.dll"; Flags: ignoreversion
50Source: "build/x64/mpg123.dll"; DestDir: "{app}"; DestName: "mpg123.dll"; Flags: ignoreversion
51Source: "build/x64/msvcp120.dll"; DestDir: "{app}"; DestName: "msvcp120.dll"; Flags: ignoreversion
52Source: "build/x64/msvcr120.dll"; DestDir: "{app}"; DestName: "msvcr120.dll"; Flags: ignoreversion
53Source: "build/x64/OpenAL32.dll"; DestDir: "{app}"; DestName: "OpenAL32.dll"; Flags: ignoreversion
54Source: "build/x64/SDL2.dll"; DestDir: "{app}"; DestName: "SDL2.dll"; Flags: ignoreversion
55
56[InstallDelete]
57Type: files; Name: {app}\m-overlay-64.exe
58
59[Tasks]
60Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; \
61    GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
62
63[Icons]
64Name: "{group}\{#AppName}"; Filename: "{app}\m-overlay-x64.exe"
65Name: "{commondesktop}\{#AppName}"; Filename: "{app}\m-overlay-x64.exe"; \
66    Tasks: desktopicon
67
68[Run]
69Filename: {app}\m-overlay-x64.exe; Description: "Launch {#AppName}"; Flags: postinstall shellexec skipifsilent nowait