Rico.JohnnY
14th April 2005 03:17 UTC
how to silently choose install language?
when silently install a program ,how to choose English as the default install language even if the System language is French,or from what registry key does the installer determine what language it will use?
edit:my copy of winxp is an English version ..but the system locale is set to French.
jano2
14th April 2005 10:50 UTC
Re: how to silently choose install language?
; Language files
!insertmacro MUI_LANGUAGE "English"
!insertmacro MUI_LANGUAGE "French"
...
Function .onInit
MessageBox MB_OK "A default language is : $LANGUAGE"
;change default language to English
Push ${LANG_ENGLISH}
Pop $LANGUAGE
MessageBox MB_OK "A new default language is : $LANGUAGE"
!insertmacro MUI_LANGDLL_DISPLAY
FunctionEnd
kichik
14th April 2005 18:24 UTC
You can also use:
StrCpy $LANGUAGE ${LANG_ENGLISH}
There is no need to pass it through the stack.