Home page logo

nmap-dev logo Nmap Development mailing list archives

Re: WinPcap setup issue in Nmap Windows installer
From: jah <jah () zadkiel plus com>
Date: Fri, 14 Dec 2007 16:44:00 +0000

The fix is documented in the NSIS wiki [1] and involves replacing

   ExecWait '"$0\Uninstall.exe"'


   ExecWait '"$0\Uninstall.exe" _?=$INSTDIR'

I've tested it and it does the job lovely, preventing the nmap-winpcap installer form from loading and becoming visible before the uninstallation of a previous version of winpcap is complete if that uninstaller spawns a child process (otherwise, it works as normal). It likely needs a bit of testing, e.g. on vista or when the uninstallation fails.

I've attached winpcap_nsi.patch


[1] NSIS wiki - http://nsis.sourceforge.net/When_I_use_ExecWait_uninstaller.exe_it_doesn%27t_wait_for_the_uninstaller
Index: winpcap-nmap.nsi
--- winpcap-nmap.nsi    (revision 6547)
+++ winpcap-nmap.nsi    (working copy)
@@ -83,7 +83,7 @@
-    ExecWait '"$0\Uninstall.exe"'
+    ExecWait '"$0\Uninstall.exe" _?=$INSTDIR'

Sent through the nmap-dev mailing list
Archived at http://SecLists.Org

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]