[qet] [4086] minor : refresh file

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 4086
Author:   scorpio810
Date:     2015-08-04 21:55:31 +0200 (Tue, 04 Aug 2015)
Log Message:
-----------
minor : refresh file

Modified Paths:
--------------
    trunk/packaging/windows/QET64.nsi

Modified: trunk/packaging/windows/QET64.nsi
===================================================================
--- trunk/packaging/windows/QET64.nsi	2015-08-04 19:24:52 UTC (rev 4085)
+++ trunk/packaging/windows/QET64.nsi	2015-08-04 19:55:31 UTC (rev 4086)
@@ -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 @@
 ;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
 


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/