Hello,
I have encountered following problem while testing my
driver.
1.I install my driver & hardware, on Win 2000
Preofessional, using inf file & “Add-Remove hardware”
program. Although my driver is installed properly,
mydriver.inf file is copied as oem0.inf in /winnt/inf.
What should I add in inf file so that its name remains
unchanged as mydriver.inf file?
2.When I update my driver with newer version, say 1.0
to 2.0, the inf file with 2.0 version gets copied as
oem1.inf. The newer driver shows version no. as 2.0 as
seen in its properties. But for any further attempts
to uninstall & reinstall this driver, 1.0 gets loaded
automatically, due to presence of oem0.inf file.
3.On Win2003 Server, if both versions are present, the
system allows you to choose for both the versions &
accordingly loads the driver.
4.Uninstalling (from the device manager) never removes
the oem0.inf file. How do I make the “Uninstall”
really uninstall the driver?
Sharmila Panse
Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html
For your INF to be named anything other than OEMX.INF you must pass WHQL
certification. Once certified your INF file is stored as .INF.
I think. Been a while since I read the documentation on this, so do check
the DDK documentation.
–
The personal opinion of
Gary G. Little
“Sharmila Panse” wrote in message
news:xxxxx@ntdev…
> Hello,
>
> I have encountered following problem while testing my
> driver.
> 1.I install my driver & hardware, on Win 2000
> Preofessional, using inf file & “Add-Remove hardware”
> program. Although my driver is installed properly,
> mydriver.inf file is copied as oem0.inf in /winnt/inf.
> What should I add in inf file so that its name remains
> unchanged as mydriver.inf file?
> 2.When I update my driver with newer version, say 1.0
> to 2.0, the inf file with 2.0 version gets copied as
> oem1.inf. The newer driver shows version no. as 2.0 as
> seen in its properties. But for any further attempts
> to uninstall & reinstall this driver, 1.0 gets loaded
> automatically, due to presence of oem0.inf file.
> 3.On Win2003 Server, if both versions are present, the
> system allows you to choose for both the versions &
> accordingly loads the driver.
> 4.Uninstalling (from the device manager) never removes
> the oem0.inf file. How do I make the “Uninstall”
> really uninstall the driver?
>
> Sharmila Panse
>
>
>
> __________________________________
> Yahoo! Mail
> Stay connected, organized, and protected. Take the tour:
> http://tour.mail.yahoo.com/mailtour.html
>
>
> What should I add in inf file so that its name remains
unchanged as mydriver.inf file?
You must digitally sign the driver.
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
Hello Maxim,
> What should I add in inf file so that its name remains
> unchanged as mydriver.inf file?
You must digitally sign the driver.
Thanks for the explanation.
Before we get the driver signed, we want to release beta versions to a few
customers. As mentioned in the original mail, the “uninstall” doesn’t
really remove the driver and updating it with a newer version leaves both
the old and the new drivers in place. Is there any solution to this
problem? (Other than signing the driver, of course.)
Is it true that signing the driver solves this problem as well? I think it
would, because the .inf file would be installed unchanged, so when the new
version is installed, it would just overwrite the old .inf file. Is this
correct?
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
Monish Shah
Indra Networks, Inc.