mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
e30f281894
commit
e72b095e4c
|
@ -11,6 +11,7 @@ Section "Un.Exes and Plugins ${APP_NAME}"
|
||||||
|
|
||||||
!insertmacro UNINSTALL.LOG_UNINSTALL "$INSTDIR"
|
!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)
|
; Remove registry keys (but only the ones related to the installer -- user options remain)
|
||||||
DeleteRegKey HKLM "${INSTDIR_REG_KEY}"
|
DeleteRegKey HKLM "${INSTDIR_REG_KEY}"
|
||||||
|
|
||||||
|
@ -23,14 +24,20 @@ Section "Un.Exes and Plugins ${APP_NAME}"
|
||||||
|
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section "Un.Complete Registry Cleanup"
|
Section "Un.Complete Settings / Registry Cleanup"
|
||||||
|
|
||||||
|
; nsis todo: Some legacy key? Check
|
||||||
; Kill the entire PCSX2 registry key!
|
; Kill the entire PCSX2 registry key!
|
||||||
DeleteRegKey ${INSTDIR_REG_ROOT} Software\PCSX2
|
DeleteRegKey ${INSTDIR_REG_ROOT} Software\PCSX2
|
||||||
|
|
||||||
; Kill AppData/PCSX2 entry!
|
; Kill user options PCSX2 reg key
|
||||||
|
DeleteRegKey HKCU Software\PCSX2
|
||||||
|
|
||||||
SetShellVarContext current
|
SetShellVarContext current
|
||||||
|
RMDir /r "$DOCUMENTS\PCSX2\inis\"
|
||||||
|
|
||||||
|
; nsis todo: is this still used?
|
||||||
|
; Kill AppData/PCSX2 entry!
|
||||||
StrCpy $0 $LOCALAPPDATA\PCSX2
|
StrCpy $0 $LOCALAPPDATA\PCSX2
|
||||||
Call un.DeleteDirIfEmpty
|
Call un.DeleteDirIfEmpty
|
||||||
StrCpy $0 $APPDATA\PCSX2
|
StrCpy $0 $APPDATA\PCSX2
|
||||||
|
|
Loading…
Reference in New Issue