;
;   Leadshine USB CDC (serial) driver installation file.
; 	Change Record: 
;	Data: 2019-07-29  $baoyoubing ### change ManufacturerName and CatalogFilename
; 	Copyright (c) 2019 Leadshine
;  
[Version]
Signature="$Windows NT$"
Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%ManufacturerName%
CatalogFile=usb_driver_ec.cat
DriverVer=29/06/2019,1.0.7
PnpLockDown=1

[Manufacturer]
%ManufacturerName%=DeviceList, NTamd64.10, NTarm.10, NTarm64.10, NTx86.10
[SourceDisksNames]
1=%Disk_Description%,"%CatalogFilename%.cat"

[SourceDisksFiles]
usb_driver_ec.sys = 1

[DestinationDirs]
DefaultDestDir=12

;------------------------------------------------------------------------------
;  Windows 64-bit Win10 Sections
;------------------------------------------------------------------------------

[DeviceList.NTamd64.10]
%DESCRIPTION%=DriverInstall, USB\VID_058B&PID_0058

;------------------------------------------------------------------------------
;  Windows 32-bit Win10 Sections of ARM
;------------------------------------------------------------------------------
[DeviceList.NTarm.10]
%DESCRIPTION%=DriverInstall, USB\VID_058B&PID_0058

;------------------------------------------------------------------------------
;  Windows 64-bit Win10 Sections of ARM
;------------------------------------------------------------------------------
[DeviceList.NTarm64.10]
%DESCRIPTION%=DriverInstall, USB\VID_058B&PID_0058

;------------------------------------------------------------------------------
;  Windows 32-bit Win10 Sections
;------------------------------------------------------------------------------
[DeviceList.NTx86.10]
%DESCRIPTION%=DriverInstall, USB\VID_058B&PID_0058

[DriverInstall]
AddReg=DriverInstall.AddReg
CopyFiles=DriverCopyFiles
FeatureScore=0x40

[DriverCopyFiles]
usb_driver_ec.sys

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

[DriverInstall.Services]
AddService=usb_driver_ec, 0x00000002, DriverService

[DriverService]
DisplayName=%SERVICE%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\usb_driver_ec.sys

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

[Strings]
CatalogFilename="usb_driver_ec"
ManufacturerName = "Leadshine"
Disk_Description = "Leadshine USB Installation Disk"
DESCRIPTION = "Leadshine Driver"
SERVICE     = "Leadshine CDC Driver"


