diff --git a/Contrib/Modern UI 2/Pages.nsh b/Contrib/Modern UI 2/Pages.nsh index cf0cb510..2c8e2e42 100644 --- a/Contrib/Modern UI 2/Pages.nsh +++ b/Contrib/Modern UI 2/Pages.nsh @@ -10,6 +10,10 @@ Support code for all pages !macro MUI_PAGE_INIT + !ifdef MUI_INSERT + !warning "MUI_PAGE_* inserted after MUI_LANGUAGE" + !endif + ;Include interface settings in neccesary !insertmacro MUI_INTERFACE @@ -29,6 +33,10 @@ Support code for all pages !macro MUI_UNPAGE_INIT + !ifdef MUI_INSERT + !warning "MUI_UNPAGE_* inserted after MUI_LANGUAGE" + !endif + ;Include interface settings !insertmacro MUI_INTERFACE diff --git a/Contrib/Modern UI/System.nsh b/Contrib/Modern UI/System.nsh index 3317896e..d3bc3aa3 100644 --- a/Contrib/Modern UI/System.nsh +++ b/Contrib/Modern UI/System.nsh @@ -689,6 +689,10 @@ Var MUI_TEMP2 !macro MUI_PAGE_INIT + !ifdef MUI_INSERT + !warning "MUI_[UN]PAGE_* inserted after MUI_LANGUAGE" + !endif + !insertmacro MUI_INTERFACE !insertmacro MUI_DEFAULT MUI_PAGE_UNINSTALLER_PREFIX ""