cosmetics changes....

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@534279 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
aheritier 2007-05-02 00:07:35 +00:00
parent 541ec24a9c
commit 3db1214e10

View File

@ -125,7 +125,7 @@ SectionEnd
<util:available file="${maven.nsis.src}/desktop-shortcuts.nsh">
; OPTIONAL Desktop Shortcut
Section "Create Desktop Shortcut"
Section "Create Desktop Shortcut(s)"
!include "desktop-shortcuts.nsh"
SectionEnd
</util:available>
@ -136,28 +136,22 @@ Section "Install Uninstaller"
WriteUninstaller "$$INSTDIR\Uninst.exe"
SectionEnd
; -------------------------------------------------------------- Maven Uninstaller
; -------------------------------------------------------------- Uninstaller
Section "Uninstall"
; remove registry keys
DeleteRegKey HKLM "$${PROJECT_REG_UNINSTALL_KEY}"
DeleteRegKey HKLM "$${PROJECT_REG_KEY}"
<util:available file="${maven.nsis.src}/registry-uninstall.nsh">
!include "registry-uninstall.nsh"
</util:available>
; remove files
DetailPrint "Remove files"
Delete $$INSTDIR\*.*
; MUST REMOVE UNINSTALLER, too
Delete $$INSTDIR\Uninst.exe
!include "remove-shortcuts.nsh"
; Recursively remove files and directories used
; this should also take care of the installer
RMDir /r "$$INSTDIR"
DetailPrint "Remove registry keys"
DeleteRegKey HKLM "$${PROJECT_REG_UNINSTALL_KEY}"
DeleteRegKey HKLM "$${PROJECT_REG_KEY}"
<util:available file="${maven.nsis.src}/registry-uninstall.nsh">
!include "registry-uninstall.nsh"
</util:available>
SectionEnd
; -------------------------------------------------------------- Add Images to the Installer / UnInstaller