1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-27 01:49:03 +00:00

Remove Nmap registry key on uninstall regardless of whether it's empty

This commit is contained in:
dmiller
2022-03-10 17:24:36 +00:00
parent 5afd9c60e6
commit 6bf973cf0f

View File

@@ -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..."