mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-04-03 10:29:59 +02:00
minor : refresh file
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4086 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -7,14 +7,12 @@
|
|||||||
;Include Modern UI
|
;Include Modern UI
|
||||||
!include x64.nsh
|
!include x64.nsh
|
||||||
!include "MUI2.nsh"
|
!include "MUI2.nsh"
|
||||||
!ifndef PROC
|
!ifndef PROC
|
||||||
|
!define PROC 32 ;
|
||||||
!define PROC 32 ; to be defined in cmd line
|
|
||||||
|
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
LangString wrongWow ${LANG_ENGLISH} "This distribution is for ${PROC} bits computers only."
|
LangString wrongArch ${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_FRENCH} "Ce programme est pour Windows ${PROC} bits seulement."
|
||||||
|
|
||||||
; MUI Settings
|
; MUI Settings
|
||||||
;--------------------------------
|
;--------------------------------
|
||||||
@@ -161,12 +159,11 @@ SectionEnd
|
|||||||
;Installer Functions
|
;Installer Functions
|
||||||
|
|
||||||
Function .onInit
|
Function .onInit
|
||||||
${If} ${RunningX64}
|
|
||||||
|
|
||||||
|
${If} ${RunningX64}
|
||||||
${Else}
|
${Else}
|
||||||
MessageBox MB_OK|MB_ICONSTOP $(wrongWow)
|
MessageBox MB_OK|MB_ICONSTOP $(wrongArch)
|
||||||
Abort $(wrongWow)
|
Abort $(wrongArch)
|
||||||
DetailPrint "This program is only for Windows 64"
|
|
||||||
${EndIf}
|
${EndIf}
|
||||||
!insertmacro MUI_LANGDLL_DISPLAY
|
!insertmacro MUI_LANGDLL_DISPLAY
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user