Content deleted Content added
added information box |
No edit summary |
||
Line 12:
}}
'''Nullsoft Scriptable Install System (NSIS)''', is an [[open source|open-source]] ([[zlib-libpng license|zlib/libpng license]]), script-driven installation system with minimal overhead being backed by [[Nullsoft]], creators of [[Winamp]]. NSIS 1 is in many ways similar to the classic [[Microsoft Windows|Windows]] installer, but it is more easily scriptable and supports more compression formats. NSIS 2 has a new streamlined [[GUI]], supports [[LZMA]] compression, multiple languages and an easy plug-in system. The NSIS script compiler compiles on [[POSIX]] platforms
==History==
NSIS was created because of the need to distribute [[Winamp]]. It is based on PiMP (Plug-In Mini Packager), also a [[Nullsoft]] creation, and is also known as SuperPiMP. After version 2.0a0, the project was moved to [[SourceForge]] where developers outside of [[Nullsoft]] started working on it on a regular basis. After almost two years of alphas, betas and release candidates, NSIS 2.0 was released.
===POSIX===
2.01 was the first version to compile on [[POSIX]] platforms out of the box. This allows [[Cross-compilation|cross-compilation]] of [[Microsoft Windows|Windows]] installers on [[Linux]] and [[FreeBSD]] without the usage of [[WINE]]. Currently, the only supported hardware platform is [[x86]].
==Concepts==
===Script===
The NSIS compiler, makensis, compiles scripts into installers. Each line contains one command.
# example script
Name "Example1"
OutFile "example1.exe"
InstallDir $PROGRAMFILES\Example1
Page directory
Page instfiles
Section
SetOutPath $INSTDIR
File ..\makensis.exe
SectionEnd
===Modern UI===
[[Image:Nsis1.png|right|thumb|150px|NSIS 1.98]]
2.0 introduced a new optional streamlined [[GUI]] called Modern UI (MUI). The MUI has a wizard-like interface. It supports a welcome, finish page, language selection dialog, description area for components and greater customization options than the old GUI.
===Plug-ins===
NSIS can be extended with plug-ins that can communicate with the installer. They can be written in [[C]], [[C++]] and [[Delphi]] and can be used to perform installation tasks or extend the installer interface. You can use the plug-in with a single line of script code.
Several plug-ins come with the NSIS package allowing to display a splash screen, display a custom page, display an image on the background, download files from a website, perform mathematical operations, patching files and more.
Other plug-ins are available online. These include [[http://nsis.sourceforge.net/archive/viewpage.php?pageid=56 ZipDLL]] and [[http://homepage.hispeed.ch/py430/python/ Python plug-in]].
==Features==
*Very small overhead
*[[zlib]], [[bzip2]] and [[LZMA|lzma]] compression
*Script based
*Multilingual
*[[plug-in|Plug-ins]] support
*Script [[preprocessor]]
*[http://nsis.sourceforge.net/features/featurelist/ More...]
==External link==
Line 20 ⟶ 66:
*[http://sourceforge.net/projects/nsis NSIS SourceForge project page]
[[Category:Windows software]]
|