NSIS: Fix uninstaller regression with regkey removal.

This commit is contained in:
Christian Kenny 2018-12-30 02:32:14 -05:00 committed by lightningterror
parent f02c683178
commit 61c68f20f0
1 changed files with 3 additions and 2 deletions

View File

@ -48,9 +48,10 @@ Section "Un.Program and Plugins ${APP_NAME}"
; Failure to delete this key can result in configuration errors after a fresh install.
DeleteRegKey HKCU Software\PCSX2
!insertmacro UNINSTALL.LOG_UNINSTALL "$INSTDIR"
; Remove regkey generated by NSIS for uninstall functions
DeleteRegKey HKLM "${INSTDIR_REG_KEY}"
; Remove uninstaller info reg key ( Wow6432Node on 64bit Windows! )
!insertmacro UNINSTALL.LOG_UNINSTALL "$INSTDIR"
; Remove shortcuts, if any
Delete "$DESKTOP\${APP_NAME}.lnk"