From 6bf973cf0f336f4fc25a099e42c82b09853d71fd Mon Sep 17 00:00:00 2001 From: dmiller Date: Thu, 10 Mar 2022 17:24:36 +0000 Subject: [PATCH] Remove Nmap registry key on uninstall regardless of whether it's empty --- mswin32/nsis/Nmap.nsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mswin32/nsis/Nmap.nsi b/mswin32/nsis/Nmap.nsi index a059caaa5..a04b66c9d 100644 --- a/mswin32/nsis/Nmap.nsi +++ b/mswin32/nsis/Nmap.nsi @@ -565,7 +565,7 @@ Section "Uninstall" SetDetailsPrint textonly DetailPrint "Deleting Registry Keys..." SetDetailsPrint listonly - DeleteRegKey /ifempty HKCU "Software\${NMAP_NAME}" + DeleteRegKey HKCU "Software\${NMAP_NAME}" DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${NMAP_NAME}" SetDetailsPrint textonly DetailPrint "Unregistering Nmap Path..."