Updated macro system & LangDLL usage
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1142 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
7098ae8c75
commit
4bb4a97bd2
1 changed files with 2 additions and 6 deletions
|
@ -81,10 +81,8 @@ SectionEnd
|
|||
|
||||
Function .onInit
|
||||
|
||||
Push "Tahoma"
|
||||
Push "8"
|
||||
Push "Select a language"
|
||||
LangDLL::LangDialog "Please select a language." Nederlands 1043 English 1033 2
|
||||
LangDLL::LangDialog "Installer Language" "Please select a language." "2F" "English" "${LANG_ENGLISH}" "Nederlands" "${LANG_DUTCH}" "8" "Tahoma" ;2 is the number of lanugages, F means change font
|
||||
|
||||
Pop $LANGUAGE
|
||||
StrCmp $LANGUAGE "cancel" 0 +2
|
||||
Abort
|
||||
|
@ -121,7 +119,6 @@ FunctionEnd
|
|||
|
||||
Function .onNextPage
|
||||
|
||||
!insertmacro MUI_NEXTPAGE_OUTER
|
||||
!insertmacro MUI_NEXTPAGE SetPage
|
||||
|
||||
FunctionEnd
|
||||
|
@ -208,7 +205,6 @@ SectionEnd
|
|||
|
||||
Function un.onNextPage
|
||||
|
||||
!insertmacro MUI_NEXTPAGE_OUTER
|
||||
!insertmacro MUI_NEXTPAGE un.SetPage
|
||||
|
||||
FunctionEnd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue