Hi,
I have developed an .inf file for a PCI serial controller and i am trying to install it on a windows 32-bit system. I am trying to upgrade the existing driver for the controller to my driver. Below is how i am upgrading the driver.
In the first screen to update the driver i select “Browse my computer for driver software” and next “Let me pick from a list of device drivers on my computer” and next i choose “Have disk” and point it to my .inf file.
As soon as i point to the .inf file, i get an error screen “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”.
I ran ChkInf on the .inf file and it passed without errors or warnings.
I made sure that the device ID, Vendor ID and Subsystem ID are valid, by referring the .inf file from the h/w vendor.
The class GUID and device class are also same as what they are in the vendor supplied .inf file.
Below are the contents of .inf file.
[Version]
Signature=$CHICAGO$
Class=MultiPortSerial
ClassGuid={50906CB8-BA12-11D1-BF5D-0000F805F530}
Provider=%PROVIDER%
DriverVer=06/03/2014, 3.00.2064
CatalogFile=Controllerdriver.cat
[Manufacturer]
%MFGNAME%=DeviceList,NTx86
[DeviceList]
[DeviceList.ntx86]
%DESCRIPTION_795812D8%=DriverInstall_795812D8,PCI\VEN_12D8&DEV_7958&SUBSYS_795812D8&REV_00
%DESCRIPTION_795812D8%=DriverInstall_795812D8,PCI\VEN_12D8&DEV_7958&SUBSYS_795812D8
;----------------------------------------------------------------------------------------------
;%DESCRIPTION_795412D8%=DriverInstall_795412D8,PCI\VEN_12D8&DEV_7954&SUBSYS_795412D8&REV_00
;%DESCRIPTION_795412D8%=DriverInstall_795412D8,PCI\VEN_12D8&DEV_7954&SUBSYS_795412D8
;----------------------------------------------------------------------------------------------
%DESCRIPTION_40C03525%=DriverInstall_40C03525_8,PCI\VEN_12D8&DEV_7958&SUBSYS_40C03525
;%DESCRIPTION_40C03525%=DriverInstall_40C03525_4,PCI\VEN_12D8&DEV_7954&SUBSYS_40C03525
;----------------------------------------------------------------------------------------------
%DESCRIPTION_CCCCCCCC%=DriverInstall_CCCCCCCC_8,PCI\VEN_12D8&DEV_7958&SUBSYS_CCCCCCCC&REV_00
;%DESCRIPTION_CCCCCCCC%=DriverInstall_CCCCCCCC_4,PCI\VEN_12D8&DEV_7954&SUBSYS_CCCCCCCC&REV_00
;----------------------------------------------------------------------------------------------
%DESCRIPTION_DDDDDDDD%=DriverInstall_DDDDDDDD_8,PCI\VEN_12D8&DEV_7958&SUBSYS_DDDDDDDD&REV_00
;%DESCRIPTION_DDDDDDDD%=DriverInstall_DDDDDDDD_4,PCI\VEN_12D8&DEV_7954&SUBSYS_DDDDDDDD&REV_00
;----------------------------------------------------------------------------------------------
%DESCRIPTION_EEEEEEEE%=DriverInstall_EEEEEEEE_8,PCI\VEN_12D8&DEV_7958&SUBSYS_EEEEEEEE&REV_00
;%DESCRIPTION_EEEEEEEE%=DriverInstall_EEEEEEEE_4,PCI\VEN_12D8&DEV_7954&SUBSYS_EEEEEEEE&REV_00
;-----------------------------(PORT 8)-----------------------------------------------
[DriverInstall_795812D8.NTx86]
CopyFiles = Driver.Sys.CopyFiles ;,Driver.Dll.CopyFiles
;CopyINF = ptlser.inf ;check if it fails
;Include = msports.inf
;Needs = SerialEnumerator.NT
[DriverInstall_795812D8.NTx86.Services]
AddService= ptlser_c,2,DriverService,DriverLogging
;Include = msports.inf
;Needs = SerialEnumerator.NT.Services
[DriverInstall_795812D8.NTx86.HW]
AddReg = DriverInstall_795812D8.AddReg,Controller_addreg
[DriverInstall_795812D8.AddReg]
HKR,NumPorts,0x00010001,8
HKR,GPIO,0x00010001,0
HKR,FriendlyName,%FRIENDLYNAME_795812D8%
[Controller_addreg]
HKR,Interrupt Management,0x00000010
HKR,Interrupt Management\MessageSignaledInterruptProperties,0x00000010
HKR,Interrupt Management\MessageSignaledInterruptProperties,MSISupported,0x00010001,1
;-------------------------------pci lock---------------------------------------------------
[DriverInstall_40C03525_8.NTx86]
CopyFiles = Driver.Sys.CopyFiles ;,Driver.Dll.CopyFiles
;CopyINF = ptlser.inf
;Include = msports.inf
;Needs = SerialEnumerator.NT
[DriverInstall_40C03525_8.NTx86.Services]
AddService= ptlser_c,2,DriverService,DriverLogging
;Include = msports.inf
;Needs = SerialEnumerator.NT.Services
[DriverInstall_40C03525_8.NTx86.HW]
AddReg = DriverInstall_40C03525_8.AddReg,Controller_addreg_8
[DriverInstall_40C03525_8.AddReg]
HKR,NumPorts,0x00010001,8
HKR,GPIO,0x00010001,0
HKR,FriendlyName,%FRIENDLYNAME_40C03525%
[Controller_addreg_8]
HKR,Interrupt Management,0x00000010
HKR,Interrupt Management\MessageSignaledInterruptProperties,0x00000010
HKR,Interrupt Management\MessageSignaledInterruptProperties,MSISupported,0x00010001,1
;----------------------------------ccccccccc--------------------------------------------------
[DriverInstall_CCCCCCCC_8.NTx86]
CopyFiles = Driver.Sys.CopyFiles ;,Driver.Dll.CopyFiles
;CopyINF = ptlser.inf
;Include = msports.inf
;Needs = SerialEnumerator.NT
[DriverInstall_CCCCCCCC_8.NTx86.Services]
AddService= ptlser_c,2,DriverService,DriverLogging
;Include = msports.inf
;Needs = SerialEnumerator.NT.Services
[DriverInstall_CCCCCCCC_8.NTx86.HW]
AddReg = DriverInstall_CCCCCCCC_8.AddReg,Controller_addreg_CCCC
[DriverInstall_CCCCCCCC_8.AddReg]
HKR,NumPorts,0x00010001,8
HKR,GPIO,0x00010001,0
HKR,FriendlyName,%FRIENDLYNAME_CCCCCCCC%
[Controller_addreg_CCCC]
HKR,Interrupt Management,0x00000010
HKR,Interrupt Management\MessageSignaledInterruptProperties,0x00000010
HKR,Interrupt Management\MessageSignaledInterruptProperties,MSISupported,0x00010001,1
;-------------------------------DDDDDDDDDDD-------------------------------------------------
[DriverInstall_DDDDDDDD_8.NTx86]
CopyFiles = Driver.Sys.CopyFiles ;,Driver.Dll.CopyFiles
;CopyINF = ptlser.inf
;Include = msports.inf
;Needs = SerialEnumerator.NT
[DriverInstall_DDDDDDDD_8.NTx86.Services]
AddService= ptlser_c,2,DriverService,DriverLogging
;Include = msports.inf
;Needs = SerialEnumerator.NT.Services
[DriverInstall_DDDDDDDD_8.NTx86.HW]
AddReg = DriverInstall_DDDDDDDD_8.AddReg,Controller_addreg_DDDD
[DriverInstall_DDDDDDDD_8.AddReg]
HKR,NumPorts,0x00010001,8
HKR,GPIO,0x00010001,0
HKR,FriendlyName,%FRIENDLYNAME_DDDDDDDD%
[Controller_addreg_DDDD]
HKR,Interrupt Management,0x00000010
HKR,Interrupt Management\MessageSignaledInterruptProperties,0x00000010
HKR,Interrupt Management\MessageSignaledInterruptProperties,MSISupported,0x00010001,1
;----------------------------------EEEEEEEEEEE----------------------------------------------
[DriverInstall_EEEEEEEE_8.NTx86]
CopyFiles = Driver.Sys.CopyFiles ;,Driver.Dll.CopyFiles
;CopyINF = ptlser.inf
;Include = msports.inf
;Needs = SerialEnumerator.NT
[DriverInstall_EEEEEEEE_8.NTx86.Services]
AddService= ptlser_c,2,DriverService,DriverLogging
;Include = msports.inf
;Needs = SerialEnumerator.NT.Services
[DriverInstall_EEEEEEEE_8.NTx86.HW]
AddReg = DriverInstall_EEEEEEEE_8.AddReg,Controller_addreg_EEEE
[DriverInstall_EEEEEEEE_8.AddReg]
HKR,NumPorts,0x00010001,8
HKR,GPIO,0x00010001,0
HKR,FriendlyName,%FRIENDLYNAME_EEEEEEEE%
[Controller_addreg_EEEE]
HKR,Interrupt Management,0x00000010
HKR,Interrupt Management\MessageSignaledInterruptProperties,0x00000010
HKR,Interrupt Management\MessageSignaledInterruptProperties,MSISupported,0x00010001,1
;-------------------------------------------------------------------------------------------
[Driver.Sys.CopyFiles]
Controllerdriver.sys,2
[DriverService]
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\Controllerdriver.sys
[DriverLogging]
AddReg = DriverLogging.AddReg
[DriverLogging.AddReg]
HKR,EventMessageFile,0x00020000,“%11%\iologmsg.dll;%12%\Controllerdriver.sys”
HKR,TypesSupported,0x00010001,7
;------------------------------------------------------------------------------
; Source Disk Files
;------------------------------------------------------------------------------
[SourceDisksFiles]
Controllerdriver.sys=1
;ptlport.dll=1
;ptlser64.sys=1
;ptlport64.dll=1
[SourceDisksNames]
1 = %INSTDISK%
[DestinationDirs]
DefaultDestDir=11
Driver.Sys.CopyFiles=12
;Driver.Dll.CopyFiles=11
;Driver.Sys.ntamd64.CopyFiles=12
;Driver.Dll.ntamd64.CopyFiles=11
[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
PROVIDER = “HCLT”
MFGNAME = “HCLT”
INSTDISK =“Installation Disc”
DESCRIPTION_795812D8 = “PI7C9X7958 PCI UART Device (8 ports)”
FRIENDLYNAME_795812D8 = “Pericom PI7C9X7958 PCI UART Device”
DESCRIPTION_40C03525 = “Masterclock PCI Express”
FRIENDLYNAME_40C03525 = “Masterclock PCI Express”
DESCRIPTION_CCCCCCCC = “PCIe/PCI-UART Devices”
FRIENDLYNAME_CCCCCCCC = “PCIe/PCI-UART Devices”
DESCRIPTION_DDDDDDDD = “Express card/CardBus-UART Devices”
FRIENDLYNAME_DDDDDDDD = “Express card/CardBus-UART Devices”
DESCRIPTION_EEEEEEEE = "High speed Multi-UART Device "
FRIENDLYNAME_EEEEEEEE = “High speed Multi-UART Device”
;StdMfg = “(Standard system devices)”
;DiskId1 = “Toaster Static Bus Installation Disk #1”
;ToasterStatBus.DeviceDesc = “Toaster Static Bus Enumerator”
;statbus.SVCDESC = “Toaster Static Bus Enumerator”
Could somebody please point out where is the error?