From 6ce7ef7dc79fdebcb41abb5954df47f2d6ff8376 Mon Sep 17 00:00:00 2001 From: kichik Date: Fri, 15 Nov 2002 20:28:17 +0000 Subject: [PATCH] SetPluginUnload and warning about last plugin call with /NOUNLOAD git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1750 212acab6-be3b-0410-9dea-997c60f758d6 --- Docs/src/plugin.but | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Docs/src/plugin.but b/Docs/src/plugin.but index 1bdb1490..21af81f0 100644 --- a/Docs/src/plugin.but +++ b/Docs/src/plugin.but @@ -27,3 +27,5 @@ InstallOptions needs the name of it's ini file as a parameter to the dialog func CallInstDLL has an option not to unload the DLL after usage. To use it with the newer plugin command syntax just specify the first parameter as /NOUNLOAD. For example: \c InstallOptions::dialog /NOUNLOAD "ini_file_location.ini" + +You can also use SetPluginUnload alawysoff (See \k{setpluginunload}) to avoid writing /NOUNLOAD each and every time you use the same plugin. Please note that the last call to the plugin must not have the /NOUNLOAD flag or the plugin will not be deleted from $PLUGINSDIR, thus keeping garbage on the user's machine. \ No newline at end of file