Archive: Custom language select


Custom language select
Hello,

I have the following code:

code:

Function .onInit
;; set getman locale if .....
StrCpy $LANGUAGE ${LANG_GERMAN}

MessageBox MB_OK "A translated message: $(CONTINUE_SETUP_TXT)"



I need to set the language of the installer onInit.
the problem is that,
inside the OnInit function, there is locale messages,
but the current language is changed only after ONINIT finished.
so it is always in ENGLISH....

could u help me with it?

Move the messagebox to the next event (.onguiint for normal invocations and section for silent)