aboutsummaryrefslogtreecommitdiff
path: root/xorg-server
diff options
context:
space:
mode:
authorMike DePaulo <mikedep333@gmail.com>2015-03-29 09:14:08 -0400
committerMike DePaulo <mikedep333@gmail.com>2015-03-29 09:14:08 -0400
commit087e0ed0b4cc4589cf2bd32ea95eea60773bb715 (patch)
tree8f8eb3a91d945a30d8a1475e45e1e337dda89bcb /xorg-server
parent926baf45390c2642c80823a4177dcf9d5928deef (diff)
downloadvcxsrv-087e0ed0b4cc4589cf2bd32ea95eea60773bb715.tar.gz
vcxsrv-087e0ed0b4cc4589cf2bd32ea95eea60773bb715.tar.bz2
vcxsrv-087e0ed0b4cc4589cf2bd32ea95eea60773bb715.zip
uninstaller: Remove the entire VcXsrv directory
(GitHub Issue #1)
Diffstat (limited to 'xorg-server')
-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 14341bf54..975c8174d 100644
--- a/xorg-server/installer/vcxsrv-64.nsi
+++ b/xorg-server/installer/vcxsrv-64.nsi
@@ -205,52 +205,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 889cf20b0..8ee07ca54 100644
--- a/xorg-server/installer/vcxsrv.nsi
+++ b/xorg-server/installer/vcxsrv.nsi
@@ -205,52 +205,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