<div dir="ltr">Hi, Petr and Guy,<div><br></div><div>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 <b>ALWAYS</b> has <b>"Install Npcap in WinPcap API-compatible Mode"</b> option checked when installing Npcap (which is the default option). </div><div><br></div><div>For None-"WinPcap Compatible Mode", Npcap's NSIS installer uses <i><b>${EnvVarUpdate} $0 "PATH" "A" "HKLM" "$SYSDIR\Npcap"</b></i> to add a path and <b><i>${un.EnvVarUpdate} $0 "PATH" "R" "HKLM" "$SYSDIR\Npcap"</i></b> to delete the path (see: <a href="https://github.com/nmap/npcap/blob/master/installer/NPcap-for-nmap.nsi">https://github.com/nmap/npcap/blob/master/installer/NPcap-for-nmap.nsi</a>, Line 698 and Line 785). I hope I am using it right, if I am wrong, please correct me:)</div><div><br></div><div>Cheers,</div><div>Yang</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 10, 2015 at 3:36 PM, Guy Harris <span dir="ltr"><<a href="mailto:guy@alum.mit.edu" target="_blank">guy@alum.mit.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
On Sep 10, 2015, at 12:31 AM, Petr Lázňovský <<a href="mailto:lazna@volny.cz">lazna@volny.cz</a>> wrote:<br>
<br>
> 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?<br>
<br>
</span>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.<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
Winpcap-users mailing list<br>
<a href="mailto:Winpcap-users@winpcap.org">Winpcap-users@winpcap.org</a><br>
<a href="https://www.winpcap.org/mailman/listinfo/winpcap-users" rel="noreferrer" target="_blank">https://www.winpcap.org/mailman/listinfo/winpcap-users</a><br>
</div></div></blockquote></div><br></div>