From e72b095e4c623c9d59497250d65eb11c568ba581 Mon Sep 17 00:00:00 2001 From: ramapcsx2 Date: Mon, 28 Mar 2011 22:05:10 +0000 Subject: [PATCH] Another bunch of installer fixes. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4503 96395faa-99c1-11dd-bbfe-3dabce05a288 --- nsis/SectionUninstaller.nsh | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/nsis/SectionUninstaller.nsh b/nsis/SectionUninstaller.nsh index 35839a8c8b..e1f33cd050 100644 --- a/nsis/SectionUninstaller.nsh +++ b/nsis/SectionUninstaller.nsh @@ -11,6 +11,7 @@ Section "Un.Exes and Plugins ${APP_NAME}" !insertmacro UNINSTALL.LOG_UNINSTALL "$INSTDIR" + ; nsis todo: Some legacy key? Check ; Remove registry keys (but only the ones related to the installer -- user options remain) DeleteRegKey HKLM "${INSTDIR_REG_KEY}" @@ -23,14 +24,20 @@ Section "Un.Exes and Plugins ${APP_NAME}" SectionEnd -Section "Un.Complete Registry Cleanup" +Section "Un.Complete Settings / Registry Cleanup" + ; nsis todo: Some legacy key? Check ; Kill the entire PCSX2 registry key! DeleteRegKey ${INSTDIR_REG_ROOT} Software\PCSX2 - ; Kill AppData/PCSX2 entry! - + ; Kill user options PCSX2 reg key + DeleteRegKey HKCU Software\PCSX2 + SetShellVarContext current + RMDir /r "$DOCUMENTS\PCSX2\inis\" + + ; nsis todo: is this still used? + ; Kill AppData/PCSX2 entry! StrCpy $0 $LOCALAPPDATA\PCSX2 Call un.DeleteDirIfEmpty StrCpy $0 $APPDATA\PCSX2