The installer must use only one language, which specified in PRODUCT_LANGUAGE parameter. I've done it in the following way"..\..\NSIS\makensis.exe" /DBUILD_NUMBER=28311 /DPRODUCT_LANGUAGE=English "MTService_setup.nsi"
!insertmacro MUI_LANGUAGE "${PRODUCT_LANGUAGE}"When I build installer in such way, the common language of the interface is correct. But it uses default system language for LangString. So, if default system language is not English, it shows LangString on another language in the English installer.I've tried to change script to avoid command line parameters (for test purposes)
It doesn't work too.!insertmacro MUI_LANGUAGE "English"
I've tried to change script to
It works, but, of course, it shows language selection dialog. I want to use specific ${PRODUCT_LANGUAGE} without any dialog.
!insertmacro MUI_LANGUAGE "English"
!insertmacro MUI_LANGUAGE "Russian"
Function .onInit
!insertmacro MUI_LANGDLL_DISPLAY
FunctionEnd
So, how can I fix it?
