You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ah...@apache.org on 2006/10/29 00:58:45 UTC
svn commit: r468782 - in /maven/maven-1/plugins/trunk/nsis:
src/plugin-resources/remove-shortcuts.nsh
src/plugin-resources/templates/setup.jelly xdocs/changes.xml
xdocs/customizing.xml
Author: aheritier
Date: Sat Oct 28 15:58:44 2006
New Revision: 468782
URL: http://svn.apache.org/viewvc?view=rev&rev=468782
Log:
MPNSIS-13 : The script "remove-shortcuts.nsh" can be used to remove shortcuts created in "startmenu-shortcuts.nsh" and "desktop-shortcuts.nsh".
Added:
maven/maven-1/plugins/trunk/nsis/src/plugin-resources/remove-shortcuts.nsh
Modified:
maven/maven-1/plugins/trunk/nsis/src/plugin-resources/templates/setup.jelly
maven/maven-1/plugins/trunk/nsis/xdocs/changes.xml
maven/maven-1/plugins/trunk/nsis/xdocs/customizing.xml
Added: maven/maven-1/plugins/trunk/nsis/src/plugin-resources/remove-shortcuts.nsh
URL: http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/nsis/src/plugin-resources/remove-shortcuts.nsh?view=auto&rev=468782
==============================================================================
--- maven/maven-1/plugins/trunk/nsis/src/plugin-resources/remove-shortcuts.nsh (added)
+++ maven/maven-1/plugins/trunk/nsis/src/plugin-resources/remove-shortcuts.nsh Sat Oct 28 15:58:44 2006
@@ -0,0 +1,3 @@
+ ; remove shortcuts, if any.
+ Delete "$${PROJECT_STARTMENU_FOLDER}\*.*"
+ RMDir "$${PROJECT_STARTMENU_FOLDER}"
\ No newline at end of file
Modified: maven/maven-1/plugins/trunk/nsis/src/plugin-resources/templates/setup.jelly
URL: http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/nsis/src/plugin-resources/templates/setup.jelly?view=diff&rev=468782&r1=468781&r2=468782
==============================================================================
--- maven/maven-1/plugins/trunk/nsis/src/plugin-resources/templates/setup.jelly (original)
+++ maven/maven-1/plugins/trunk/nsis/src/plugin-resources/templates/setup.jelly Sat Oct 28 15:58:44 2006
@@ -46,7 +46,7 @@
; macro to check if the jdk is installed
!include "JDK.nsh"
-; Fonctions to set/remove environment variables
+; Functions to set/remove environment variables
!include "Environment.nsh"
; include project specific details
@@ -152,9 +152,7 @@
; MUST REMOVE UNINSTALLER, too
Delete $$INSTDIR\Uninst.exe
- ; remove shortcuts, if any.
- Delete "$${PROJECT_STARTMENU_FOLDER}\*.*"
- RMDir "$${PROJECT_STARTMENU_FOLDER}"
+ !include "remove-shortcuts.nsh"
; Recursively remove files and directories used
; this should also take care of the installer
Modified: maven/maven-1/plugins/trunk/nsis/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/nsis/xdocs/changes.xml?view=diff&rev=468782&r1=468781&r2=468782
==============================================================================
--- maven/maven-1/plugins/trunk/nsis/xdocs/changes.xml (original)
+++ maven/maven-1/plugins/trunk/nsis/xdocs/changes.xml Sat Oct 28 15:58:44 2006
@@ -24,6 +24,7 @@
</properties>
<body>
<release version="2.1-SNAPSHOT" date="In SVN">
+ <action dev="aheritier" type="add" issue="MPNSIS-13">The script "remove-shortcuts.nsh" can be used to remove shortcuts created in "startmenu-shortcuts.nsh" and "desktop-shortcuts.nsh".</action>
<action dev="aheritier" type="update">Set compress options (force/lzma).</action>
<action dev="aheritier" type="update" issue="MPNSIS-12">NSIS plugin does not support silent uninstall. Remove the final dialog box.</action>
</release>
Modified: maven/maven-1/plugins/trunk/nsis/xdocs/customizing.xml
URL: http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/nsis/xdocs/customizing.xml?view=diff&rev=468782&r1=468781&r2=468782
==============================================================================
--- maven/maven-1/plugins/trunk/nsis/xdocs/customizing.xml (original)
+++ maven/maven-1/plugins/trunk/nsis/xdocs/customizing.xml Sat Oct 28 15:58:44 2006
@@ -161,6 +161,10 @@
<td>Allow customization of environment variables and registry entries to be removed on uninstall</td>
</tr>
<tr>
+ <td>remove-shortcuts.nsh</td>
+ <td>Allow customization of shortcuts deletion. The default script removes everything in ${PROJECT_STARTMENU_FOLDER}.</td>
+ </tr>
+ <tr>
<td>startmenu-shortcuts.nsh</td>
<td>Allow start menu shortcuts to be added</td>
</tr>