2013-11-26 06:34:53 +01:00
|
|
|
; Script generated by the Inno Setup Script Wizard.
|
|
|
|
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
|
|
|
|
|
2017-04-10 14:24:06 +02:00
|
|
|
#define AppName "Radarr"
|
|
|
|
#define AppPublisher "Team Radarr"
|
|
|
|
#define AppURL "https://radarr.video/"
|
|
|
|
#define ForumsURL "https://github.com/Radarr/Radarr/issues"
|
|
|
|
#define AppExeName "Radarr.exe"
|
2018-11-23 08:05:47 +01:00
|
|
|
#define BuildNumber "1.0"
|
2017-04-10 14:24:06 +02:00
|
|
|
#define BuildVersion GetEnv('APPVEYOR_BUILD_VERSION')
|
2018-08-05 16:28:05 +02:00
|
|
|
#define BranchName StringChange(GetEnv('APPVEYOR_REPO_BRANCH'), "/", "-")
|
|
|
|
|
|
|
|
#if BuildVersion == ""
|
|
|
|
|
|
|
|
#define BuildVersion GetEnv('BUILD_VERSION') + GetEnv('$CIRCLE_BUILD_NUM')
|
|
|
|
#define BranchName StringChange(GetEnv('CIRCLE_BRANCH'), "/", "-")
|
|
|
|
|
|
|
|
#endif
|
2013-11-26 06:34:53 +01:00
|
|
|
|
|
|
|
[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.)
|
2017-04-10 14:24:06 +02:00
|
|
|
AppId={{56C1065D-3523-4025-B76D-6F73F67F7F82}
|
2013-11-26 06:34:53 +01:00
|
|
|
AppName={#AppName}
|
2017-04-10 14:24:06 +02:00
|
|
|
AppVersion=0.2
|
2013-11-26 06:34:53 +01:00
|
|
|
AppPublisher={#AppPublisher}
|
|
|
|
AppPublisherURL={#AppURL}
|
2013-11-26 21:17:16 +01:00
|
|
|
AppSupportURL={#ForumsURL}
|
2013-11-26 06:34:53 +01:00
|
|
|
AppUpdatesURL={#AppURL}
|
2017-04-10 14:24:06 +02:00
|
|
|
DefaultDirName={commonappdata}\Radarr\bin
|
2013-11-26 06:34:53 +01:00
|
|
|
DisableDirPage=yes
|
|
|
|
DefaultGroupName={#AppName}
|
|
|
|
DisableProgramGroupPage=yes
|
2017-04-10 18:34:03 +02:00
|
|
|
OutputBaseFilename=Radarr.{#BranchName}.{#BuildVersion}.installer
|
2013-11-26 06:34:53 +01:00
|
|
|
SolidCompression=yes
|
|
|
|
AppCopyright=Creative Commons 3.0 License
|
|
|
|
AllowUNCPath=False
|
2017-04-10 14:24:06 +02:00
|
|
|
UninstallDisplayIcon={app}\Radarr.exe
|
2013-11-26 06:34:53 +01:00
|
|
|
DisableReadyPage=True
|
|
|
|
CompressionThreads=2
|
|
|
|
Compression=lzma2/normal
|
2013-11-26 21:17:16 +01:00
|
|
|
AppContact={#ForumsURL}
|
2014-08-26 08:07:50 +02:00
|
|
|
VersionInfoVersion={#BuildNumber}
|
2013-11-26 06:34:53 +01:00
|
|
|
|
|
|
|
[Languages]
|
|
|
|
Name: "english"; MessagesFile: "compiler:Default.isl"
|
|
|
|
|
|
|
|
[Tasks]
|
2013-11-27 00:59:17 +01:00
|
|
|
;Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
|
|
|
|
Name: "windowsService"; Description: "Install as a Windows Service"
|
2013-11-26 06:34:53 +01:00
|
|
|
|
|
|
|
[Files]
|
2018-08-05 16:28:05 +02:00
|
|
|
Source: "..\_output\Radarr.exe"; DestDir: "{app}"; Flags: ignoreversion
|
2017-04-10 15:51:11 +02:00
|
|
|
Source: "..\_output\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
2013-11-26 06:34:53 +01:00
|
|
|
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
|
|
|
|
|
|
|
|
[Icons]
|
2013-11-27 00:59:17 +01:00
|
|
|
Name: "{group}\{#AppName}"; Filename: "{app}\{#AppExeName}"; Parameters: "/icon"
|
|
|
|
Name: "{commondesktop}\{#AppName}"; Filename: "{app}\{#AppExeName}"; Parameters: "/icon"
|
2013-11-26 06:34:53 +01:00
|
|
|
|
|
|
|
[Run]
|
2017-04-10 14:24:06 +02:00
|
|
|
Filename: "{app}\radarr.console.exe"; Parameters: "/u"; Flags: waituntilterminated;
|
|
|
|
Filename: "{app}\radarr.console.exe"; Parameters: "/i"; Flags: waituntilterminated; Tasks: windowsService
|
2013-11-26 06:34:53 +01:00
|
|
|
|
|
|
|
[UninstallRun]
|
2017-04-10 14:24:06 +02:00
|
|
|
Filename: "{app}\radarr.console.exe"; Parameters: "/u"; Flags: waituntilterminated skipifdoesntexist
|