×
DONATION REQUEST
IF YOU DO CARE ABOUT THIS WEBSITE AND ITS AUTHOR PLEASE MAKE A DONATION! FURTHER OPERATION OF THIS WEBSITE DEPENDS ONLY ON YOU AND YOUR FINANCIAL SUPPORT.
DEAR USER! DUE TO THE NEED TO PAY FOR THE HOSTING SERVICE AND DOMAIN MAINTENANCE I WOULD LIKE TO ASK YOU FOR YOUR FINANCIAL SUPPORT. IF YOU USE AND LIKE THE ULTIMATE FILE MANAGER PACKAGE, WINAMP TOOLS, WINAMP ICON PACKS, WINAMP COLOR THEMES, POLISH WINAMP TRANSLATION, POLISH NSIS DOCUMENTATION OR OTHER PROJECTS (HXD PL, INSTALL CREATOR PL, PATH MAKER PL, ICOFX PL) AVAILABLE ON THIS WEBSITE, DO NOT HESITATE AND MAKE A DONATION TO SUPPORT THE AUTHOR!
All of the projects that I develop are provided on my website free of charge with no intrusive ads or pop-ups. That will never change! However, maintaining the server and licensing fees generates some costs. If you would like to support my work, I would appreciate your recognition. Even a small donation is a large motivation to keep me working! You can use PayPal's secure online payment or make a direct payment to mBank using the information below.
PayPal System

Bank (mBank SA)
ACCOUNT NUMBER: 72 1140 2004 0000 3502 4316 0362
RECIPIENT: Paweł Porwisz (Katowice, Poland)
POSTSCRIPT: DONATION

PLUGINS

NSIS support plug-ins that can be called from the script. Plug-ins are DLL files written in C, C++, Delphi or another programming language and therefore provide a more powerful code base to NSIS.

A plug-in call looks like this:

DLLName::FunctionName "parameter number 1" "parameter number 2" "parameter number 3"

Every plug-in's function has its own requirements when it comes to parameters, some will require none, some will accept as many parameters as you want to send. Examples:

nsExec::ExecToLog '"${NSISDIR}\makensis.exe" /CMDHELP'
Pop $0 ; Process exit code or "error"
InstallOptions::dialog "$PLUGINSDIR\test.ini"
Pop $0 ; success/back/cancel/error
NSISdl::download http://download.nullsoft.com/winamp/client/winamp291_lite.exe $R0
Pop $0 ; "success" or a error code

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 Plugins folder under your NSIS directory and lists all of their available functions. You can use !addplugindir to tell NSIS to search in other directories too.

The NSIS distribution already includes many plug-ins. InstallOptions is a popular plug-in that allows you to create custom pages, in combination with the NSIS Page commands. The Startmenu plug-in provides a page that allows the user to choose a Start Menu folder. There are a lot of plug-ins for different purposes, take a look in the Docs folder for help files and examples.

You can find additional plug-ins online: NSIS Wiki.

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