Archive: Language selection on welcome page


Language selection on welcome page
  Hello all,

I was wondering if there was anyway to implement a language selection dropdown into the installer welcome page (or some other IO page)?

Thanks :)


Welcome page or some other IO page means the gui is already running.
Language should be set in function .onInit or at least in function .onGuiInit.


i know this is not what you wanted, but why you want a language selection on welcome page instead of this:

!insertmacro MUI_LANGUAGE "Arabic"

>!insertmacro MUI_LANGUAGE "Polish"
>!insertmacro MUI_LANGUAGE "German"
>!insertmacro MUI_LANGUAGE "English"
>...
!insertmacro MUI_RESERVEFILE_LANGDLL

>Function .onInit
!insertmacro MUI_LANGDLL_DISPLAY
FunctionEnd
>//this one ask the user for his prefered language before the installer starts his job
i think something like this doesn't make so much sense, because from what reason the user should change from one language to another? the user will always choose his motherlanguage during the short time he spent to install your program.

What is requested is to not ask the user for a language and automatically choose the OS language if available in the installer, otherwise default to english.

However, they also would like to have a small dropdown or button to change the language on the first page of the installer, the Welcome page in this case.

As for changing the language after onInit, i think its not really a problem to change the lang on the first page as we can just restart the installer with the new lang


So what is your query, if you can add a dropdown on welcome page?
It is documented that you can edit the iospecial.ini.
Changing the welcome/finish page by adding another control should be the easy part of the job, however, I can't seem to figure how the language change would work at that stage.


Yes, thats my query: How to restart installer with a new language.

I think its possible to store the new language in the reg and read it after restarting in onInit, looking into it...