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