You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
2.9 KiB
66 lines
2.9 KiB
11 years ago
|
; Script generated by the Inno Setup Script Wizard.
|
||
|
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
|
||
|
|
||
8 years ago
|
#define AppName "Lidarr"
|
||
|
#define AppPublisher "Team Lidarr"
|
||
|
#define AppURL "https://lidarr.audio/"
|
||
|
#define ForumsURL "https://forums.lidarr.audio/"
|
||
8 years ago
|
#define AppExeName "Lidarr.exe"
|
||
7 years ago
|
#define BuildNumber "0.3"
|
||
11 years ago
|
#define BuildNumber GetEnv('BUILD_NUMBER')
|
||
|
#define BranchName GetEnv('branch')
|
||
11 years ago
|
|
||
|
[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.)
|
||
7 years ago
|
AppId={{56C1065D-3523-4025-B76D-6F73F67F7F93}
|
||
11 years ago
|
AppName={#AppName}
|
||
11 years ago
|
AppVersion=2.0
|
||
11 years ago
|
AppPublisher={#AppPublisher}
|
||
|
AppPublisherURL={#AppURL}
|
||
11 years ago
|
AppSupportURL={#ForumsURL}
|
||
11 years ago
|
AppUpdatesURL={#AppURL}
|
||
8 years ago
|
DefaultDirName={commonappdata}\Lidarr\bin
|
||
11 years ago
|
DisableDirPage=yes
|
||
|
DefaultGroupName={#AppName}
|
||
|
DisableProgramGroupPage=yes
|
||
7 years ago
|
OutputBaseFilename=Lidarr.{#BranchName}.{#BuildNumber}.windows
|
||
11 years ago
|
SolidCompression=yes
|
||
|
AppCopyright=Creative Commons 3.0 License
|
||
|
AllowUNCPath=False
|
||
8 years ago
|
UninstallDisplayIcon={app}\Lidarr.exe
|
||
11 years ago
|
DisableReadyPage=True
|
||
|
CompressionThreads=2
|
||
|
Compression=lzma2/normal
|
||
11 years ago
|
AppContact={#ForumsURL}
|
||
10 years ago
|
VersionInfoVersion={#BuildNumber}
|
||
11 years ago
|
|
||
|
[Languages]
|
||
|
Name: "english"; MessagesFile: "compiler:Default.isl"
|
||
|
|
||
|
[Tasks]
|
||
7 years ago
|
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"
|
||
|
Name: "windowsService"; Description: "Install Windows Service (Starts when the computer starts)"; GroupDescription: "Start automatically"; Flags: exclusive
|
||
|
Name: "startupShortcut"; Description: "Create shortcut in Startup folder (Starts when you log into Windows)"; GroupDescription: "Start automatically"; Flags: exclusive unchecked
|
||
|
Name: "none"; Description: "Do not start automatically"; GroupDescription: "Start automatically"; Flags: exclusive unchecked
|
||
11 years ago
|
|
||
|
[Files]
|
||
8 years ago
|
Source: "..\_output\Lidarr.exe"; DestDir: "{app}"; Flags: ignoreversion
|
||
11 years ago
|
Source: "..\_output\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||
11 years ago
|
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
|
||
|
|
||
|
[Icons]
|
||
11 years ago
|
Name: "{group}\{#AppName}"; Filename: "{app}\{#AppExeName}"; Parameters: "/icon"
|
||
|
Name: "{commondesktop}\{#AppName}"; Filename: "{app}\{#AppExeName}"; Parameters: "/icon"
|
||
7 years ago
|
Name: "{userstartup}\{#AppName}"; Filename: "{app}\Lidarr.exe"; WorkingDir: "{app}"; Tasks: startupShortcut
|
||
11 years ago
|
|
||
|
[Run]
|
||
7 years ago
|
Filename: "{app}\Lidarr.Console.exe"; Parameters: "/u"; Flags: runhidden waituntilterminated;
|
||
|
Filename: "{app}\Lidarr.Console.exe"; Parameters: "/i"; Flags: runhidden waituntilterminated; Tasks: windowsService
|
||
|
Filename: "{app}\Lidarr.exe"; Description: "Open Lidarr"; Flags: postinstall skipifsilent nowait; Tasks: windowsService;
|
||
|
Filename: "{app}\Lidarr.exe"; Description: "Start Lidarr"; Flags: postinstall skipifsilent nowait; Tasks: startupShortcut none;
|
||
11 years ago
|
|
||
|
[UninstallRun]
|
||
8 years ago
|
Filename: "{app}\lidarr.console.exe"; Parameters: "/u"; Flags: waituntilterminated skipifdoesntexist
|