kmudrovcic
29th May 2009 15:24 UTC
Multiple language selection doesn't work
Hi,
I've tried to use simple multiple language selection at the beggining of my installation.
So i defined languages used:
;Languages
!insertmacro MUI_LANGUAGE "English"
!insertmacro MUI_LANGUAGE "Japanese"
!insertmacro MUI_RESERVEFILE_LANGDLL
And then in .oninit part :
Function .onInit
!define MUI_LANGDLL_ALWAYSSHOW
!insertmacro MUI_LANGDLL_DISPLAY
...
...
...
FunctionEnd
But when i compile and start the installation,there's no language selection page. What am i doing wrong?
Thanks in advance
Afrow UK
29th May 2009 17:02 UTC
My guess is your machine can't display Japanese so as only one language can be selected from the list, it just doesn't need to display language selection. Just a guess.
Stu
pengyou
30th May 2009 14:25 UTC
But when i compile and start the installation,there's no language selection page. What am i doing wrong?
By default the MUI only shows the languages your system supports. If you want to show the entire list defined in your script you need to use an extra define, as described in the MUI Manual:
MUI_LANGDLL_ALLLANGUAGES
Always show all available languages and don't filter according to their codepage.