[easytag/wip/mingw-fixes] Fix local data uninstall in NSIS installer



commit cf5a250effc38d0de52e7a946bb5b3ac34c84919
Author: David King <amigadave amigadave com>
Date:   Wed Feb 19 18:00:11 2014 +0000

    Fix local data uninstall in NSIS installer

 easytag-win32-installer.nsi.in |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/easytag-win32-installer.nsi.in b/easytag-win32-installer.nsi.in
index 130ef15..79285d6 100644
--- a/easytag-win32-installer.nsi.in
+++ b/easytag-win32-installer.nsi.in
@@ -452,8 +452,7 @@ Section Uninstall
              "Do you want to remove your personal settings?" IDYES deletesettings IDNO dontdeletesettings
   deletesettings:
     ; Get 'Application Data' user's directory
-    ReadRegStr $R0 HKCU "Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" "AppData"
-    RMDir /r "$R0\  PACKAGE_TARNAME@"
+    RMDir /r "${LOCALAPPDATA}\ PACKAGE_TARNAME@"
   dontdeletesettings:
 
   SetAutoClose true


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]