[easytag/wip/mingw-fixes] Use LOCALAPPDATA for NSIS user data uninstall



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

    Use LOCALAPPDATA for NSIS user data uninstall

 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]