<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi GV,<br><br>Thanks for the information. <br><br>I will go with your suggestion.<br><br>Thanks,<br>Naveen<br><hr id="stopSpelling">From: gianluca.varenni@cacetech.com<br>To: winpcap-users@winpcap.org<br>Subject: Re: [Winpcap-users] Query Regarding WinPcap 4.0.2.<br>Date: Mon, 24 Nov 2008 09:31:22 -0800<br><br>




<style>
.ExternalClass .EC_hmmessage P
{padding-right:0px;padding-left:0px;padding-bottom:0px;padding-top:0px;}
.ExternalClass BODY.EC_hmmessage
{font-size:10pt;font-family:Verdana;}
</style>



<div><font face="Courier New">Naveen,</font></div>
<div><font face="Courier New"></font>&nbsp;</div>
<div><font face="Courier New">the source code of the installer and further 
information on how the installation process works is not public. The main reason 
behind that is that WinPcap does not support side-by-side execution, i.e. you 
cannot have multiple versions installed on the same machine. And debugging 
broken installations of WinPcap due to custom home made installers screwing up a 
possible already installed version of WinPcap (or all the possible combinations 
of custom vs official installer) is always a major pain in the neck. 
</font></div>
<div><font face="Courier New"></font>&nbsp;</div>
<div><font face="Courier New">I suggest you to embed the WinPcap installer 
within your application installer.</font></div>
<div><font face="Courier New"></font>&nbsp;</div>
<div><font face="Courier New">Have a nice day</font></div>
<div><font face="Courier New">GV</font></div>
<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;">----- Original Message ----- </div>
  <div style="background: rgb(228, 228, 228) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;"><b>From:</b> 
  <a title="naveen20_r@hotmail.com" href="mailto:naveen20_r@hotmail.com">Naveen 
  Kumar R</a> </div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;"><b>To:</b> <a title="winpcap-users@winpcap.org" href="mailto:winpcap-users@winpcap.org">winpcap_users ORG</a> </div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;"><b>Sent:</b> Friday, November 21, 2008 5:51 
  AM</div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;"><b>Subject:</b> RE: [Winpcap-users] Query 
  Regarding WinPcap 4.0.2.</div>
  <div><br></div>Hi GV,<br><br>Thanks for the information. I have identified 
  other dll's which comes with the winpcap.<br><br>I have some concerns with the 
  winpcap installation. Basically i don't want to install the winpcap dll's with 
  the winpcap installer , I will extract WinPcap DLLs from each OS flavours in 
  our R n D machines, and i want to bundle these DLL files with my application. 
  during the time of my application installation. I will identify the OS and 
  copy the related drivers and DLLs. I am able to copy Drivers and DLL to the 
  correct location and am able to load winpcap dlls from my application dll. But 
  the problem here is from the interfaces i am able to get the Device Count as 0 
  (Means Interface is not returning Correct Value, Basically interface is 
  failing) and i have added the 
  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NPF key to the registry 
  too , still the device count returning 0 (may be the winpacp dll's not able to 
  get the Driver details correctly).<br><br>Instead of manually copying all the 
  DLLs, if i install winpcap dll's through the winpcap installer it is working 
  100 % fine.(able to get the device count which is available in the same 
  machine)<br><br>Basically i want to know if there are any other steps that i 
  have to take care so that it will be in sync as doing with winpcap 
  installer.<br><br>Please Help me in this 
  concern.<br><br>Thanks,<br>Naveen<br><br>
  <hr id="EC_stopSpelling">
  From: gianluca.varenni@cacetech.com<br>To: 
  winpcap-users@winpcap.org<br>Subject: Re: [Winpcap-users] Query Regarding 
  WinPcap 4.0.2.<br>Date: Wed, 12 Nov 2008 12:15:51 -0800<br><br>
  <style>
