aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike DePaulo <mikedep333@gmail.com>2015-03-29 09:14:08 -0400
committerMike DePaulo <mikedep333@gmail.com>2015-05-09 20:33:29 -0400
commit025581a0d6c5d6f14245be76932b560bff90016f (patch)
tree95f34a7ae66425ee9096ef3243de7e10efa834f7
parent2ba893adb4f60930d2f897d233d53a04b53f324e (diff)
downloadvcxsrv-025581a0d6c5d6f14245be76932b560bff90016f.tar.gz
vcxsrv-025581a0d6c5d6f14245be76932b560bff90016f.tar.bz2
vcxsrv-025581a0d6c5d6f14245be76932b560bff90016f.zip
uninstaller: Remove the entire VcXsrv directory
(GitHub Issue #1) Conflicts: releasenotes/releasenote_1.15.2.5.txt
-rw-r--r--xorg-server/installer/vcxsrv-64.nsi45
-rw-r--r--xorg-server/installer/vcxsrv.nsi45
2 files changed, 4 insertions, 86 deletions
diff --git a/xorg-server/installer/vcxsrv-64.nsi b/xorg-server/installer/vcxsrv-64.nsi
index 4dc69c810..e7df70449 100644
--- a/xorg-server/installer/vcxsrv-64.nsi
+++ b/xorg-server/installer/vcxsrv-64.nsi
@@ -220,52 +220,11 @@ Section "Uninstall"
DeleteRegKey HKCR "Applications\xlaunch.exe"
; Remove files and uninstaller
- Delete "$INSTDIR\vcxsrv.exe"
- Delete "$INSTDIR\uninstall.exe"
- Delete "$INSTDIR\protocol.txt"
- Delete "$INSTDIR\system.XWinrc"
- Delete "$INSTDIR\xkbcomp.exe"
- Delete "$INSTDIR\xcalc.exe"
- Delete "$INSTDIR\xcalc"
- Delete "$INSTDIR\xcalc-color"
- Delete "$INSTDIR\xclock.exe"
- Delete "$INSTDIR\xclock"
- Delete "$INSTDIR\xclock-color"
- Delete "$INSTDIR\xwininfo.exe"
- Delete "$INSTDIR\XKeysymDB"
- Delete "$INSTDIR\XErrorDB"
- Delete "$INSTDIR\Xcms.txt"
- Delete "$INSTDIR\XtErrorDB"
- Delete "$INSTDIR\.Xdefaults"
- Delete "$INSTDIR\xlaunch.exe"
- Delete "$INSTDIR\plink.exe"
- Delete "$INSTDIR\swrast_dri.dll"
- Delete "$INSTDIR\dxtn.dll"
- Delete "$INSTDIR\swrastwgl_dri.dll"
- Delete "$INSTDIR\libxcb.dll"
- Delete "$INSTDIR\libXau.dll"
- Delete "$INSTDIR\libX11.dll"
- Delete "$INSTDIR\libXext.dll"
- Delete "$INSTDIR\libXmu.dll"
- Delete "$INSTDIR\libxml2.dll"
- Delete "$INSTDIR\zlib1.dll"
- Delete "$INSTDIR\iconv.dll"
- Delete "$INSTDIR\msvcr120.dll"
- Delete "$INSTDIR\msvcp120.dll"
- Delete "$INSTDIR\msvcr120d.dll"
- Delete "$INSTDIR\msvcp120d.dll"
-
- RMDir /r "$INSTDIR\fonts"
- RMDir /r "$INSTDIR\xkbdata"
- RMDir /r "$INSTDIR\locale"
+ RMDir /r "$INSTDIR"
; Remove shortcuts, if any
- Delete "$SMPROGRAMS\VcXsrv\*.*"
+ RMDir /r "$SMPROGRAMS\VcXsrv"
Delete "$DESKTOP\VcXsrv.lnk"
Delete "$DESKTOP\XLaunch.lnk"
- ; Remove directories used
- RMDir "$SMPROGRAMS\VcXsrv"
- RMDir "$INSTDIR"
-
SectionEnd
diff --git a/xorg-server/installer/vcxsrv.nsi b/xorg-server/installer/vcxsrv.nsi
index 1281cfa7c..09d461337 100644
--- a/xorg-server/installer/vcxsrv.nsi
+++ b/xorg-server/installer/vcxsrv.nsi
@@ -220,52 +220,11 @@ Section "Uninstall"
DeleteRegKey HKCR "Applications\xlaunch.exe"
; Remove files and uninstaller
- Delete "$INSTDIR\vcxsrv.exe"
- Delete "$INSTDIR\uninstall.exe"
- Delete "$INSTDIR\protocol.txt"
- Delete "$INSTDIR\system.XWinrc"
- Delete "$INSTDIR\xkbcomp.exe"
- Delete "$INSTDIR\xcalc.exe"
- Delete "$INSTDIR\xcalc"
- Delete "$INSTDIR\xcalc-color"
- Delete "$INSTDIR\xclock.exe"
- Delete "$INSTDIR\xclock"
- Delete "$INSTDIR\xclock-color"
- Delete "$INSTDIR\xwininfo.exe"
- Delete "$INSTDIR\XKeysymDB"
- Delete "$INSTDIR\XErrorDB"
- Delete "$INSTDIR\Xcms.txt"
- Delete "$INSTDIR\XtErrorDB"
- Delete "$INSTDIR\.Xdefaults"
- Delete "$INSTDIR\xlaunch.exe"
- Delete "$INSTDIR\plink.exe"
- Delete "$INSTDIR\swrast_dri.dll"
- Delete "$INSTDIR\dxtn.dll"
- Delete "$INSTDIR\swrastwgl_dri.dll"
- Delete "$INSTDIR\libxcb.dll"
- Delete "$INSTDIR\libXau.dll"
- Delete "$INSTDIR\libX11.dll"
- Delete "$INSTDIR\libXext.dll"
- Delete "$INSTDIR\libXmu.dll"
- Delete "$INSTDIR\libxml2.dll"
- Delete "$INSTDIR\zlib1.dll"
- Delete "$INSTDIR\iconv.dll"
- Delete "$INSTDIR\msvcr120.dll"
- Delete "$INSTDIR\msvcp120.dll"
- Delete "$INSTDIR\msvcr120d.dll"
- Delete "$INSTDIR\msvcp120d.dll"
-
- RMDir /r "$INSTDIR\fonts"
- RMDir /r "$INSTDIR\xkbdata"
- RMDir /r "$INSTDIR\locale"
+ RMDir /r "$INSTDIR"
; Remove shortcuts, if any
- Delete "$SMPROGRAMS\VcXsrv\*.*"
+ RMDir /r "$SMPROGRAMS\VcXsrv"
Delete "$DESKTOP\VcXsrv.lnk"
Delete "$DESKTOP\XLaunch.lnk"
- ; Remove directories used
- RMDir "$SMPROGRAMS\VcXsrv"
- RMDir "$INSTDIR"
-
SectionEnd