From 2fbc9791364ea29159622be58be0ad3f4d4d0376 Mon Sep 17 00:00:00 2001 From: sledgehammer999 Date: Sun, 13 Jan 2013 17:51:22 +0200 Subject: [PATCH] Remove qBittorrent Start Menu folder when uninstalling. Partially fixes #291. --- src/windows/qbittorrent.nsi | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/windows/qbittorrent.nsi b/src/windows/qbittorrent.nsi index c2b7c4724..ce880460d 100644 --- a/src/windows/qbittorrent.nsi +++ b/src/windows/qbittorrent.nsi @@ -279,16 +279,15 @@ Section "un.Remove files" Delete "$INSTDIR\translations\qt_zh_TW.qm" Delete "$INSTDIR\uninst.exe" - ; Remove directories used - RMDir "$SMPROGRAMS\qBittorrent" - RMDir "$INSTDIR\translations" + ; Remove directories used + RMDir /r "$INSTDIR\translations" RMDir "$INSTDIR" SectionEnd Section "un.Remove shortcuts" SectionIn RO ; Remove shortcuts, if any - Delete "$SMPROGRAMS\qBittorrent\*.*" + RMDir /r "$SMPROGRAMS\qBittorrent" Delete "$DESKTOP\qBittorrent.lnk" SectionEnd