.ExternalClass .EC_hmmessage P
{padding-right:0px;padding-left:0px;padding-bottom:0px;padding-top:0px;}
.ExternalClass BODY.EC_hmmessage
{font-size:10pt;font-family:Verdana;}
</style>

  <div><font face="Courier New">So you want to have WinPcap (4.0.2) installed on 
  your machine, but then you want to keep wpcap.dll into your application 
  folder, also. Right?</font></div>
  <div><font face="Courier New"></font>&nbsp;</div>
  <div><font face="Courier New">Please consider that WinPcap is not just 
  wpcap.dll, it uses at least one other DLL, packet.dll (and packet.dll depends 
  on the specific version of Windows that you are running).</font></div>
  <div><font face="Courier New"></font>&nbsp;</div>
  <div><font face="Courier New">Have a nice day</font></div>
  <div><font face="Courier New">GV</font></div>
  <blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">
    <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;">----- 
    Original Message ----- </div>
    <div style="background: rgb(228, 228, 228) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;"><b>From:</b> 
    <a title="naveen20_r@hotmail.com" href="mailto:naveen20_r@hotmail.com">Naveen 
    Kumar R</a> </div>
    <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;"><b>To:</b> 
    <a title="winpcap-users@winpcap.org" href="mailto:winpcap-users@winpcap.org">winpcap_users ORG</a> </div>
    <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;"><b>Sent:</b> 
    Wednesday, November 12, 2008 4:26 AM</div>
    <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;"><b>Subject:</b> 
    RE: [Winpcap-users] Query Regarding WinPcap 4.0.2.</div>
    <div><br></div>Hi GV,<br>&nbsp;<br>Thanks for your detail 
    Information.<br>&nbsp;<br>I&nbsp;want to copy wpcap.dll other than sysWOW64 
    because&nbsp;i dont want to copy the dll to the system directories.i want to 
    retain the 3rdparty dll in my application directory.<br>&nbsp;<br>previous 
    version of Wpcap.dll&nbsp;(3.0.0.18) is alaways available in my Application 
    directory(C:\MyAPP\APPDLL\wpcap.dll), i am able to load the same with the 
    loadlibrary(<font face="Courier New">"<font face="Verdana">C:\MyAPP\APPDLL\wpcap.dll)</font>"</font>) API. if i replace 
    the newer dll (wpcap.dll of version 4.0.2), my application dll wont load 
    this version of&nbsp;DLL. that's the reason i asked&nbsp;the newer version 
    is having any new caveats that it should always available in the syswow64 
    Directory. <br>&nbsp;<br>Regarding npf.sys you had suggested that it should 
    always present in the c:\windows\system32\drivers, so i will&nbsp;use the 
    same&nbsp;location to copy the npf.sys driver.<br>&nbsp;<br>with your 
    inputs,&nbsp;i&nbsp;will drop&nbsp;the use of silent installation. IF you 
    have any concern please let me 
    know.<br>&nbsp;<br>Thanks,<br>Naveen&nbsp;<br><br>
    <hr id="EC_EC_stopSpelling">
    <br>From: gianluca.varenni@cacetech.com<br>To: 
    winpcap-users@winpcap.org<br>Subject: Re: [Winpcap-users] Query Regarding 
    WinPcap 4.0.2.<br>Date: Tue, 11 Nov 2008 07:41:09 -0800<br><br><br>
    <style>
