Is there a possibility of using the language refined in the setup for the deinstallation? At present, the standard language is always used.
!insertmacro MUI_UNGETLANGUAGE doesn't work properly together with the "language choice" (ModernUI) in the setup.
Greetings
Kronos
MultiLanguage->Deinstallation
8 posts
Forum Is a simliar problem... but is there another solve than reg?
That other topic is very old (one of the first test versions of the Modern UI).
The Modern UI can automatically save the language. Get the latest development version and check the MultiLanguage.nsi example. You have to define a registry key.
The Modern UI can automatically save the language. Get the latest development version and check the MultiLanguage.nsi example. You have to define a registry key.
Yes I know:
!define MUI_LANGDLL_REGISTRY_ROOT "HKCU"
!define MUI_LANGDLL_REGISTRY_KEY "Software\${MUI_PRODUCT}"
!define MUI_LANGDLL_REGISTRY_VALUENAME "Installer Language"
But the Problem is, when I insert this, the User cannot choose the language (the os-language is choosen). Is there any posibility to make booth?
!define MUI_LANGDLL_REGISTRY_ROOT "HKCU"
!define MUI_LANGDLL_REGISTRY_KEY "Software\${MUI_PRODUCT}"
!define MUI_LANGDLL_REGISTRY_VALUENAME "Installer Language"
But the Problem is, when I insert this, the User cannot choose the language (the os-language is choosen). Is there any posibility to make booth?
The MultiLanguage.nsi example uses the language selection dialog:
If the user has already chosen a language during a previous installation, that language will be used. If you want that the language selection dialog will always be shown (with the previous language as default), define MUI_LANGDLL_ALWAYSSHOW (for this feature, you need the latest development version).Function .onInit
!insertmacro MUI_LANGDLL_DISPLAY
FunctionEnd
Thx! But i´ve got the newest cvs/dev version, but the error:
"!insertmacro: macro named "MUI_LANGDLL_ALWAYSSHOW" not found!"
🙁
Greetings
Kronos
"!insertmacro: macro named "MUI_LANGDLL_ALWAYSSHOW" not found!"
🙁
Greetings
Kronos
So you always want a language selection dialog, even if the user has already chosen a language during a previous installation?
Add
Add
before the first MUI_LANGUAGE macro, it's a define, not a macro!!define MUI_LANGDLL_ALWAYSSHOW
Thank you very much... 🙂 It works 😁
Greetings
Kronos
Greetings
Kronos