Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 231
  • Last Modified:

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
0
avarma
Asked:
avarma
1 Solution
 
avarmaAuthor Commented:
Edited text of question
0
 
fshakirCommented:
It is not quite possible to do that, unless you make two different directories, one containing one inf file and the other having the other inf file.  Then, when installing the files, select the one you want (PnP will not find the infs unless it is in the root directory).


0
 
kinkajouCommented:
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.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now