This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

USB inf for win7 32bit and 64bit not working.

Dear All,

I have below INF which is said to be working for vista, win7 32 bit and 64 bit.
But i am not able to get the com port using this INF. I am getting code28 error.

Please find the INF i am using.

Can any one tell what is missing to run this INF successfully for win 7 32-bit and 64 bit.

;
; Keil - An ARM Company Communication Device Class driver installation file
; (C)2007-2008 Copyright
;

[Version]
Signature="$Windows NT$"
Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%Keil%
;;; LayoutFile=layout.inf ;; not supported in Vista and later
DriverVer =04/14/2008, 5.1.2600.5512
; CatalogFile=mcb2300-vcom.cat

[Manufacturer]
%Keil%=DeviceList,ntamd64

;------------------------------------------------------------------------------
; Device list
;------------------------------------------------------------------------------

[DeviceList]
%DESCRIPTION%=MCB2300USB, USB¥VID_c251&PID_1705
%COMPOSITE% =MCB2300USB, USB¥VID_FF28&PID_0001&MI_01

[DeviceList.ntamd64]
%DESCRIPTION%=MCB2300USB, USB¥VID_c251&PID_1705
%COMPOSITE% =MCB2300USB, USB¥VID_FF28&PID_0001&MI_01

;------------------------------------------------------------------------------
; Installation
;------------------------------------------------------------------------------

[SourceDisksNames]
;;; this blank section satisfies chkinf
[SourceDisksFiles]
;;; this blank section satisfies chkinf

[DestinationDirs]
FakeModemCopyFileSection=12
DefaultDestDir = 12

[MCB2300USB]
include=mdmcpq.inf
CopyFiles=FakeModemCopyFileSection
AddReg=MCB2300USB.AddReg

[MCB2300USB.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usbser.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"

[MCB2300USB.Services]
AddService=usbser, 0x00000002, DriverService

[DriverService]
DisplayName=%DRIVER.SVC%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%¥usbser.sys

;------------------------------------------------------------------------------
; String Definitions
;------------------------------------------------------------------------------

[Strings]
Keil = "Keil - An ARM Company"
DRIVER.SVC = "MCB2300 USB VCom Driver"
DESCRIPTION= "MCB2300 USB VCom Port"
COMPOSITE = "MCB2300 MSC-CDC COM Port"

0