Fix for MPNSIS-2. Create .exe in distributions directory.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115643 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
300e7ebb89
commit
2e29f9df81
@ -38,7 +38,7 @@
|
||||
|
||||
<goal name="nsis:generate-project"
|
||||
description="Generate NSIS project.nsh file">
|
||||
|
||||
<maven:get var="maven.dist.bin.assembly.dir" plugin="maven-dist-plugin" property="maven.dist.bin.assembly.dir"/>
|
||||
<maven:param-check value="${maven.dist.bin.assembly.dir}" fail="true"
|
||||
message="'maven.dist.bin.assembly.dir' must be specified. It is the directory containing files to be placed in the installer"/>
|
||||
|
||||
@ -77,6 +77,8 @@
|
||||
|
||||
<j:set var="script" value="${maven.build.dir}/setup.nsi"/>
|
||||
|
||||
<maven:get var="maven.dist.dir" plugin="maven-dist-plugin" property="maven.dist.dir"/>
|
||||
<mkdir dir="${maven.dist.dir}"/>
|
||||
<!-- call makensis.exe with the setup.nsi file -->
|
||||
<ant:exec executable="${maven.nsis.exe}">
|
||||
<arg value="/V2"/>
|
||||
|
||||
@ -54,7 +54,7 @@ CRCCheck on
|
||||
Name "$${PROJECT_NAME}"
|
||||
|
||||
; Maven Setup executable
|
||||
OutFile "$${PROJECT_BUILD_DIR}\$${PROJECT_FINAL_NAME}.exe"
|
||||
OutFile "$${PROJECT_DIST_DIR}\$${PROJECT_FINAL_NAME}.exe"
|
||||
|
||||
; Adds an XP manifest to the installer
|
||||
XPStyle on
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user