add Nsis2Io only when it's really needed to avoid unused function warnings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5286 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
7b0674b7f5
commit
68094262ad
1 changed files with 3 additions and 2 deletions
|
@ -51,7 +51,7 @@ Var MUI_TEMP2
|
|||
!insertmacro MUI_FUNCTION_GUIINIT
|
||||
!insertmacro MUI_FUNCTION_ABORTWARNING
|
||||
|
||||
!ifdef MUI_WELCOMEPAGE | MUI_FINISHPAGE
|
||||
!ifdef MUI_IOCONVERT_USED
|
||||
!insertmacro INSTALLOPTIONS_FUNCTION_WRITE_CONVERT
|
||||
!endif
|
||||
|
||||
|
@ -59,7 +59,7 @@ Var MUI_TEMP2
|
|||
!insertmacro MUI_UNFUNCTION_GUIINIT
|
||||
!insertmacro MUI_FUNCTION_UNABORTWARNING
|
||||
|
||||
!ifdef MUI_UNWELCOMEPAGE | MUI_UNFINISHPAGE
|
||||
!ifdef MUI_UNIOCONVERT_USED
|
||||
!insertmacro INSTALLOPTIONS_UNFUNCTION_WRITE_CONVERT
|
||||
!endif
|
||||
!endif
|
||||
|
@ -84,6 +84,7 @@ Var MUI_TEMP2
|
|||
!ifndef "${SYMBOL}"
|
||||
!define "${SYMBOL}" "${CONTENT}"
|
||||
!insertmacro MUI_SET "${SYMBOL}_DEFAULTSET"
|
||||
!insertmacro MUI_SET "MUI_${MUI_PAGE_UNINSTALLER_PREFIX}IOCONVERT_USED"
|
||||
!else
|
||||
!insertmacro MUI_UNSET "${SYMBOL}_DEFAULTSET"
|
||||
!endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue