;
;   Leadshine USB CDC (serial) driver installation file.
; 	Change Record: 
;	Data: 2019-06-06  $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=06/06/2019,1.0.3
PnpLockDown=1

[Manufacturer]
%MFGNAME%=DeviceList, NTx86, NTamd64 

[SourceDisksNames]
1=%Disk_Description%,"%CatalogFilename%.cat"

[SourceDisksFiles]
lscdcser.sys = 1

[DestinationDirs]
DefaultDestDir=12

;------------------------------------------------------------------------------
;  Windows 32-bit 2000/XP/Vista/Win7 Sections
;------------------------------------------------------------------------------

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

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

[DriverCopyFiles]
lscdcser.sys

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

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

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


;------------------------------------------------------------------------------
;  Windows 64-bit Vista/Win7 Sections
;------------------------------------------------------------------------------

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

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

[DriverCopyFiles.NTamd64]
lscdcser.sys

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

[DriverInstall.NTamd64.Services]
AddService=lscdcser, 0x00000002, DriverService.NTamd64

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

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

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


