small MUI2 beta bug?
Hi,
Maybe a problem using macros for getting/setting registry keys if the installer has a choice between current user (HKCU) and all users (HKLM) during the setup. MUI2 beta does not disable registry macros when they aren't in use:
MUI_LANGDLL_REGISTRY_ROOT root
MUI_LANGDLL_REGISTRY_KEY key
MUI_LANGDLL_REGISTRY_VALUENAME value_name
MUI_STARTMENUPAGE_REGISTRY_ROOT root
MUI_STARTMENUPAGE_REGISTRY_KEY key
MUI_STARTMENUPAGE_REGISTRY_VALUENAME value_name
The compiler warns:
Variable "mui.StartMenuPage.RegistryLocation" not referenced or never set, wasting memory!
Variable "mui.LangDLL.RegistryLanguage" not referenced or never set, wasting memory!
I guess the point of a beta version is to test it. It may be that I'm doing it wrong. Is there a clever way to not define those macros in your nsi?