A plug-in call looks like this:

    1. nsExec::ExecToLog '"${NSISDIR}\makensis.exe" /CMDHELP'
    2. InstallOptions::dialog "$PLUGINSDIR\test.ini"
    3. NSISdl::download http://download.nullsoft.com/winamp/client/winamp291_lite.exe $R0

    The plug-ins that NSIS knows of are listed at the top of the compiler output (verbose level 4). NSIS searches for plug-ins in the under your NSIS directory and lists all of their available functions. You can use !addplugindir to tell NSIS to search in other directories too.

    You can also create a plug-in yourself. C/C++ and Delphi header files are already available, see the for how to do this. Source code of included plug-ins can also be found in the source code package.