This tag is used for questions about the open source Nullsoft Scriptable Install System (NSIS) setup generator.
Details
Being a user's first experience with your product, a stable and reliable installer is an important component of succesful software. With NSIS you can create such installers that are capable of doing everything that is needed to setup your software.
NSIS is script-based and allows you to create the logic to handle even the most complex installation tasks. Many plug-ins and scripts are already available: you can create web installers, communicate with Windows and other software components, install or update shared components and more
Getting Started
IDE
- NSIS has an eclipse plugin
- Another open source editor.HM NIS EDIT. : Even has a small wizard allowing quick setup template.
Plugins
NSIS comes with a variety of plugins
Plugins are usually one .dll
file and an .nsh
file. To Install Plugins you need to copy the dll
to C:\Program Files\NSIS\Plugins and the nsh
file to C:\Program Files\NSIS\Include
See : How do I install a Plugin
Useful Plugins
- Dotnet Plugin
- Get Windows Version (this one is much more verbose and gets Service Pack Details)
- UAC Plugin
- DumpLog (Creates a log file out of the details printed)
Tips
You can use the the LogicLib which comes as part of the installation to use
if
conditions in your script (this is not directly available). All you need to do is:!include 'LogicLib.nsh'
And then:
# ... ${If} $0 == "hello" DetailPrint "world" ${Endif}