Add logging to Windows setup

This commit is contained in:
Mark McDowall 2019-07-25 07:49:32 -07:00
parent 4df219161c
commit bc85f5de1d
1 changed files with 2 additions and 1 deletions

View File

@ -36,6 +36,7 @@ CompressionThreads=2
Compression=lzma2/normal Compression=lzma2/normal
AppContact={#ForumsURL} AppContact={#ForumsURL}
VersionInfoVersion={#BuildNumber} VersionInfoVersion={#BuildNumber}
SetupLogging=yes
[Languages] [Languages]
Name: "english"; MessagesFile: "compiler:Default.isl" Name: "english"; MessagesFile: "compiler:Default.isl"
@ -74,5 +75,5 @@ function PrepareToInstall(var NeedsRestart: Boolean): String;
var var
ResultCode: Integer; ResultCode: Integer;
begin begin
Exec(ExpandConstant('{commonappdata}\NzbDrone\bin\NzbDrone.Console.exe'), '/u', '', 0, ewWaitUntilTerminated, ResultCode) Exec(ExpandConstant('{commonappdata}\NzbDrone\bin\NzbDrone.Console.exe'), '/u', '', 0, waituntilterminated, ResultCode)
end; end;