UAC plugin and language
alexmitev81 opened this issue · 0 comments
Hello,
I have a problem with the UAC plugin and UMUI not setting the language in registry.
When I select a non-default language from the list, UMUI creates a new instance with the /L parameter. When I elevate at a later step, this parameter is passed to the inner instance and the language is correctly written to the registry.
When I leave the default language from the list, the language page is not displayed in the inner instance and the UMUI_MULTILANG_GET macro goes to label checkRegistery: and since there is no value in the registry, it goes to endlang, skipping the UMUI_ADDPARAMTOSAVETOREGISTRYKEY call.
I think the UMUI_MULTILANG_GET macro should always call the UMUI_ADDPARAMTOSAVETOREGISTRYKEY macro in order to always write the selected language to the registry, even if it's the default one.
Regards,
Alex