Link to home
Start Free TrialLog in
Avatar of avarma
avarma

asked on

Common INF file for Win95 and Win98

I have an INF file for Win95 that installs PNP Device A with
Device ID 'XYZ' and another one for Win98 that also installs
PNP Device A with the same Device ID 'XYZ'. The INF files are different in other respects and copy different drivers.
 I would like to have them both present in the root of a common CDROM for installation on 95 and 98. However, PNP presents the following problem: It just picks the first INF file it finds and installs the device for it. How can I use one INF file to pick the right platform - 95 or 98 - and proceed from there? Any suggestions?
Thanks
Avatar of avarma
avarma

ASKER

Edited text of question
ASKER CERTIFIED SOLUTION
Avatar of fshakir
fshakir

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
fshakir is correct. Just look to any 3Com NIC drive disk and you'll find Win31, Win95, Win98, WinNT and so on directories. At my company, we install the same driver for Win95 and Win98, so we use one INF file. You may want to create some sort of interface or program that is smart enough or takes user input to decide if it is on a Win95 or Win98 system. Then it could install the appropriate driver. You may want to pose this as another question.