From d375e42f2ce8613eb1872161427a5256c4e90fcf Mon Sep 17 00:00:00 2001 From: aheritier Date: Wed, 25 Oct 2006 02:54:53 +0000 Subject: [PATCH] Begin to work on version 2.1-SNAPSHOT MPNSIS-14 : Set environment variables in system scope instead of user scope. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@467542 13f79535-47bb-0310-9956-ffa450edef68 --- nsis/project.xml | 2 +- nsis/src/plugin-resources/templates/setup.jelly | 2 ++ nsis/xdocs/changes.xml | 3 +++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/nsis/project.xml b/nsis/project.xml index e6e0e5bc..868fefbc 100644 --- a/nsis/project.xml +++ b/nsis/project.xml @@ -22,7 +22,7 @@ 3 Maven NSIS Plugin maven-nsis-plugin - 2.0 + 2.1-SNAPSHOT A plugin to generate Win32 installer programs using NSIS NSIS Plugin for Maven diff --git a/nsis/src/plugin-resources/templates/setup.jelly b/nsis/src/plugin-resources/templates/setup.jelly index d4a68e6c..627b326f 100644 --- a/nsis/src/plugin-resources/templates/setup.jelly +++ b/nsis/src/plugin-resources/templates/setup.jelly @@ -42,6 +42,8 @@ ; macro for the image on the install screen !include "BrandingImage.nsh" !include "JDK.nsh" +; register environment variables in the system scope +!define ALL_USERS !include "Environment.nsh" ; include project specific details diff --git a/nsis/xdocs/changes.xml b/nsis/xdocs/changes.xml index 94471762..21033a40 100644 --- a/nsis/xdocs/changes.xml +++ b/nsis/xdocs/changes.xml @@ -23,6 +23,9 @@ Brett Porter + + Set environment variables in system scope instead of user scope. + Use maven.nsis.build.dir instead of maven.dist.assembly.dir. Fail when makensis fails.