Write an INF that is similar to msports.sys
Goto device manager
Right click on the device you want to change the driver for
Choose update driver.
In the wizard, manually pick the INF since it will be ranked lower then
the in build INF.
Done
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Martin O’Brien
Sent: Friday, December 23, 2005 1:37 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] How to install a replacement serial port driver…
DORAN:
Thanks. Is there no reasonably UI friendly way to do this? I ask only
because this driver is only going to be used for a couple of hours or
so; it has nothing to do with my actual work, and programatic device
installation is not something I would like to get in to, if I could
avoid it.
Thanks.
MM
>> xxxxx@microsoft.com 2005-12-23 16:07 >>>
Update the device node to point to your unique driver name. Your
driver
name should not be serial.sys, it should be something unique to your
company. Do not replace serial.sys on the disk or change the image
path
to the service. To install your driver on all the devices, you can
call UpdateDriverForPlugAndPlayDevices(). If you want to install the
driver on only one serial port, look at the topic “Writing a Device
Installation Application” in the DDK.
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Martin O’Brien
Sent: Friday, December 23, 2005 12:55 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] How to install a replacement serial port driver…
How does one go about replacing the standard serial port driver (and
serenum, if that is recquired) with one built from a modified version
of
the WDK (5112). I just need to use it briefly to do some logging, so
any means that accomplishes this will do. I believe this gets in to
system file protection issues. I’ve in the past been able to do this
DDK swap with the FDC, but it came with an INF file. The information
for Serial says to use MSPORTS.INF, but when I modify that to use
serial.sys from a new location, the install completes, but, based on
KD
output, is not actually loading the correct one. If I change the name
of the serial.sys to install, Device Manager lists four drivers for
COM1
(serial.sys, serenum.sys & _serial.sys, serenum.sys).
Any help would greatly be appreciated.
MM
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com