From 68094262adf7f6e05b8bf9ff5524ee5b974de310 Mon Sep 17 00:00:00 2001 From: kichik Date: Fri, 28 Sep 2007 18:05:12 +0000 Subject: [PATCH] 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 --- Contrib/Modern UI/System.nsh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Contrib/Modern UI/System.nsh b/Contrib/Modern UI/System.nsh index 6139251a..c24da38a 100644 --- a/Contrib/Modern UI/System.nsh +++ b/Contrib/Modern UI/System.nsh @@ -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