2010-05-29 16:24:26 +00:00
|
|
|
; =======================================================================
|
|
|
|
; Un.Installer Sections
|
|
|
|
; =======================================================================
|
|
|
|
; (currently web and main installers share the same uninstaller behavior. This
|
|
|
|
; may change in the future, though I doubt it.)
|
|
|
|
|
|
|
|
; -----------------------------------------------------------------------
|
2011-03-29 17:55:48 +00:00
|
|
|
Section "Un.Program and Plugins ${APP_NAME}"
|
2010-05-29 16:24:26 +00:00
|
|
|
|
|
|
|
SetShellVarContext all
|
|
|
|
|
|
|
|
!insertmacro UNINSTALL.LOG_UNINSTALL "$INSTDIR"
|
|
|
|
|
2011-03-29 17:55:48 +00:00
|
|
|
; Remove uninstaller info reg key ( Wow6432Node on 64bit Windows! )
|
2010-05-29 16:24:26 +00:00
|
|
|
DeleteRegKey HKLM "${INSTDIR_REG_KEY}"
|
|
|
|
|
|
|
|
Call un.removeShorties
|
|
|
|
|
|
|
|
!insertmacro UNINSTALL.LOG_UNINSTALL "$INSTDIR\Langs"
|
|
|
|
!insertmacro UNINSTALL.LOG_UNINSTALL "$INSTDIR\Plugins"
|
|
|
|
!insertmacro UNINSTALL.LOG_UNINSTALL "$INSTDIR\Docs"
|
2010-09-28 22:02:42 +00:00
|
|
|
!insertmacro UNINSTALL.LOG_UNINSTALL "$INSTDIR\Cheats"
|
2011-03-29 17:55:48 +00:00
|
|
|
|
|
|
|
; Remove files and registry key that store PCSX2 paths configurations
|
|
|
|
SetShellVarContext current
|
|
|
|
Delete $DOCUMENTS\PCSX2\inis\PCSX2_ui.ini
|
|
|
|
DeleteRegKey HKCU Software\PCSX2
|
2010-05-29 16:24:26 +00:00
|
|
|
|
|
|
|
SectionEnd
|
|
|
|
|
2011-03-29 17:55:48 +00:00
|
|
|
; /o for optional and unticked by default
|
|
|
|
Section /o "Un.Program and Plugin configuration files"
|
2011-03-28 22:05:10 +00:00
|
|
|
|
2010-05-29 16:24:26 +00:00
|
|
|
SetShellVarContext current
|
2011-03-28 22:05:10 +00:00
|
|
|
RMDir /r "$DOCUMENTS\PCSX2\inis\"
|
|
|
|
|
2010-05-29 16:24:26 +00:00
|
|
|
SectionEnd
|
2011-03-29 17:55:48 +00:00
|
|
|
|
|
|
|
; /o for optional and unticked by default
|
|
|
|
Section /o "Un.User files (Memory Cards, Savestates, BIOS, etc)"
|
|
|
|
|
|
|
|
SetShellVarContext current
|
|
|
|
RMDir /r "$DOCUMENTS\PCSX2\"
|
|
|
|
|
|
|
|
SectionEnd
|