Rename PROJECT_DIST_DIR to PROJECT_DIST_BIN_DIR
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115639 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
958457b9e3
commit
4a3c93fba3
2 files changed
+3
-2
No files matched your search
@@ -43,7 +43,8 @@
|
||||
!define PROJECT_REG_UNINSTALL_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${pom.name} ${pom.version}"
|
||||
!define PROJECT_STARTMENU_FOLDER "$$SMPROGRAMS\${pom.organization}\${pom.name} ${pom.currentVersion}"
|
||||
!define PROJECT_VERSION "${pom.currentVersion}"
|
||||
!define PROJECT_DIST_DIR "${maven.dist.bin.assembly.dir}"
|
||||
!define PROJECT_DIST_BIN_DIR "${maven.dist.bin.assembly.dir}"
|
||||
!define PROJECT_DIST_DIR "${maven.dist.dir}"
|
||||
<j:set var="logo" value="${maven.nsis.logo}"/>
|
||||
<j:if test="${!empty(logo)}">
|
||||
<maven:makeAbsolutePath var="logo" basedir="${basedir}" path="${maven.nsis.logo}"/>
|
||||
|
||||
@@ -91,7 +91,7 @@ Section "$${PROJECT_NAME} v$${PROJECT_VERSION} Binaries"
|
||||
SetOutPath $$INSTDIR
|
||||
; Put files and directories there
|
||||
; the script will be run from a directory below Maven
|
||||
File /r "$${PROJECT_DIST_DIR}\*.*"
|
||||
File /r "$${PROJECT_DIST_BIN_DIR}\*.*"
|
||||
|
||||
; Write the installation path into the registry
|
||||
WriteRegStr HKLM "$${PROJECT_REG_KEY}" "Install_Dir" "$$INSTDIR"
|
||||
|
||||
Reference in new issue
Block a user