mirror of https://github.com/PCSX2/pcsx2.git
NSIS: Fix uninstaller regression with regkey removal.
This commit is contained in:
parent
f02c683178
commit
61c68f20f0
|
@ -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.
|
; Failure to delete this key can result in configuration errors after a fresh install.
|
||||||
DeleteRegKey HKCU Software\PCSX2
|
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
|
; Remove shortcuts, if any
|
||||||
Delete "$DESKTOP\${APP_NAME}.lnk"
|
Delete "$DESKTOP\${APP_NAME}.lnk"
|
||||||
|
|
Loading…
Reference in New Issue