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"' with 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 jah[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 @@ return run_uninstaller: - ExecWait '"$0\Uninstall.exe"' + ExecWait '"$0\Uninstall.exe" _?=$INSTDIR' FunctionEnd
_______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- WinPcap setup issue in Nmap Windows installer levelzero (Dec 13)
- Re: WinPcap setup issue in Nmap Windows installer jah (Dec 14)
- Re: WinPcap setup issue in Nmap Windows installer LevelZero (Dec 14)
- Message not available
- Re: WinPcap setup issue in Nmap Windows installer jah (Dec 14)
- Message not available
- Re: WinPcap setup issue in Nmap Windows installer jah (Dec 14)
- Re: WinPcap setup issue in Nmap Windows installer Fyodor (Dec 20)
- Re: WinPcap setup issue in Nmap Windows installer jah (Dec 14)