From 6aa016fb6433fc2430827f33535bf71ac0409c60 Mon Sep 17 00:00:00 2001 From: david Date: Fri, 5 Sep 2008 16:47:54 +0000 Subject: [PATCH] In Nmap.nsi, remove the nselib-bin directory before installing but not when uninstalling (it would have already been removed). I put in a comment explaining that nselib-bin used to be used but isn't any longer. Thanks to jah for the suggestion. --- 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 dc72377ff..cb79a6fbf 100644 --- a/mswin32/nsis/Nmap.nsi +++ b/mswin32/nsis/Nmap.nsi @@ -144,6 +144,7 @@ Section "Nmap Core Files" SecCore ;Delete specific subfolders (NB: custom scripts in scripts folder will be lost) RMDir /r "$INSTDIR\nselib" + ; nselib-bin held NSE C modules up through version 4.68. RMDir /r "$INSTDIR\nselib-bin" RMDir /r "$INSTDIR\scripts" RMDir /r "$INSTDIR\zenmap" @@ -303,7 +304,6 @@ Section "Uninstall" Delete "$INSTDIR\winpcap-nmap*.exe" ;Delete specific subfolders (NB: custom scripts in scripts folder will be lost) RMDir /r "$INSTDIR\nselib" - RMDir /r "$INSTDIR\nselib-bin" RMDir /r "$INSTDIR\scripts" RMDir /r "$INSTDIR\zenmap"