diff --git a/setup/radarr.iss b/setup/radarr.iss index 864659190..0048e9381 100644 --- a/setup/radarr.iss +++ b/setup/radarr.iss @@ -43,7 +43,7 @@ Name: "english"; MessagesFile: "compiler:Default.isl" [Tasks] Name: "desktopIcon"; Description: "{cm:CreateDesktopIcon}" -Name: "windowsService"; Description: "Install Windows Service (Starts when the computer starts)"; GroupDescription: "Start automatically"; Flags: exclusive +Name: "windowsService"; Description: "Install Windows Service (Starts when the computer starts as the LocalService user, you will need to change the user to access network shares)"; 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 @@ -72,5 +72,6 @@ function PrepareToInstall(var NeedsRestart: Boolean): String; var ResultCode: Integer; begin - Exec(ExpandConstant('{commonappdata}\Radarr\bin\Radarr.Console.exe'), '/u', '', 0, ewWaitUntilTerminated, ResultCode) + Exec('net', 'stop radarr', '', 0, ewWaitUntilTerminated, ResultCode) + Exec('sc', 'delete radarr', '', 0, ewWaitUntilTerminated, ResultCode) end;