[Winpcap-users] Npcap 0.04, based on original WinPcap 4.1.3, call for test

食肉大灰兔V5 hsluoyz at gmail.com
Thu Sep 10 08:05:46 UTC 2015


Hi, Petr and Guy,

First thanks for test. In fact Npcap only adds its program folder to
system's "PATH" only when Npcap is installed NOT in "WinPcap Compatible
Mode". The None-"WinPcap Compatible Mode" is only for future version's
Nmap. So you should *ALWAYS* has *"Install Npcap in WinPcap API-compatible
Mode"* option checked when installing Npcap (which is the default option).

For None-"WinPcap Compatible Mode", Npcap's NSIS installer uses
*${EnvVarUpdate}
$0 "PATH" "A" "HKLM" "$SYSDIR\Npcap"* to add a path and *${un.EnvVarUpdate}
$0 "PATH" "R" "HKLM" "$SYSDIR\Npcap"* to delete the path (see:
https://github.com/nmap/npcap/blob/master/installer/NPcap-for-nmap.nsi, Line
698 and Line 785). I hope I am using it right, if I am wrong, please
correct me:)

Cheers,
Yang


On Thu, Sep 10, 2015 at 3:36 PM, Guy Harris <guy at alum.mit.edu> wrote:

>
> On Sep 10, 2015, at 12:31 AM, Petr Lázňovský <lazna at volny.cz> wrote:
>
> > Just install this version of SW and it destroy almost whole content of
> %PATH% variable on my system. I had about 30 paths there, but after install
> only 3 paths (one of them is npcap path). No change after system reboot,
> windows 7/64bit. Anyone have similar experience?
>
> That's probably a problem with the installer - perhaps, instead of
> *adding* the Npcap path to %PATH%, leaving all the existing directories
> intact, it's *replacing* %PATH% with a setting that includes the Npcap path.
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winpcap.org/pipermail/winpcap-users/attachments/20150910/e7ee1688/attachment.html>


More information about the Winpcap-users mailing list