From ece93249cbc55a678eee881145fca0be415f6406 Mon Sep 17 00:00:00 2001 From: joostverburg Date: Wed, 20 Nov 2002 14:18:41 +0000 Subject: [PATCH] InitPluginsDir fixes git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1794 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/Modern UI/System.nsh | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/Contrib/Modern UI/System.nsh b/Contrib/Modern UI/System.nsh index 5babe65d..8dcd2a36 100644 --- a/Contrib/Modern UI/System.nsh +++ b/Contrib/Modern UI/System.nsh @@ -479,10 +479,7 @@ !verbose 3 ;Init plugin system - !ifndef MUI_INSTALLOPTIONS_INITPLUGINS - !define MUI_INSTALLOPTIONS_INITPLUGINS - InitPluginsDir - !endif + InitPluginsDir File "/oname=$PLUGINSDIR\${FILE}" "${FILE}" @@ -495,10 +492,7 @@ !verbose 3 ;Init plugin system - !ifndef MUI_INSTALLOPTIONS_INITPLUGINS - !define MUI_INSTALLOPTIONS_INITPLUGINS - InitPluginsDir - !endif + InitPluginsDir File "/oname=$PLUGINSDIR\${FILENAME}" "${FILE}" @@ -511,10 +505,7 @@ !verbose 3 ;Init plugin system - !ifndef MUI_INSTALLOPTIONS_UNINITPLUGINS - !define MUI_INSTALLOPTIONS_UNINITPLUGINS - InitPluginsDir - !endif + InitPluginsDir File /oname=$PLUGINSDIR\${FILE} "${FILE}"