From a8272712bbb841a59eacf7a98ae85eded5492493 Mon Sep 17 00:00:00 2001
From: Stephen Birarda <commit@birarda.com>
Date: Mon, 29 Aug 2016 15:40:45 -0700
Subject: [PATCH] move forced client selection to apply to all installs

---
 cmake/templates/NSIS.template.in | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/cmake/templates/NSIS.template.in b/cmake/templates/NSIS.template.in
index 94f77a35c0..65e801d321 100644
--- a/cmake/templates/NSIS.template.in
+++ b/cmake/templates/NSIS.template.in
@@ -129,12 +129,12 @@ Var AR_RegFlags
   ;Writing modified flags
   SectionSetFlags ${${SecName}} $AR_SecFlags
 
-  ; The client is always selected by default
-  ${If} ${SecName} == @CLIENT_COMPONENT_NAME@
-    SectionSetFlags ${${SecName}} 17
-  ${EndIf}
-
  "default_${SecName}:"
+ ; The client is always selected by default
+ ${If} ${SecName} == @CLIENT_COMPONENT_NAME@
+   SectionSetFlags ${${SecName}} 17
+ ${EndIf}
+
  !insertmacro LoadSectionSelectedIntoVar ${SecName} ${SecName}_selected
 !macroend