1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to add DefaultInstall to inf file

Discussion in 'Windows XP' started by Bostjan Glazar, Jun 3, 2010.

  1. Bostjan Glazar

    Bostjan Glazar Flightless Bird

    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
     

Share This Page