dion 2004/07/04 20:41:35
Modified: nsis/xdocs customizing.xml
Log:
More detail on the project.jelly template
Revision Changes Path
1.2 +25 -0 maven-plugins/nsis/xdocs/customizing.xml
Index: customizing.xml
===================================================================
RCS file: /home/cvs/maven-plugins/nsis/xdocs/customizing.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- customizing.xml 4 Jul 2004 14:47:25 -0000 1.1
+++ customizing.xml 5 Jul 2004 03:41:35 -0000 1.2
@@ -71,6 +71,31 @@
</ol>
</p>
<subsection name="project.jelly">
+ <p>
+ This template produces a file
(<code>${maven.build.dir}/project.nsi</code>)
+ which is included in the generated setup file.
+ </p>
+ <p>
+ The template makes available select values from the
<code>project.xml</code>
+ for use in the installation process as constants, i.e. using the NSIS
+ <code>!define</code> statement.
+ </p>
+ <table>
+ <tr><th>Constant</th> <th>Value</th></tr>
+ <tr><td>ORGANIZATION</td> <td>${pom.organization}</td></tr>
+ <tr><td>PROJECT_BUILD_DIR</td> <td>${maven.build.dir}</td></tr>
+ <tr><td>PROJECT_FINAL_NAME</td> <td>${maven.final.name}</td></tr>
+ <tr><td>PROJECT_LICENSE_FILE</td>
<td>${maven.license.licenseFile}</td></tr>
+ <tr><td>PROJECT_LICENSE_TEXT</td>
<td>${maven.nsis.license.text}</td></tr>
+ <tr><td>PROJECT_NAME</td> <td>${pom.name}</td></tr>
+ <tr><td>PROJECT_REG_KEY</td>
<td>SOFTWARE\${pom.organization}\${pom.name}\${pom.currentVersion}</td></tr>
+ <tr><td>PROJECT_REG_UNINSTALL_KEY</td>
<td>Software\Microsoft\Windows\CurrentVersion\Uninstall\${pom.name}
${pom.currentVersion}</td></tr>
+ <tr><td>PROJECT_STARTMENU_FOLDER</td>
<td>$$SMPROGRAMS\${pom.organization}\${pom.name} ${pom.currentVersion}</td></tr>
+ <tr><td>PROJECT_VERSION</td> <td>${pom.currentVersion}</td></tr>
+ <tr><td>PROJECT_DIST_BIN_DIR</td>
<td>${maven.dist.bin.assembly.dir}</td></tr>
+ <tr><td>PROJECT_DIST_DIR</td> <td>${maven.dist.dir}</td></tr>
+ <tr><td>PROJECT_LOGO</td> <td>${maven.nsis.logo}</td></tr>
+ </table>
</subsection>
<subsection name="setup.jelly">
</subsection>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]