From f2a56b29d9bf79da71d3adf04819a6fe3e85644d Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Mon, 20 Apr 2020 17:57:09 -0700 Subject: [PATCH] Fixed: Windows installer won't create shortcut if unchecked --- setup/sonarr.iss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup/sonarr.iss b/setup/sonarr.iss index a77709494..24edd6806 100644 --- a/setup/sonarr.iss +++ b/setup/sonarr.iss @@ -42,7 +42,7 @@ SetupLogging=yes Name: "english"; MessagesFile: "compiler:Default.isl" [Tasks] -Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}" +Name: "desktopIcon"; Description: "{cm:CreateDesktopIcon}" Name: "windowsService"; Description: "Install Windows Service (Starts when the computer starts)"; GroupDescription: "Start automatically"; Flags: exclusive unchecked Name: "startupShortcut"; Description: "Create shortcut in Startup folder (Starts when you log into Windows)"; GroupDescription: "Start automatically"; Flags: exclusive Name: "none"; Description: "Do not start automatically"; GroupDescription: "Start automatically"; Flags: exclusive unchecked @@ -54,7 +54,7 @@ Source: "..\_output_windows\*"; DestDir: "{app}"; Flags: ignoreversion recursesu [Icons] Name: "{group}\{#AppName}"; Filename: "{app}\{#AppExeName}"; Parameters: "/icon" -Name: "{commondesktop}\{#AppName}"; Filename: "{app}\{#AppExeName}"; Parameters: "/icon" +Name: "{commondesktop}\{#AppName}"; Filename: "{app}\{#AppExeName}"; Parameters: "/icon"; Tasks: desktopIcon Name: "{userstartup}\{#AppName}"; Filename: "{app}\Sonarr.exe"; WorkingDir: "{app}"; Tasks: startupShortcut [InstallDelete] @@ -99,4 +99,4 @@ begin result := false; end else result := true; -end; \ No newline at end of file +end;