The process of creating an installer from your ${maven.nsis.build.dir}
using the plugin is as follows:
nsis
, or nsis:installer
goal.
nsis:generate-project
goal, which creates
a file, ${maven.build.dir}/project.nsh
. This file contains
details from your project.xml file as constants so they are available
for during the NSIS compilation step. The file is generated from a jelly
template specified by the ${maven.nsis.project.template}
variable. See the properties documentation
for more information on the defaults for this variable.
nsis:generate-setup
goal is called, which creates
a file, ${maven.build.dir}/setup.nsi
. This file is later
the file passed to the NSIS executable compiler, makensis.exe
.
This file is generated from a jelly template specified by the
${maven.nsis.setup.template}
variable. See the
properties documentation
for more information on the defaults for this variable.
makensis.exe
is called to compile to generated
setup.nsi file.