mirror of
https://github.com/Radarr/Radarr
synced 2024-12-22 16:02:43 +00:00
updated build number, uninstall/reinstall service on install.
This commit is contained in:
parent
4389f9d96d
commit
72fc530da9
1 changed files with 3 additions and 1 deletions
|
@ -6,6 +6,7 @@
|
||||||
#define AppURL "http://www.nzbdrone.com/"
|
#define AppURL "http://www.nzbdrone.com/"
|
||||||
#define ForumsURL "http://forums.nzbdrone.com/"
|
#define ForumsURL "http://forums.nzbdrone.com/"
|
||||||
#define AppExeName "NzbDrone.exe"
|
#define AppExeName "NzbDrone.exe"
|
||||||
|
#define BuildNumber GetEnv('BUILD_NUMBER')
|
||||||
|
|
||||||
[Setup]
|
[Setup]
|
||||||
; NOTE: The value of AppId uniquely identifies this application.
|
; NOTE: The value of AppId uniquely identifies this application.
|
||||||
|
@ -13,7 +14,7 @@
|
||||||
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
|
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
|
||||||
AppId={{56C1065D-3523-4025-B76D-6F73F67F7F71}
|
AppId={{56C1065D-3523-4025-B76D-6F73F67F7F71}
|
||||||
AppName={#AppName}
|
AppName={#AppName}
|
||||||
AppVersion={%env.BUILD_NUMBER|1.0.0}
|
AppVersion={#BuildNumber}
|
||||||
AppPublisher={#AppPublisher}
|
AppPublisher={#AppPublisher}
|
||||||
AppPublisherURL={#AppURL}
|
AppPublisherURL={#AppURL}
|
||||||
AppSupportURL={#ForumsURL}
|
AppSupportURL={#ForumsURL}
|
||||||
|
@ -48,6 +49,7 @@ Name: "{group}\{#AppName}"; Filename: "{app}\{#AppExeName}"
|
||||||
Name: "{commondesktop}\{#AppName}"; Filename: "{app}\{#AppExeName}"; Tasks: desktopicon
|
Name: "{commondesktop}\{#AppName}"; Filename: "{app}\{#AppExeName}"; Tasks: desktopicon
|
||||||
|
|
||||||
[Run]
|
[Run]
|
||||||
|
Filename: "{app}\nzbdrone.console.exe"; Parameters: "/u"; Flags: waituntilterminated
|
||||||
Filename: "{app}\nzbdrone.console.exe"; Parameters: "/i"; Flags: waituntilterminated
|
Filename: "{app}\nzbdrone.console.exe"; Parameters: "/i"; Flags: waituntilterminated
|
||||||
|
|
||||||
[UninstallRun]
|
[UninstallRun]
|
||||||
|
|
Loading…
Reference in a new issue