Replacing a driver

I have to replace a Cisco wireless NDIS driver with a function driver
because of legacy code requirements and a roll your own protocol.

I remove the Cisco driver, I then run hardware wizard to install my function
driver, first thing it does is reinstall the Cisco driver, ( its signed and
part of XP). I press on, right before I click on ‘Have disk’, again I remove
the Cisco driver, and then proceed to install my driver. Problem is I never
get the assigned resources, IRQ/Port addr. My replacement driver’s .inf file
to the best of my knowledge is correct.

My questions are: Is there a better way to go about installing my driver?
How can I make this work?

Thanks
John

Three ways to do this:
(1) Do driver update to the Cisco wireless NDIS and then “point” to your inf
file and installation package. WFP will then use your driver instead with
the update procedure. This is prefered way!

(2) Get rid of the Cisco wireless NDIS driver from you hard driver. You
will have to know the driver names and ancilliary files. You can get this
through Device Manager->Properties->Driver->Driver Details. You can then
rename the WFP file driver cab file found in Windows\Driver
cab\i386\driver.cab to driver.sav. Note WFP will complain that it can not
find driver files when you scan for hardware but you can point to your inf
file to install. I do not like this way as it completely disables PnP
because PnP can not find driver files for installing devices but just to see
you driver work this will work. Of course you will have to erase files from
the Windows\system32\drivers directory and Windows\system32 directory.
So you got rid of the driver.cab file that holds copies of all the windows
signed driver and you erased the files from the “Windows” directory. Now
when you scan for hardware PnP can not find the files and will “ask” you for
the inf location. So you can point to your driver package location.

I must say us the Driver update procedure that way the system is coherent!

“John Haughey” wrote in message news:xxxxx@ntdev…
>
> I have to replace a Cisco wireless NDIS driver with a function driver
> because of legacy code requirements and a roll your own protocol.
>
> I remove the Cisco driver, I then run hardware wizard to install my
function
> driver, first thing it does is reinstall the Cisco driver, ( its signed
and
> part of XP). I press on, right before I click on ‘Have disk’, again I
remove
> the Cisco driver, and then proceed to install my driver. Problem is I
never
> get the assigned resources, IRQ/Port addr. My replacement driver’s .inf
file
> to the best of my knowledge is correct.
>
> My questions are: Is there a better way to go about installing my driver?
> How can I make this work?
>
> Thanks
> John
>
>
>

And the third way.

(3) Hook up Windbg, the kernel debugger. If you driver file is the same name
as the digitially signed driver then turn off WFP in the registry. Now the
system will use your driver instead. Note you have to boot up the OS with
WFP turned off in the registry and the Kernel debugger active.