; usb_device.inf

[Strings]
DeviceName = "Maple Serial"
VendorName = "LeafLabs, LLC"
SourceName = "Maple Serial Install Disk"
DeviceID   = "VID_1EAF&PID_0004"
DeviceGUID = "{0A8015E2-EC15-4270-878D-FACCC22F89BC}"

[Version]
Signature   = "$Windows NT$"
Class       = Ports
ClassGuid   = {4D36E978-E325-11CE-BFC1-08002BE10318}
Provider    = %VendorName%
CatalogFile = usb_device.cat
DriverVer   = 07/18/2015, 1.0.0.0

[Manufacturer]
%VendorName%=DeviceList, NTamd64, NTia64

[DestinationDirs]
FakeModemCopyFileSection=12
DefaultDestDir=12

[DeviceList]
%DeviceName% = DriverInstall, USB\%DeviceID%

[DeviceList.NTamd64]
%DeviceName% = DriverInstall, USB\%DeviceID%

[DeviceList.NTia64]
%DeviceName% = DriverInstall, USB\%DeviceID%

[DriverInstall]
include=mdmcpq.inf,usb.inf
CopyFiles = FakeModemCopyFileSection
AddReg=DriverAddReg

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

[DriverInstall.Services]
include=mdmcpq.inf
AddService=usbser, 0x00000002, DriverService

[DriverService]
DisplayName=%ServiceName%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\usbser.sys
LoadOrderGroup=Base
