I'm trying to make a utility to find the driver files required for your modem. It works on the two systems that I've tried it on but I'm curious to see how it works on other systems.
You can download it from the link below (it's only 64k)
http://www.ezpcfix.net/beta/Modem.exe
Here's a summary of what it does...
1. It looks for the modem in the registry under: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96D-E325-11CE-BFC1-08002BE10318}\000?
2. When it finds it, it reads the "InfPath" value to determine the name of the inf file then looks for that file in WIN_PATH\inf
3. When it finds the file, it reads all the files from the "[SourceDisksFiles]" section of that inf file and strips everything except for the actual file name from each entry.
4. It then tries to find the file in these locations:
The root of the hard drive
WIN_PATH
WIN_PATH\inf
WIN_PATH\inf\other
WIN_PATH\inf\catalog
WIN_PATH\system
WIN_PATH\system32
WIN_PATH\system32\drivers
WIN_PATH\system32\drivers\etc
(does anyony know the directory id for "inf\catalog" and "inf\other" ? )
Then it loads the path/filename in the listbox.
What I'm trying to do is create a utility to automatically generate a modem driver plugin.
Any pointers from the driver/plugin guru's?
Tom