Allow compilation of MUI "applications" that only use custom pages without triggering a helper warning
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6933 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
f6526a3d1e
commit
a8a53f6696
2 changed files with 6 additions and 2 deletions
|
@ -31,7 +31,9 @@ Localization
|
|||
!verbose push ${MUI_VERBOSE}
|
||||
|
||||
!ifndef MUI_PAGE_UNINSTALLER_PREFIX
|
||||
!warning "MUI_LANGUAGE[EX] should be inserted after the MUI_[UN]PAGE_* macros"
|
||||
!ifndef MUI_DISABLE_INSERT_LANGUAGE_AFTER_PAGES_WARNING ; Define this to avoid the warning if you only have custom pages
|
||||
!warning "MUI_LANGUAGE[EX] should be inserted after the MUI_[UN]PAGE_* macros"
|
||||
!endif
|
||||
!endif
|
||||
|
||||
!insertmacro MUI_INSERT
|
||||
|
|
|
@ -2100,7 +2100,9 @@ Var MUI_TEMP2
|
|||
|
||||
; 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"
|
||||
!ifndef MUI_DISABLE_INSERT_LANGUAGE_AFTER_PAGES_WARNING ; Define this to avoid the warning if you only have custom pages
|
||||
!warning "MUI_LANGUAGE should be inserted after the MUI_[UN]PAGE_* macros"
|
||||
!endif
|
||||
!endif
|
||||
|
||||
!insertmacro MUI_INSERT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue