Skip to content

Commit

Permalink
add working installer script for app v0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
RVRX committed Jul 2, 2021
1 parent e87e9e9 commit 963ba1f
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions GoICC Installation Media Creation Script.iss
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "Guns of Icarus Caster Companion"
#define MyAppVersion "0.5"
#define MyAppPublisher "Cole Manning, RVRX"
#define MyAppURL "https://goicc.skyborne.net/"
#define MyAppExeName "GoICasterCompanion.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={{814BB0DB-7699-4CE3-B442-01707D0580C0}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={autopf}\GoICasterCompanion
DisableProgramGroupPage=yes
LicenseFile=LICENSE
InfoAfterFile=docs\win-postinstall-text.rtf
; Uncomment the following line to run in non administrative install mode (install for current user only.)
;PrivilegesRequired=lowest
PrivilegesRequiredOverridesAllowed=dialog
OutputDir=build\inno
OutputBaseFilename=GoICC_Setup_v{#MyAppVersion}
SetupIconFile=splash-cropped-256x256.ico
Compression=lzma
SolidCompression=yes
WizardStyle=modern

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked

[Files]
Source: "build\launch4j\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Icons]
Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon

[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent

0 comments on commit 963ba1f

Please sign in to comment.