.ExternalClass .EC_hmmessage P
{padding-right:0px;padding-left:0px;padding-bottom:0px;padding-top:0px;}
.ExternalClass BODY.EC_hmmessage
{font-size:10pt;font-family:Verdana;}
</style>

    <div><font face="Courier New">First of all, a bit of clarification on how 
    the "system32" folder works on 64bit systems.</font></div>
    <div><font face="Courier New"></font>&nbsp;</div>
    <div><font face="Courier New">Physically, on a 64bit system, the core dlls 
    are stored into two folders:</font></div>
    <div><font face="Courier New">- c:\windows\system32 contains the 64bit 
    version of the core DLLs.</font></div>
    <div><font face="Courier New">- c:\windows\sysWOW64 contains the 32bit 
    version of the same core DLLs.</font></div>
    <div><font face="Courier New"></font>&nbsp;</div>
    <div><font face="Courier New">The drivers always reside under 
    c:\windows\system32\drivers, because on a 64bit machine all the kernel mode 
    drivers should be 64bit.</font></div>
    <div><font face="Courier New"></font>&nbsp;</div>
    <div><font face="Courier New">When a 32bit application runs on a 64bit 
    system, the OS uses a file system redirector, so that all the requests (done 
    by the 32bit application) to a file in c:\windows\system32 get redirected to 
    c:\windows\sysWOW64</font></div>
    <div><font face="Courier New"></font>&nbsp;</div>
    <div><font face="Courier New">Going back to WinPcap (4.0.2), on a 64 bit 
    system npf.sys resides in c:\windows\system32\drivers (because it's a 64bit 
    driver) and all the user mode DLLs reside in c:\windows\sysWOW64 (since they 
    are 32bit DLLs). </font></div>
    <div><font face="Courier New"></font>&nbsp;</div>
    <div><font face="Courier New">I don't know exactly why you want to move 
    wpcap.dll to another folder, but it should definitely work with these 
    caveats:</font></div>
    <div><font face="Courier New">- you CANNOT copy wpcap.dll into 
    c:\windows\system32, where the 64bit&nbsp;OS DLLs are located. Your 
    application will never be able to access that folder because it's hidden by 
    the FS redirector (this is not 100% true, as there is a way to disable the 
    FS redirector)</font></div>
    <div><font face="Courier New">- if you try to load wpcap.dll located in 
    c:\windows\sysWOW64 (i.e. the default install location), you need to do 
    LoadLibrary("C:\\windows\\system32\\wpcap.dll", 0). </font></div>
    <div><font face="Courier New"></font>&nbsp;</div>
    <div><font face="Courier New">Regarding npf.sys, that file should always 
    reside in c:\windows\system32\drivers</font></div>
    <div><font face="Courier New"></font>&nbsp;</div>
    <div><font face="Courier New">Regarding a silent version of the installer, 
    for a number of reasons this option is not available.</font></div>
    <div><font face="Courier New"></font>&nbsp;</div>
    <div><font face="Courier New">Have a nice day</font></div>
    <div><font face="Courier New">GV</font></div>
    <div><font face="Courier New"></font>&nbsp;</div>
    <div><font face="Courier New"></font>&nbsp;</div>
    <div><font face="Courier New"></font>&nbsp;</div>
    <div><font face="Courier New"></font>&nbsp;</div>
    <div><font face="Courier New"></font>&nbsp;</div>
    <div>----- Original Message ----- </div>
    <blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">
      <div style="background: rgb(228, 228, 228) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;"><b>From:</b> 
      <a title="naveen20_r@hotmail.com" href="mailto:naveen20_r@hotmail.com">naveen kumar</a> </div>
      <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;"><b>To:</b> 
      <a title="winpcap-users@winpcap.org" href="mailto:winpcap-users@winpcap.org">winpcap-users@winpcap.org</a> 
      </div>
      <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;"><b>Sent:</b> 
      Tuesday, November 11, 2008 6:45 AM</div>
      <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;"><b>Subject:</b> 
      [Winpcap-users] Query Regarding WinPcap 4.0.2.</div>
      <div><br></div><br>Hi All,<br><br>I have a query regarding the winpcap 
      4.0.2. my application is using for pocket capturing using winpcap and 
      nps.sys driver. Previously I was using the winpcap 3.0.0.18 in my 
      application it was working fine for me for both windows 2000 and windows 
      2003 32 bit OS. <br><br>I want to support my application on windows server 
      2003 64 bit OS and windows vista , so i used the winpcap latest version 
      4.0.2 with my application.<br><br>My application dll uses the load library 
      windows api to load the wpcap.dll. If i copy this wpcap.dll to the 
      sysWOW64 directory my dll will perfectly load the wpcap.dll and it will 
      also load the npf.sys from system32\drivers directory and rest of the 
      things work fine. but my application dll is failing to load the 4.0.2 
      wpcap.dll, if i copy the dll to directory other than system32 in the 64 
      bit OS of windows server 2003, even though i am giving the absolute path 
      of the location to load wpcap.dll in loadlibrary API. <br><br>if i use the 
      wpcap.dll of version 3.0.0.18 in location other than sysWOW64 my 
      Application dll loads the wpcap.dll, but it fails to load the npf.sys 
      driver from the same location where dll is present. <br><br>My query is 
      wheather the latest wpcap.dll and npf.sys should always available in the 
      sysWOW64 and system32\drivers directory for the 64 bit windows 
      2003?<br><br><br>One more Query <br>is it possible to run the Winpcap 
      installation as a silent installation? <br><br>If you have any concerns 
      please let me know. Thanks in advance.<br><br>Regards,<br>Naveen<br><br>
      <hr>
      Give the world a slice of your life. Get a Live.in id <a href="https://signup.live.com/signup.aspx?mkt=en-in&amp;rollrs=12&amp;lic=1">Check 
      it out!</a> 
      <hr>
      <br>_______________________________________________<br>Winpcap-users 
      mailing 
      list<br>Winpcap-users@winpcap.org<br>https://www.winpcap.org/mailman/listinfo/winpcap-users<br><br></blockquote><br>
    <hr>
    Give the world a slice of your life. Get a Live.in id <a href="https://signup.live.com/signup.aspx?mkt=en-in&amp;rollrs=12&amp;lic=1">Check 
    it out!</a> <br>
    <hr>
    <br>_______________________________________________<br>Winpcap-users mailing 
    list<br>Winpcap-users@winpcap.org<br>https://www.winpcap.org/mailman/listinfo/winpcap-users<br></blockquote><br>
  <hr>
  Team India gets set to thwart Australia's quest for the final frontier. Catch 
  the action on MSN <a href="http://sports.in.msn.com/">Try it 
  now!</a> 
  
  <BR><hr>

  <BR>_______________________________________________<br>Winpcap-users 
  mailing 
  list<br>Winpcap-users@winpcap.org<br>https://www.winpcap.org/mailman/listinfo/winpcap-users<br></blockquote><br /><hr />What's on the ramp today could be on the streets tomorrow. Keep up with trends on MSN Lifestyle  <a href='http://lifestyle.in.msn.com/' target='_new'>Try it!</a></body>
</html>