Installers

Products
App Store - logo
Fugu Games - logo
HyperBowl - logo
Twitter - logo
Facebook - logo
YouTube - logo
 

Installers

NSIS is an open-source Windows application installer builder provided by NullSoft. It is an alternative to commercial installer packages such as Installshield, Vise, and Wise. NSIS installers are implemented with script files that can be compiled via the NSIS GUI or on a command line. For the Mac, there is Iceberg, an alternative to MacOSX PackageMaker.

General-Purpose Template

Here is a script template that I've found sufficient for many applications. I typically create a separate .nsi file that defines the application-specific constants and then includes the general script, so I don't have to modify it. The script is also available on the NSIS archive.

Qube Template

For example, customize and compile this definition file, which includes the general script, an install file, and an uninstall file, to create an installer for games and applications developed with the Qube game engine.

Unity Template

For Unity Windows games, there is a Unity setup file, files list, and uninstaller script.

  1. Place the three scripts in directory that is adjacent to the build folder generated by Unity for your app.
  2. Edit setup.nsi with your company name, the app name, and optional properties like the installer screen and icon.
  3. Compile setup.nsi with NSIS

See Windows versions of Fugu Games for examples.

License

These scripts are provided under the same terms as NSIS, using the "zlib/libpng" license.

Copyright (c) 2004 Technicat, LLC

This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.

Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:

    1. The origin of this software must not be misrepresented; you
    must not claim that you wrote the original software. If you use
    this software in a product, an acknowledgment in the product
    documentation would be appreciated but is not required.

    2. Altered source versions must be plainly marked as such, and
    must not be misrepresented as being the original software.

    3. This notice may not be removed or altered from any source distribution.