From 7e9de6470b10df4056f6f25602c7f22b9c0bd4dc Mon Sep 17 00:00:00 2001 From: scorpio810 Date: Tue, 4 Aug 2015 19:55:31 +0000 Subject: [PATCH] minor : refresh file git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4086 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- packaging/windows/QET64.nsi | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/packaging/windows/QET64.nsi b/packaging/windows/QET64.nsi index 28bc9050c..23700fc5d 100644 --- a/packaging/windows/QET64.nsi +++ b/packaging/windows/QET64.nsi @@ -7,14 +7,12 @@ ;Include Modern UI !include x64.nsh !include "MUI2.nsh" - !ifndef PROC - - !define PROC 32 ; to be defined in cmd line - +!ifndef PROC + !define PROC 32 ; !endif -LangString wrongWow ${LANG_ENGLISH} "This distribution is for ${PROC} bits computers only." -LangString wrongWow ${LANG_FRENCH} "Ce programme est pour Windows ${PROC} bits seulement." +LangString wrongArch ${LANG_ENGLISH} "This distribution is for ${PROC} bits computers only." +LangString wrongArch ${LANG_FRENCH} "Ce programme est pour Windows ${PROC} bits seulement." ; MUI Settings ;-------------------------------- @@ -161,12 +159,11 @@ SectionEnd ;Installer Functions Function .onInit -${If} ${RunningX64} +${If} ${RunningX64} ${Else} - MessageBox MB_OK|MB_ICONSTOP $(wrongWow) - Abort $(wrongWow) - DetailPrint "This program is only for Windows 64" + MessageBox MB_OK|MB_ICONSTOP $(wrongArch) + Abort $(wrongArch) ${EndIf} !insertmacro MUI_LANGDLL_DISPLAY