Another bunch of installer fixes.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4503 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
ramapcsx2 2011-03-28 22:05:10 +00:00
parent e30f281894
commit e72b095e4c
1 changed files with 10 additions and 3 deletions

View File

@ -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