From 78a657bf3d94441a04932e9e5d856fcf76477f74 Mon Sep 17 00:00:00 2001 From: joostverburg Date: Sun, 22 Sep 2002 10:01:04 +0000 Subject: [PATCH] test - added info about MUI_INSTALLOPTIONS_INIT git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1132 212acab6-be3b-0410-9dea-997c60f758d6 --- Examples/Modern UI/InstallOptions.nsi | 2 +- Examples/Modern UI/ModernUI.nsh | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Examples/Modern UI/InstallOptions.nsi b/Examples/Modern UI/InstallOptions.nsi index 58ca2db9..46c979c1 100644 --- a/Examples/Modern UI/InstallOptions.nsi +++ b/Examples/Modern UI/InstallOptions.nsi @@ -76,7 +76,7 @@ SectionEnd Function .onInit ;Init InstallOptions - !insertmacro MUI_INSTALLOPTIONS_INIT ;Call this when using no plugins + !insertmacro MUI_INSTALLOPTIONS_INIT ;Call this when using no plugins before using Install Options (init plugin system) !insertmacro MUI_INSTALLOPTIONS_EXTRACT "iniA.ini" !insertmacro MUI_INSTALLOPTIONS_EXTRACT "iniB.ini" diff --git a/Examples/Modern UI/ModernUI.nsh b/Examples/Modern UI/ModernUI.nsh index 34e28c8a..a8332768 100644 --- a/Examples/Modern UI/ModernUI.nsh +++ b/Examples/Modern UI/ModernUI.nsh @@ -198,14 +198,20 @@ !macroend +;INSTALL OPTIONS + !macro MUI_INSTALLOPTIONS_INIT + ;Init plugin system (call this when using no plugins before using InstallOptions) + Call Initialize_____Plugins !macroend !macro MUI_INSTALLOPTIONS_UNINIT + ;Init plugin system (call this when using no plugins before using InstallOptions) + Call un.Initialize_____Plugins !macroend