The Maven NSIS plugin allows to select different folders (using filesets), but the selection of directories which contains subdirectories causes the copy of all the files on the main directory.
A first solution is to add one fileset per subdirectory but if there are several subdirectories, it is not very efficient.
Moreover, the use of slashes ("/") for the output directories is ignored on Windows (for example, "java/bin" is interpreted as "javabin").
Last but not least, if the slashes ("/") are replaced by backslashes ("\") in the output directories, it causes several errors because the path is not recognized.
Fixed on branch: maven-nsis-plugin-0.2.0
Revision: 236
(http://mindtreeinsight.svn.sourceforge.net/viewvc/mindtreeinsight?view=rev&revision=236).
- Nested directories in a fileset are now generated nested inside the output directory of the installer.
This will be available from 0.2.0 release of the maven-nsis-plugin.
See
http://mindtreeinsight.wiki.sourceforge.net/RelPlan_maven-nsis-plugin_0.2.0
for release plan.