Jump to content

How to add DefaultInstall to inf file


Recommended Posts

Guest Bostjan Glazar
Posted

The CDM drivers from FTDI:

 

http://www.ftdichip.com/Drivers/CDM/CDM%202.06.00%20WHQL%20Certified.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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...