Is there a way to manually install WdfCoInstaller without using an inf?
xxxxx@hotmail.com wrote:
Is there a way to manually install WdfCoInstaller without using an inf?
Why? What’s the use case for this?
The answer is “yes and no”. You can copy the WDF co-installer into
\Windows\System32 just by copying it. But in order to have a driver use
it, you need to have the co-installer entry points get called as part of
the install process.
Now, there are examples on the web showing how to call the co-installer
entry points by hand in a custom installer process, because that’s
necessary to install a class filter, but to do that you have to create a
miniature fake INF file for the co-installer to read.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
Create your own exe, see src\general\ioctl\kmdf\exe\install.c, and call WdfPreDeviceInstall
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@hotmail.com
Sent: Tuesday, October 06, 2009 4:15 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] WdfCoInstaller
Is there a way to manually install WdfCoInstaller without using an inf?
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
Ok thanks. I must do something in the morning, it seems much more difficult than I thought for 1am.
Thanks.
-----Original Message-----
Create your own exe, see src\general\ioctl\kmdf\exe\install.c, and call
WdfPreDeviceInstall
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@hotmail.com
Sent: Tuesday, October 06, 2009 4:15 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] WdfCoInstaller
Is there a way to manually install WdfCoInstaller without using an inf?
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
This is getting frustrating. Is there a installer I could use. Quite simply because if I were to install a piece of hardware that uses WdfCoInstaller all my filter drivers work. Unfortnately it doesn?t seem like there is a need for specific WdfCoInstallers unless I am basing it on that installer. This is frustrating.
Ok thanks. I must do something in the morning, it seems much more difficult than
I thought for 1am.
Thanks.
-----Original Message-----
Create your own exe, see src\general\ioctl\kmdf\exe\install.c, and call
WdfPreDeviceInstall
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@hotmail.com
Sent: Tuesday, October 06, 2009 4:15 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] WdfCoInstaller
Is there a way to manually install WdfCoInstaller without using an inf?
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
I am going to cheat, does anyone have a preexample I could use and learn from.
Doron I did try, it didn?t load the libraries, then I tried nonpnp and that didn?t install it either. I probably did somethign wrong.
Ok thanks. I must do something in the morning, it seems much more difficult than
I thought for 1am.
Thanks.
-----Original Message-----
Create your own exe, see src\general\ioctl\kmdf\exe\install.c, and call =20
WdfPreDeviceInstall
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@hotmail.com
Sent: Tuesday, October 06, 2009 4:15 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] WdfCoInstaller
Is there a way to manually install WdfCoInstaller without using an inf?
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
> I am going to cheat, does anyone have a preexample I could use and learn
from
Doron pointed you to an example.
then I tried nonpnp and that didn´t install it either
Can you provide more details? Other people have made this work, so it’s not
fundamentally broken and “it doesn’t work” doesn’t help us much. Logging
information can be found in %SystemRoot%\setupact.log and/or
%SystemRoot%\wdf{vernum}.log.
-scott
–
Scott Noone
Consulting Associate
OSR Open Systems Resources, Inc.
http://www.osronline.com
wrote in message news:xxxxx@ntdev…
I am going to cheat, does anyone have a preexample I could use and learn
from.
Doron I did try, it didn´t load the libraries, then I tried nonpnp and that
didn´t install it either. I probably did somethign wrong.
--------------------------------------------------------------------------------
Ok thanks. I must do something in the morning, it seems much more difficult
than
I thought for 1am.
Thanks.
-----Original Message-----
Create your own exe, see src\general\ioctl\kmdf\exe\install.c, and call =20
WdfPreDeviceInstall
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@hotmail.com
Sent: Tuesday, October 06, 2009 4:15 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] WdfCoInstaller
Is there a way to manually install WdfCoInstaller without using an inf?
—
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
xxxxx@hotmail.com wrote:
This is getting frustrating. Is there a installer I could use. Quite simply because if I were to install a piece of hardware that uses WdfCoInstaller all my filter drivers work. Unfortnately it doesn´t seem like there is a need for specific WdfCoInstallers unless I am basing it on that installer. This is frustrating.
Maybe you should do all of your work on Vista, where the co-installer is
already present.
What kind of filter are you writing? If this is a device filter, then
you can do the co-installer dance in the INF file in the usual way. If
you need a class filter, then the INF solution isn’t as successful.
This exchange is getting frustrating on our part as well, because you
seem resistant to our suggestions. Several of us have given you every
possible hint on how to do this. You need one of the Vista WDKs (6000
or 6001.1800X). Go to src\kmdf\nonpnp\exe. There, you will find a
source file called “install.c”. Much as its name implies, this file
shows how to install a non-PnP KMDF driver by invoking the co-installer
directly. You just need to change this so that instead of calling the
service control manager, you do the registry magic to modify the
UpperFilters or LowerFilters keys in the classes you want to filter.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.