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!
|
|
|
|
|
|
|
|
#define AppName "NzbDrone"
|
|
|
|
#define AppPublisher "NzbDrone"
|
|
|
|
#define AppURL "http://www.nzbdrone.com/"
|
2013-11-26 21:17:16 +01:00
|
|
|
#define ForumsURL "http://forums.nzbdrone.com/"
|
2013-11-26 06:34:53 +01:00
|
|
|
#define AppExeName "NzbDrone.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.)
|
2013-11-26 21:17:16 +01:00
|
|
|
AppId={56C1065D-3523-4025-B76D-6F73F67F7F71}
|
2013-11-26 06:34:53 +01:00
|
|
|
AppName={#AppName}
|
2013-11-26 21:17:16 +01:00
|
|
|
AppVersion={%env.BUILD_NUMBER|1.0.0}
|
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}
|
|
|
|
DefaultDirName={commonprograms}\{#AppName}\bin
|
|
|
|
DisableDirPage=yes
|
|
|
|
DefaultGroupName={#AppName}
|
|
|
|
DisableProgramGroupPage=yes
|
|
|
|
OutputBaseFilename=NzbDroneSetup
|
|
|
|
SolidCompression=yes
|
|
|
|
AppCopyright=Creative Commons 3.0 License
|
|
|
|
AllowUNCPath=False
|
|
|
|
UninstallDisplayIcon={app}\NzbDrone.exe
|
|
|
|
DisableReadyPage=True
|
|
|
|
CompressionThreads=2
|
|
|
|
Compression=lzma2/normal
|
2013-11-26 21:17:16 +01:00
|
|
|
AppContact={#ForumsURL}
|
2013-11-26 06:34:53 +01:00
|
|
|
|
|
|
|
[Languages]
|
|
|
|
Name: "english"; MessagesFile: "compiler:Default.isl"
|
|
|
|
|
|
|
|
[Tasks]
|
|
|
|
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
|
|
|
|
|
|
|
|
[Files]
|
2013-11-26 20:51:19 +01:00
|
|
|
Source: "..\_output\NzbDrone.exe"; DestDir: "{app}"; Flags: ignoreversion
|
|
|
|
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]
|
|
|
|
Name: "{group}\{#AppName}"; Filename: "{app}\{#AppExeName}"
|
|
|
|
Name: "{commondesktop}\{#AppName}"; Filename: "{app}\{#AppExeName}"; Tasks: desktopicon
|
|
|
|
|
|
|
|
[Run]
|
|
|
|
Filename: "{app}\nzbdrone.console.exe"; Parameters: "/i"; Flags: waituntilterminated
|
|
|
|
|
|
|
|
[UninstallRun]
|
|
|
|
Filename: "{app}\nzbdrone.console.exe"; Parameters: "/u"; Flags: waituntilterminated skipifdoesntexist
|