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 <[email protected]> wrote:

>
> On Sep 10, 2015, at 12:31 AM, Petr Lázňovský <[email protected]> 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
> [email protected]
> https://www.winpcap.org/mailman/listinfo/winpcap-users
>
_______________________________________________
Winpcap-users mailing list
[email protected]
https://www.winpcap.org/mailman/listinfo/winpcap-users

Reply via email to