MPNSIS-13 : The script "remove-shortcuts.nsh" can be used to remove shortcuts created in "startmenu-shortcuts.nsh" and "desktop-shortcuts.nsh".
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@468782 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
4f7d04c411
commit
d632ebba7f
4 files changed
+10
-4
No files matched your search
@@ -0,0 +1,3 @@
|
||||
; remove shortcuts, if any.
|
||||
Delete "$${PROJECT_STARTMENU_FOLDER}\*.*"
|
||||
RMDir "$${PROJECT_STARTMENU_FOLDER}"
|
||||
@@ -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 @@ Section "Uninstall"
|
||||
; 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
|
||||
|
||||
Reference in new issue
Block a user