From c9018814966244e4703229f40f87b062f18e437c Mon Sep 17 00:00:00 2001 From: fyodor Date: Mon, 14 Feb 2011 07:52:01 +0000 Subject: [PATCH] Make the uninstaller properly delete nping.exe (also updates version number, but that was incidental as part of the build script) --- mswin32/nsis/Nmap.nsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mswin32/nsis/Nmap.nsi b/mswin32/nsis/Nmap.nsi index db451ec07..29afc4cf2 100644 --- a/mswin32/nsis/Nmap.nsi +++ b/mswin32/nsis/Nmap.nsi @@ -48,8 +48,8 @@ SetCompressor /SOLID /FINAL lzma ;Get installation folder from registry if available InstallDirRegKey HKCU "Software\Nmap" "" - !define VERSION "5.36TEST4" - VIProductVersion "5.36.0.4" + !define VERSION "5.51SVN" + VIProductVersion "5.51.0.0" VIAddVersionKey /LANG=1033 "FileVersion" "${VERSION}" VIAddVersionKey /LANG=1033 "ProductName" "Nmap" VIAddVersionKey /LANG=1033 "CompanyName" "Insecure.org" @@ -476,6 +476,7 @@ Section "Uninstall" Delete "$INSTDIR\ZENMAP_README" Delete "$INSTDIR\COPYING_HIGWIDGETS" Delete "$INSTDIR\ncat.exe" + Delete "$INSTDIR\nping.exe" Delete "$INSTDIR\ca-bundle.crt" ;Delete specific subfolders (NB: custom scripts in scripts folder will be lost) RMDir /r "$INSTDIR\nselib"