makensis(1)

makensis1

A program to create windows installers.

Usage

makensis [script.nsi] [-CMDHELP item] [-HDRINFO] [-LICENSE] [-VERSION] [-Vx] [-WX] [-Ofile] [-PAUSE] [-NOCONFIG] [-NOCD] [-INPUTCHARSET charset] [-PPO] [-SAFEPPO] [-Ddefine=value] [-Xscriptcmd]

Overview

This manual page documents briefly the makensis command.

This manual page was written for the Debian (TM) distribution because the original program does not have a manual page. Instead, it has documentation in the HTML format; see below.

makensis is a program that creates installer programs for Windows.

Options

Parameters are processed by order (-Ddef ins.nsi != ins.nsi -Ddef) for script file name, you can use - to read from the standard input. For a complete description, see the HTML files.

-Vx

Verbosity where x is 4=all, 3=no script, 2=no info, 1=no warnings, 0=none.

-WX

Treat warnings as errors

-Ofile

Specifies a text file to log compiler output (default is stdout).

-PAUSE

Pauses after execution.

-NOCONFIG

Disables inclusion of /etc/nsisconf.nsh.

-NOCD

Disable changing the current directory to that of the .nsi file.

-INPUTCHARSET charset

Specifies a specific codepage for files without a BOM. The following choice of charsets is supported: <ACP|OEM|CP#|UTF8|UTF16<LE|BE>>

-PPO

Run only the preprocessor and print the result to stdout.

-SAFEPPO

Same as -PPO but instructions like !appendfile or !system are not executed.

-Ddefine=value

Defines the symbol "define" for the script to [value].

-Xscriptcmd

Executes scriptcmd in the script (i.e. "-XOutFile poop.exe")

-CMDHELP item

Prints out help for 'item', or lists all commands.

-HDRINFO

Prints information about what options makensis was compiled with.

-LICENSE

Prints the makensis software license.

-VERSION

Prints the makensis version and exits.

Files

/etc/nsisconf.nsh

System wide configuration file.

~/.nsisconf.nsh

Per-user configuration file.

Releases

11 releases since Debian 3.1 (Sarge); the text changed 8 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7
  6. 8
  7. 9
  8. 10
  9. 11–13

-INPUTCHARSET since Debian 10 (Buster); -PPO since Debian 10 (Buster); -SAFEPPO since Debian 10 (Buster); -WX since Debian 10 (Buster).

Authors

Paul Wise <[email protected]>

This manual page was written initially by Paul Wise <[email protected]> for the Debian (TM) system.

Thomas Gaugler

updated the man page to reflect changes introduced with version 3.0.

From nsis 3.11-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.