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.