Warn if MUI_PAGE_* is inserted after MUI_LANGUAGE

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6300 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2013-03-14 22:14:23 +00:00
parent 68d42b02da
commit 7e6db0aa39
2 changed files with 12 additions and 0 deletions

View file

@ -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

View file

@ -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 ""