-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switched to Inno Setup for Windows Installer
This is for multiple reasons, but primarily due to NSIS's poor Uninstaller support for dynamic content.
- Loading branch information
Showing
2 changed files
with
44 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
; Script generated by the Inno Setup Script Wizard. | ||
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! | ||
|
||
#define MyAppName "OpenRCT2 Launcher" | ||
#define MyAppVersion "0.0.4" | ||
#define MyAppPublisher "OpenRCT2" | ||
#define MyAppURL "http://www.github.com/LRFLEW/OpenRCT2Launcher" | ||
#define MyAppExeName "OpenRCT2.exe" | ||
|
||
[Setup] | ||
; NOTE: The value of AppId uniquely identifies this application. | ||
; Do not use the same AppId value in installers for other applications. | ||
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) | ||
AppId={{D71D87CE-20E7-4DB6-A0D8-E6DE57051B35} | ||
AppName={#MyAppName} | ||
AppVersion={#MyAppVersion} | ||
;AppVerName={#MyAppName} {#MyAppVersion} | ||
AppPublisher={#MyAppPublisher} | ||
AppPublisherURL={#MyAppURL} | ||
DefaultDirName={pf}\{#MyAppName} | ||
DisableProgramGroupPage=yes | ||
OutputDir=. | ||
OutputBaseFilename=OpenRCT2Launcher | ||
Compression=lzma | ||
SolidCompression=yes | ||
|
||
[Languages] | ||
Name: "english"; MessagesFile: "compiler:Default.isl" | ||
|
||
[Tasks] | ||
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}" | ||
|
||
[Files] | ||
Source: "build-Windows\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs | ||
; NOTE: Don't use "Flags: ignoreversion" on any shared system files | ||
|
||
[Icons] | ||
Name: "{commonprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}" | ||
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon | ||
|
||
[Run] | ||
Filename: "{app}\vcredist_x86.exe"; Parameters: "/passive" | ||
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent | ||
|
This file was deleted.
Oops, something went wrong.