Skip to content

Commit

Permalink
Installer
Browse files Browse the repository at this point in the history
  • Loading branch information
webmaster442 committed Oct 6, 2018
1 parent dc7027b commit 7766ded
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions installer.iss
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
; Script generated by the Inno Script Studio Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "TC Player"
#define MyAppVersion "2.5"
#define MyAppPublisher "Webmaster442"
#define MyAppURL "https://github.com/webmaster442/TCPlayer/"
#define Updates "https://github.com/webmaster442/TCPlayer/releases"
#define Issues "https://github.com/webmaster442/TCPlayer/issues"
#define MyAppExeName "TCPlayer.exe"
#define SetupBaseName "TCPlayer-"

[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={{05ABD3E7-CC7A-4DF5-9A7A-61095FBAE8D4}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#Issues}
AppUpdatesURL={#Updates}
DefaultDirName={pf}\{#MyAppName}
DefaultGroupName={#MyAppName}
AllowNoIcons=yes
LicenseFile=LICENSE
InfoBeforeFile=CHANGELOG.md
OutputBaseFilename={#SetupBaseName}{#MyAppVersion}
Compression=lzma/ultra
SolidCompression=yes
UninstallDisplayIcon={uninstallexe}
OutputDir=bin

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

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

[Files]
Source: "bin\Release\*"; DestDir: "{app}"; Flags: ignoreversion createallsubdirs recursesubdirs

[Icons]
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon

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

0 comments on commit 7766ded

Please sign in to comment.