From 9ebac71990e03738860d11f9cab14c2f74ea63e0 Mon Sep 17 00:00:00 2001 From: Birunthan Mohanathas Date: Sat, 19 Oct 2013 12:33:47 +0300 Subject: [PATCH] Installer: Remove 64-bit install checkbox for standard installs on 32-bit systems --- Build/Installer/Installer.nsi | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Build/Installer/Installer.nsi b/Build/Installer/Installer.nsi index 88f844d7..afc41d94 100644 --- a/Build/Installer/Installer.nsi +++ b/Build/Installer/Installer.nsi @@ -324,14 +324,14 @@ Function PageOptions StrCpy $1 0 + StrCpy $R2 0 ${If} ${RunningX64} - ${AndIf} $InstallPortable = 1 - ${OrIf} $INSTDIR == "" - ${NSD_CreateCheckBox} 6u 54u 285u 12u "$(INSTALL64BIT)" - Pop $R2 - StrCpy $1 30u - ${Else} - StrCpy $R2 0 + ${If} $InstallPortable = 1 + ${OrIf} $INSTDIR == "" + ${NSD_CreateCheckBox} 6u 54u 285u 12u "$(INSTALL64BIT)" + Pop $R2 + StrCpy $1 30u + ${EndIf} ${EndIf} ${If} $InstallPortable <> 1