fixed MUI_UNGETLANGUAGE which didn't test the right variable and didn't declare it in the first place causing an error in case MUI_LANGDLL_DISPLAY isn't used
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5301 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
cb3de0c235
commit
1c3a4e1539
1 changed files with 5 additions and 2 deletions
|
@ -146,13 +146,16 @@ Localization
|
|||
|
||||
;Get language from registry in uninstaller
|
||||
|
||||
!verbose pop
|
||||
!verbose push
|
||||
!verbose ${MUI_VERBOSE}
|
||||
|
||||
!insertmacro MUI_LANGDLL_VARIABLES
|
||||
|
||||
!ifdef MUI_LANGDLL_REGISTRY_ROOT & MUI_LANGDLL_REGISTRY_KEY & MUI_LANGDLL_REGISTRY_VALUENAME
|
||||
|
||||
ReadRegStr $mui.LangDLL.RegistryLanguage "${MUI_LANGDLL_REGISTRY_ROOT}" "${MUI_LANGDLL_REGISTRY_KEY}" "${MUI_LANGDLL_REGISTRY_VALUENAME}"
|
||||
|
||||
${if} mui.LangDLL.RegistryLanguage = ""
|
||||
${if} $mui.LangDLL.RegistryLanguage = ""
|
||||
|
||||
!endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue