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:
@@ -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..."
|
||||
|
||||
Reference in New Issue
Block a user