Installer » Nullsoft Scriptable Install System (NSIS)

Nullsoft Scriptable Install System (NSIS)

Nullsoft Scriptable Install System (NSIS) is a script-driven Installer authoring tool for Microsoft Windows with minimal overhead backed by Nullsoft, the creators of Winamp. NSIS is released under a combination of free software licenses, primarily the zlib license. It has become a widely used alternative to commercial proprietary products.

Parameter

NCRC disables the CRC check, unless CRCCheck force was used in the script.
/S runs the installer or uninstaller silently
/D sets the default installation directory ($INSTDIR), overriding InstallDir and InstallDirRegKey. It must be the last parameter used in the command line and must not contain any quotes, even if the path contains spaces. Only absolute paths are supported.

Uninstaller Specific

_?= sets $INSTDIR. It also stops the uninstaller from copying itself to the temporary directory and running from there. It can be used along with ExecWait to wait for the uninstaller to finish. It must be the last parameter used in the command line and must not contain any quotes, even if the path contains spaces.

Return Codes

0 Normal execution (no error)
1 Installation aborted by user (cancel button)
2 Installation aborted by script