<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<STYLE>.hmmessage P {
        PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
}
BODY.hmmessage {
        FONT-SIZE: 10pt; FONT-FAMILY: Verdana
}
</STYLE>
<META content="MSHTML 6.00.6000.16735" name=GENERATOR></HEAD>
<BODY class=hmmessage bgColor=#ffffff>
<DIV><FONT face="Courier New">Naveen,</FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </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> </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> </DIV>
<DIV><FONT face="Courier New">Have a nice day</FONT></DIV>
<DIV><FONT face="Courier New">GV</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=naveen20_r@hotmail.com href="mailto:naveen20_r@hotmail.com">Naveen
Kumar R</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=winpcap-users@winpcap.org
href="mailto:winpcap-users@winpcap.org">winpcap_users ORG</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, November 21, 2008 5:51
AM</DIV>
<DIV style="FONT: 10pt arial"><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=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> </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> </DIV>
<DIV><FONT face="Courier New">Have a nice day</FONT></DIV>
<DIV><FONT face="Courier New">GV</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal; -x-system-font: none">-----
Original Message ----- </DIV>
<DIV
style="BACKGROUND: rgb(228,228,228); FONT: 10pt arial; font-size-adjust: none; font-stretch: normal; -x-system-font: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><B>From:</B>
<A title=naveen20_r@hotmail.com href="mailto:naveen20_r@hotmail.com">Naveen
Kumar R</A> </DIV>
<DIV
style="FONT: 10pt arial; 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: 10pt arial; 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: 10pt arial; 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 your detail
Information.<BR> <BR>I want to copy wpcap.dll other than sysWOW64
because i dont want to copy the dll to the system directories.i want to
retain the 3rdparty dll in my application directory.<BR> <BR>previous
version of Wpcap.dll (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 DLL. that's the reason i asked the newer version
is having any new caveats that it should always available in the syswow64
Directory. <BR> <BR>Regarding npf.sys you had suggested that it should
always present in the c:\windows\system32\drivers, so i will use the
same location to copy the npf.sys driver.<BR> <BR>with your
inputs, i will drop the use of silent installation. IF you
have any concern please let me
know.<BR> <BR>Thanks,<BR>Naveen <BR><BR>
<HR id=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> </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> </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> </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> </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> </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 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> </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> </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> </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> </DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV>----- Original Message ----- </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
<DIV
style="BACKGROUND: rgb(228,228,228); FONT: 10pt arial; font-size-adjust: none; font-stretch: normal; -x-system-font: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><B>From:</B>
<A title=naveen20_r@hotmail.com
href="mailto:naveen20_r@hotmail.com">naveen kumar</A> </DIV>
<DIV
style="FONT: 10pt arial; 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: 10pt arial; 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: 10pt arial; 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&rollrs=12&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&rollrs=12&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/" target=_new>Try it
now!</A>
<P>
<HR>
<P></P>_______________________________________________<BR>Winpcap-users
mailing
list<BR>Winpcap-users@winpcap.org<BR>https://www.winpcap.org/mailman/listinfo/winpcap-users<BR></BLOCKQUOTE></BODY></HTML>