From bbbdbc8092fff83557971b5d4ab67b6e354a60a8 Mon Sep 17 00:00:00 2001 From: scorpio810 Date: Sat, 15 Aug 2015 15:36:03 +0000 Subject: [PATCH] Nsis Installers : Fix warning message git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4121 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- packaging/windows/QET64.nsi | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/packaging/windows/QET64.nsi b/packaging/windows/QET64.nsi index f9a47374f..01888e613 100644 --- a/packaging/windows/QET64.nsi +++ b/packaging/windows/QET64.nsi @@ -13,9 +13,7 @@ !define PROC 32 ; !endif -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 ;-------------------------------- ;General @@ -284,8 +282,9 @@ Function .onInit ${If} ${RunningX64} ${Else} - MessageBox MB_OK|MB_ICONSTOP $(wrongArch) - Abort $(wrongArch) + MessageBox MB_OK|MB_ICONSTOP \ + "This version is only for Windows 64 bits computers." + Abort ${EndIf} !insertmacro MUI_LANGDLL_DISPLAY