From 61c68f20f0f0e1a66fcaec9faf3c799868581a91 Mon Sep 17 00:00:00 2001 From: Christian Kenny Date: Sun, 30 Dec 2018 02:32:14 -0500 Subject: [PATCH] NSIS: Fix uninstaller regression with regkey removal. --- nsis/SectionUninstaller.nsh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nsis/SectionUninstaller.nsh b/nsis/SectionUninstaller.nsh index c6f61312a0..b66b888e7a 100644 --- a/nsis/SectionUninstaller.nsh +++ b/nsis/SectionUninstaller.nsh @@ -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"