diff --git a/Contrib/Modern UI/System.nsh b/Contrib/Modern UI/System.nsh index f7cfa6da..1d4d5a6c 100644 --- a/Contrib/Modern UI/System.nsh +++ b/Contrib/Modern UI/System.nsh @@ -2094,7 +2094,8 @@ Var MUI_TEMP2 !verbose push !verbose ${MUI_VERBOSE} - !ifndef MUI_PAGE_UNINSTALLER_PREFIX + ; MUI_PAGE_UNINSTALLER_PREFIX is undefined by uninstaller pages so we check MUI_UNINSTALLER as well + !ifndef MUI_PAGE_UNINSTALLER_PREFIX && MUI_UNINSTALLER !warning "MUI_LANGUAGE should be inserted after the MUI_[UN]PAGE_* macros" !endif diff --git a/Include/WinMessages.nsh b/Include/WinMessages.nsh index c8e3a05d..cd9c1745 100644 --- a/Include/WinMessages.nsh +++ b/Include/WinMessages.nsh @@ -99,13 +99,13 @@ UDM Up-down control #Generic Common Control Messages# !define CCM_FIRST 0x2000 -!define CCM_SETBKCOLOR /math ${CCM_FIRST} + 0x1 ; IE4 -!define CCM_SETUNICODEFORMAT /math ${CCM_FIRST} + 0x5 -!define CCM_GETUNICODEFORMAT /math ${CCM_FIRST} + 0x6 -!define CCM_SETVERSION /math ${CCM_FIRST} + 0x7 ; IE5 -!define CCM_GETVERSION /math ${CCM_FIRST} + 0x8 -!define CCM_SETWINDOWTHEME /math ${CCM_FIRST} + 0xB ; WinXP -!define CCM_DPISCALE /math ${CCM_FIRST} + 0xC +!define /math CCM_SETBKCOLOR ${CCM_FIRST} + 0x1 ; IE4 +!define /math CCM_SETUNICODEFORMAT ${CCM_FIRST} + 0x5 +!define /math CCM_GETUNICODEFORMAT ${CCM_FIRST} + 0x6 +!define /math CCM_SETVERSION ${CCM_FIRST} + 0x7 ; IE5 +!define /math CCM_GETVERSION ${CCM_FIRST} + 0x8 +!define /math CCM_SETWINDOWTHEME ${CCM_FIRST} + 0xB ; WinXP +!define /math CCM_DPISCALE ${CCM_FIRST} + 0xC !define CCS_TOP 1 !define CCS_BOTTOM 3