Skip to main content

 none
problem when installing a driver from .inf file RRS feed

  • Question

  • i have rebuilt the driver simbatt from the Driver SDK :

    but i have a problem with the setup or the install of this driver ,

    when i use the dialog box of the device manager to install it , it says  that :

    "the folder you specified doesn't contain a compatible software driver for your device, if the folder contains a driver, make sure it is designed to work with Windows for 32-bit systems."

    my .inf file is 


    [Version]
    Signature="$WINDOWS NT$"
    Class=Battery
    ClassGuid={72631e54-78a4-11d0-bcf7-00aa00b7b32a}
    Provider=%MyCo%
    CatalogFile=simbatt.cat

    [DestinationDirs]
    DefaultDestDir = 12

    [SourceDisksNames]
    1 = %DiskId1%,,,""


    [SourceDisksFiles]
    simbatt.sys  = 1,,

    [Manufacturer]
    %MyCo%=MyCompany

    [MyCompany]
    %pnpid.DeviceDesc% = simbatt_Inst,pnpid
    %ACPI\acpidevnum.DeviceDesc% = simbatt_Inst,ACPI\acpidevnum

    [simbatt_Inst]
    CopyFiles = SimBatt_Device_Drivers

    [SimBatt_Device_Drivers]
    simbatt.sys


    [simbatt_Inst.Services]
    AddService = simbatt,2,simbatt_Service_Inst    ; function driver for the device
     
    [simbatt_Service_Inst]
    DisplayName    = %simbatt.SvcDesc%
    ServiceType    = 1 ;    SERVICE_KERNEL_DRIVER
    StartType      = 3 ;    SERVICE_DEMAND_START
    ErrorControl   = 1 ;    SERVICE_ERROR_NORMAL%
    ServiceBinary  = %12%\simbatt.sys


    [Strings]
    SPSVCINST_ASSOCSERVICE= 0x00000002
    MyCo = "myCom"
    StdMfg = "hhh"
    ClassName = "Battery"
    DiskId1 = "Simulated Battery Installation Disk"
    pnpid.DeviceDesc = "Simulated Battery"
    ACPI\acpidevnum.DeviceDesc = "Simulated Battery"
    simbatt.SvcDesc = "Simulated Battery"


    Wednesday, December 12, 2018 4:16 PM

All replies