INF [Manufacturer] section problem.....

A

Are

Dear Group,

I am facing a problem with [Manufacturer] section in my INF file.
I have to support 4 OSs , Vista32,Vista64,Win7-32 and Win7-64 bit. For this I
have 4 different Inf files in 4 Os folders like below

MyDrivers
|--LH
|--LH64
|--W7
|--W764

Each folder has "myinstall.inf " file and inside myinstall.inf only platform
specific [Manufacturer] is exist

MyDrivers
|--LH --------- Mydrv.nt.6.0
|--LH64 --------- Mydrv.NTamd64.6.0
|--W7 --------- Mydrv.nt.6.1
|--W764 --------- Mydrv.NTamd64.6.1


Now if I am installing the driver for Win7-64 bit OS, The installer Wizard
should pick the Inf from |--W764 becoz NTamd64.6.1 [Manufacturer] section
is
the correct one.
But It is picking the |--LH64 --------- NTamd64.6.0

I analyzed the reason as, |--LH64 folder is the first appears for Search
operation which has NTamd64.6.0 [Manufacturer] section and its valid for
Vista
and later OSs, as my OS is Win7 and is latest to Vista, the INF taken for
installaion, and tries to load Vista driver for Win7 and gets error.

To resolve this problem i did the folders naming convention in such a way
that, Latest/highest OS must be first in alphabetical order.

MyDrivers
|-- A_W764 --------- Mydrv.NTamd64.6.1
|-- B_W7 --------- Mydrv.nt.6.1
|-- C_LH64 --------- Mydrv.NTamd64.6.0
|-- D_LH --------- Mydrv.nt.6.0

Now the Installer Wizard is picking the correct folder even if I give one
step up folder path(MyDrivers).

How to avoid this Wizard problem, I want the solid [Manufacturer] sections
for a
particular OS. like nt.6.0 is only valid for VISTA.

Please help me in this regrard.

Thanks,
Are
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top