Hello,
I was concern about update and reinstalltion.
During update or uninstallation the older oem#.inf is
not deleted. And new oem#.inf is generated. So
maintenance becomes bit complicated. Please go through
conclusion too.
Case study:-
Assume that user installs driver version 1.0.0 from
location c:\driver100\
Now he unistall the driver version 1.0.0.
After some days he installs driver version 2.0.0 from
location c:\driver200\ but through some third party
application like DPinstall which stores the oem
number.
Now he had two OEM i.e oem1.inf oem1.pnf and oem2.inf
and oem2.inf in his WINDOWS\INF directory.
The oem number 2 is stored in dpinstall
memory(Cookie).
Now user uninstalls the driver 2.0.0 through dpinstall
which automatically deletes the oem2.inf and oem2.pnf.
But in WINDOWS\INF directory it has still oem1.inf and
oem1.pnf. So now if user reboots the system. the os
will find new device and will ask to install it. And
if user say recommended path it will find oem1.inf and
will load the driver form c:\driver100.
But version 1.0.0 has bugs. Now customer in trouble
unknowingly.
Conclusion
So to conclude if their would be single name of inf
i.e xyz.inf which would be stored in windows\inf
directory then during update or reinstall older
xyz.inf would automatically get replaced.
And i had seen some pci drivers which are able to
place their inf file in inf dir with their original
inf name. So how they do it?
Regards
Ravi
— xxxxx@gmail.com wrote:
Ravi wrote:
> Thanks for the reply. But then i want to know
what
> is the method that one should follow so that the
inf
> file name must be xyz.inf not oem#.inf. And same
with
> cat file.
Well, the implication is that there is no officially
sanctioned way to do that. When you properly
install the drivers, you get a few things:
-
The .PNF will know where the files for the
driver package are (.sys, any coinstallers, etc.)
-
The catalog file will be added to your CatRoot
and so on.
Why do you want the files to not be named OEMxx.INF
once they are installed?
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
To unsubscribe, visit the List Server section of OSR
Online at
http://www.osronline.com/page.cfm?name=ListServer
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/