Debian Codegraph @

debian/makensis.xml

raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <?xml-stylesheet type="text/xsl"
3 href="http://docbook.sourceforge.net/release/xsl-ns/current/manpages/docbook.xsl"?>
4 <!DOCTYPE refentry [
5 <!ENTITY firstname "Paul">
6 <!ENTITY surname "Wise">
7 <!ENTITY date "August 13, 2016">
8 <!ENTITY section "1">
9 <!ENTITY email "[email protected]">
10 <!ENTITY username "Paul Wise">
11 <!ENTITY ucpackage "NSIS">
12 <!ENTITY package "makensis">
13 <!ENTITY debian "Debian (TM)">
14 <!ENTITY coauthor "Thomas Gaugler">
15 <!ENTITY coauthor_firstname "Thomas">
16 <!ENTITY coauthor_surname "Gaugler">
17 ]>
18
19 <refentry xmlns="http://docbook.org/ns/docbook" version="5.0" xml:lang="en">
20 <info>
21 <productname>&package; manual</productname>
22 <address>
23 <email>&email;</email>
24 </address>
25 <authorgroup>
26 <author>
27 <personname>
28 <firstname>&firstname;</firstname>
29 <surname>&surname;</surname>
30 </personname>
31 <contrib>This manual page was written initially by &username;
32 <email>&email;</email> for the &debian; system.
33 </contrib>
34 </author>
35 <author>
36 <personname>
37 <firstname>&coauthor_firstname;</firstname>
38 <surname>&coauthor_surname;</surname>
39 </personname>
40 <contrib>updated the man page to reflect changes introduced with
41 version 3.0.
42 </contrib>
43 </author>
44 </authorgroup>
45 <copyright>
46 <year>2005-2016</year>
47 <holder>&username;</holder>
48 <holder>&coauthor;</holder>
49 </copyright>
50 <date>&date;</date>
51 </info>
52 <refmeta>
53 <refentrytitle>&ucpackage;</refentrytitle>
54 <manvolnum>&section;</manvolnum>
55 <refmiscinfo class="manual">&package; manual</refmiscinfo>
56 </refmeta>
57 <refnamediv>
58 <refname>&package;</refname>
59 <refpurpose>A program to create Windows installers.</refpurpose>
60 </refnamediv>
61 <refsynopsisdiv>
62 <cmdsynopsis>
63 <command>&package;</command>
64 <arg><option><replaceable>script.nsi</replaceable></option></arg>
65 <arg><option>-CMDHELP <replaceable>item</replaceable></option></arg>
66 <arg><option>-HDRINFO</option></arg>
67 <arg><option>-LICENSE</option></arg>
68 <arg><option>-VERSION</option></arg>
69 <arg><option>-V<replaceable>x</replaceable></option></arg>
70 <arg><option>-WX</option></arg>
71 <arg><option>-O<replaceable>file</replaceable></option></arg>
72 <arg><option>-PAUSE</option></arg>
73 <arg><option>-NOCONFIG</option></arg>
74 <arg><option>-NOCD</option></arg>
75 <arg><option>-INPUTCHARSET <replaceable>charset</replaceable></option></arg>
76 <arg><option>-PPO</option></arg>
77 <arg><option>-SAFEPPO</option></arg>
78 <arg><option>-D<replaceable>define</replaceable>=<replaceable>value</replaceable></option></arg>
79 <arg><option>-X<replaceable>scriptcmd</replaceable></option></arg>
80 </cmdsynopsis>
81 </refsynopsisdiv>
82 <refsect1>
83 <title>DESCRIPTION</title>
84 <para>This manual page documents briefly the
85 <command>&package;</command> command.</para>
86 <para>This manual page was written for the &debian; distribution
87 because the original program does not have a manual page.
88 Instead, it has documentation in the HTML format; see below.</para>
89 <para><command>&package;</command> is a program that creates installer programs for Windows.</para>
90 </refsect1>
91 <refsect1>
92 <title>OPTIONS</title>
93 <para>Parameters are processed by order (-Ddef ins.nsi != ins.nsi -Ddef)
94 for script file name, you can use - to read from the standard input.
95 For a complete description, see the HTML files.</para>
96 <variablelist>
97 <varlistentry>
98 <term><option>-V<replaceable>x</replaceable></option></term>
99 <listitem>
100 <para>Verbosity where x is 4=all, 3=no script, 2=no info, 1=no warnings, 0=none.</para>
101 </listitem>
102 </varlistentry>
103 <varlistentry>
104 <term><option>-WX</option></term>
105 <listitem>
106 <para>Treat warnings as errors</para>
107 </listitem>
108 </varlistentry>
109 <varlistentry>
110 <term><option>-O<replaceable>file</replaceable></option></term>
111 <listitem>
112 <para>Specifies a text file to log compiler output (default is stdout).</para>
113 </listitem>
114 </varlistentry>
115 <varlistentry>
116 <term><option>-PAUSE</option></term>
117 <listitem>
118 <para>Pauses after execution.</para>
119 </listitem>
120 </varlistentry>
121 <varlistentry>
122 <term><option>-NOCONFIG</option></term>
123 <listitem>
124 <para>Disables inclusion of /etc/nsisconf.nsh.</para>
125 </listitem>
126 </varlistentry>
127 <varlistentry>
128 <term><option>-NOCD</option></term>
129 <listitem>
130 <para>Disable changing the current directory to that of the .nsi file.</para>
131 </listitem>
132 </varlistentry>
133 <varlistentry>
134 <term><option>-INPUTCHARSET <replaceable>charset</replaceable></option></term>
135 <listitem>
136 <para>Specifies a specific codepage for files without a BOM. The following choice of charsets is supported: &lt;ACP|OEM|CP#|UTF8|UTF16&lt;LE|BE&gt;&gt;</para>
137 </listitem>
138 </varlistentry>
139 <varlistentry>
140 <term><option>-PPO</option></term>
141 <listitem>
142 <para>Run only the preprocessor and print the result to stdout.</para>
143 </listitem>
144 </varlistentry>
145 <varlistentry>
146 <term><option>-SAFEPPO</option></term>
147 <listitem>
148 <para>Same as -PPO but instructions like !appendfile or !system are not executed.</para>
149 </listitem>
150 </varlistentry>
151 <varlistentry>
152 <term><option>-D<replaceable>define</replaceable>=<replaceable>value</replaceable></option></term>
153 <listitem>
154 <para>Defines the symbol "define" for the script to [value].</para>
155 </listitem>
156 </varlistentry>
157 <varlistentry>
158 <term><option>-X<replaceable>scriptcmd</replaceable></option></term>
159 <listitem>
160 <para>Executes scriptcmd in the script (i.e. "-XOutFile poop.exe")</para>
161 </listitem>
162 </varlistentry>
163 <varlistentry>
164 <term><option>-CMDHELP <replaceable>item</replaceable></option></term>
165 <listitem>
166 <para>Prints out help for 'item', or lists all commands.</para>
167 </listitem>
168 </varlistentry>
169 <varlistentry>
170 <term><option>-HDRINFO</option></term>
171 <listitem>
172 <para>Prints information about what options makensis was compiled with.</para>
173 </listitem>
174 </varlistentry>
175 <varlistentry>
176 <term><option>-LICENSE</option></term>
177 <listitem>
178 <para>Prints the makensis software license.</para>
179 </listitem>
180 </varlistentry>
181 <varlistentry>
182 <term><option>-VERSION</option></term>
183 <listitem>
184 <para>Prints the makensis version and exits.</para>
185 </listitem>
186 </varlistentry>
187 </variablelist>
188 </refsect1>
189 <refsect1>
190 <title>FILES</title>
191 <variablelist>
192 <varlistentry>
193 <term>/etc/nsisconf.nsh</term>
194 <listitem>
195 <para>System wide configuration file.</para>
196 </listitem>
197 </varlistentry>
198 <varlistentry>
199 <term>~/.nsisconf.nsh</term>
200 <listitem>
201 <para>Per-user configuration file.</para>
202 </listitem>
203 </varlistentry>
204 </variablelist>
205 </refsect1>
206 <refsect1>
207 <title>SEE ALSO</title>
208 <para>NSIS is documented more fully in the HTML files in
209 /usr/share/doc/nsis/Docs.</para>
210 </refsect1>
211 </refentry>