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:
parent
541ec24a9c
commit
3db1214e10
@ -125,7 +125,7 @@ SectionEnd
|
|||||||
|
|
||||||
<util:available file="${maven.nsis.src}/desktop-shortcuts.nsh">
|
<util:available file="${maven.nsis.src}/desktop-shortcuts.nsh">
|
||||||
; OPTIONAL Desktop Shortcut
|
; OPTIONAL Desktop Shortcut
|
||||||
Section "Create Desktop Shortcut"
|
Section "Create Desktop Shortcut(s)"
|
||||||
!include "desktop-shortcuts.nsh"
|
!include "desktop-shortcuts.nsh"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
</util:available>
|
</util:available>
|
||||||
@ -136,28 +136,22 @@ Section "Install Uninstaller"
|
|||||||
WriteUninstaller "$$INSTDIR\Uninst.exe"
|
WriteUninstaller "$$INSTDIR\Uninst.exe"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
; -------------------------------------------------------------- Maven Uninstaller
|
; -------------------------------------------------------------- Uninstaller
|
||||||
Section "Uninstall"
|
Section "Uninstall"
|
||||||
; remove registry keys
|
DetailPrint "Remove files"
|
||||||
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
|
|
||||||
Delete $$INSTDIR\*.*
|
Delete $$INSTDIR\*.*
|
||||||
|
|
||||||
; MUST REMOVE UNINSTALLER, too
|
; MUST REMOVE UNINSTALLER, too
|
||||||
Delete $$INSTDIR\Uninst.exe
|
Delete $$INSTDIR\Uninst.exe
|
||||||
|
|
||||||
!include "remove-shortcuts.nsh"
|
!include "remove-shortcuts.nsh"
|
||||||
|
|
||||||
; Recursively remove files and directories used
|
; Recursively remove files and directories used
|
||||||
; this should also take care of the installer
|
; this should also take care of the installer
|
||||||
RMDir /r "$$INSTDIR"
|
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
|
SectionEnd
|
||||||
|
|
||||||
; -------------------------------------------------------------- Add Images to the Installer / UnInstaller
|
; -------------------------------------------------------------- Add Images to the Installer / UnInstaller
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user