How to add DefaultInstall to inf file

B

Bostjan Glazar

The CDM drivers from FTDI:
http://www.ftdichip.com/Drivers/CDM/CDM 2.06.00 WHQL Certified.zip
do not have DefaultInstall section in its inf files. So you cannot install
the driver with right-click Install. That's the way I've been using to
pre-install the driver from InstallShield.
I tried to add the DefaultInstall to ftdibus.inf myself, but nothing
happens. I had some success with ftdiport.inf, but I actually need
ftdibus.inf.

Can anyone help me with modification?

Here is what I added:
[DefaultInstall.NT]
CopyFile=FtdiBus.NT.Copy,FtdiBus.NT.Copy2,FtdiBus.Inf
AddReg=FtdiBus.NT.AddReg

[DefaultInstall.NTamd64]
CopyFiles=FtdiBus.NTamd64.Copy,FtdiBus.NTamd64.Copy2,FtdiBus.NTamd64.Copy3,FtdiBus.Inf
AddReg=FtdiBus.NT.AddReg

[DefaultInstall.NT.Services]
AddService = FTDIBUS, 0x00000002, FtdiBus.NT.AddService

[DefaultInstall.NTamd64.Services]
AddService = FTDIBUS, 0x00000002, FtdiBus.NT.AddService


I also added parts to copy inf file:
to both [SourceDisksFiles]
ftdibus.inf = 1

[FtdiBus.Inf]
ftdibus.inf
 

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