<div dir="ltr">I have fixed the PATH empty issue by using a custom strlen-8192 version of NSIS, see installer at:<div><a href="https://svn.nmap.org/nmap-exp/yang/NPcap-LWF/npcap-nmap-1.00.exe">https://svn.nmap.org/nmap-exp/yang/NPcap-LWF/npcap-nmap-1.00.exe</a><br></div><div><br></div><div><br></div><div>Cheers,</div><div>Yang</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 11, 2015 at 12:07 AM, Pascal Quantin <span dir="ltr"><<a href="mailto:pascal.quantin@gmail.com" target="_blank">pascal.quantin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">2015-09-10 17:44 GMT+02:00 食肉大灰兔V5 <span dir="ltr"><<a href="mailto:hsluoyz@gmail.com" target="_blank">hsluoyz@gmail.com</a>></span>:<br></span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><span class=""><div>The first reason I think is that the original WinPcap uses the NSIS installer, as Npcap tries to keep as much as possible with WinPcap, Npcap also uses NSIS. Moreover, Nmap also uses NSIS. As for why don't use MSI, I think this is because open-source projects (like WinPcap, Npcap, etc) tend to not use commercial software (like MSI). There should be some reasons about this.</div></span></div></blockquote><div><br>Nowadays there is an open source project named WiX allowing you to 
create MSI. But it requires you to create a brand new installer from 
scratch, and it seems to be more complex to use (at least that's my 
first feeling but people are reluctant to learn new things ;) ).<br><br></div><div>Cheers,<br>Pascal.<br></div><div><div class="h5"><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div><div>Cheers,</div><div>Yang</div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 10, 2015 at 7:55 PM, Petr Lázňovský <span dir="ltr"><<a href="mailto:lazna@volny.cz" target="_blank">lazna@volny.cz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Maybe dubm question, but why not create MSI package, de-facto standard in installations for windows?<br>
<span><font color="#888888"><br>
L.<br>
</font></span><div><div><br>
> Presumably the issue comes from the NSIS EnvVarUpdate macro used by Npcap installer when having a long %PATH% variable, as explained here:<br>
> <a href="http://sourceforge.net/p/nsis/bugs/1046/" rel="noreferrer" target="_blank">http://sourceforge.net/p/nsis/bugs/1046/</a><br>
> and<br>
> <a href="http://nsis.sourceforge.net/Environmental_Variables:_append%2C_prepend%2C_and_remove_entries" rel="noreferrer" target="_blank">http://nsis.sourceforge.net/Environmental_Variables:_append%2C_prepend%2C_and_remove_entries</a><br>
<br>
> Looks like the method used to update it should be changed...<br>
<br>
> Pascal.<br>
<br>
<br>
<br>
> 2015-09-10 10:18 GMT+02:00 食肉大灰兔V5 <<a href="mailto:hsluoyz@gmail.com" target="_blank">hsluoyz@gmail.com</a>>:<br>
<br>
> Hi,<br>
<br>
<br>
> Like the installer said: "Npcap detected you have installed WinPcap, in order to Install Npcap in WinPcap API-compatible Mode, you must uninstall WinPcap first.". So I would suggest you uninstall WinPcap first before trying Npcap in WinPcap API-compatible Mode.<br>
<br>
<br>
> Cheers,<br>
> Yang<br>
<br>
<br>
> On Thu, Sep 10, 2015 at 4:14 PM, Petr Lázňovský <<a href="mailto:lazna@volny.cz" target="_blank">lazna@volny.cz</a>> wrote:<br>
<br>
> This option is inactive, see screenshoot.<br>
><br>
>  L.<br>
><br>
<br>
>  So you should ALWAYS has "Install Npcap in WinPcap API-compatible Mode" option checked when installing Npcap (which is the default option).<br>
> _______________________________________________<br>
>  Winpcap-users mailing list<br>
>  <a href="mailto:Winpcap-users@winpcap.org" target="_blank">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>
><br>
<br>
<br>
><br>
> _______________________________________________<br>
>  Winpcap-users mailing list<br>
>  <a href="mailto:Winpcap-users@winpcap.org" target="_blank">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>
><br>
<br>
<br>
_______________________________________________<br>
Winpcap-users mailing list<br>
<a href="mailto:Winpcap-users@winpcap.org" target="_blank">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>
</div></div><br>_______________________________________________<br>
Winpcap-users mailing list<br>
<a href="mailto:Winpcap-users@winpcap.org" target="_blank">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>
<br></blockquote></div></div></div><br></div></div>
<br>_______________________________________________<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>
<br></blockquote></div><br></div>