From 8061c5ab8d665953aeb92a46be8c931e7c5c2b70 Mon Sep 17 00:00:00 2001 From: David Rowe Date: Thu, 6 Aug 2020 22:30:06 +1200 Subject: [PATCH] Default not to start up Sandbox after install --- cmake/templates/NSIS.template.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/templates/NSIS.template.in b/cmake/templates/NSIS.template.in index 5c45a6019a..6c53f3d49e 100644 --- a/cmake/templates/NSIS.template.in +++ b/cmake/templates/NSIS.template.in @@ -871,7 +871,7 @@ Function PostInstallOptionsPage Pop $LaunchConsoleNowCheckbox ; set the checkbox state depending on what is present in the registry - !insertmacro SetInstallOption $LaunchConsoleNowCheckbox @SERVER_LAUNCH_NOW_REG_KEY@ ${BST_CHECKED} + !insertmacro SetInstallOption $LaunchConsoleNowCheckbox @SERVER_LAUNCH_NOW_REG_KEY@ ${BST_UNCHECKED} ${StrContains} $substringResult "/forceNoLaunchServer" $CMDLINE ${IfNot} $substringResult == "" ${NSD_SetState} $LaunchConsoleNowCheckbox ${BST_UNCHECKED} @@ -942,7 +942,7 @@ Function ReadInstallTypes StrCpy $DesktopClientState ${BST_CHECKED} StrCpy $ConsoleStartupState ${BST_UNCHECKED} StrCpy $LaunchConsoleNowState ${BST_CHECKED} - StrCpy $LaunchClientNowState ${BST_CHECKED} + StrCpy $LaunchClientNowState ${BST_UNCHECKED} StrCpy $CleanInstallState ${BST_UNCHECKED} StrCpy $DesktopConsoleState ${BST_UNCHECKED}