; Copyright 2016 OpenMV, LLC.

[Strings]
DriverPackageDisplayName="OpenMV Cam USB Driver"
ManufacturerName="OpenMV, LLC (http://www.openmv.io)"
ServiceName="USB RS-232 Emulation Driver"
description="OpenMV Cam USB COM Port"

[DefaultInstall]
CopyINF=openmv.inf

[Version]
Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Signature="$Windows NT$"
Provider=%ManufacturerName%
DriverPackageDisplayName=%DriverPackageDisplayName%
CatalogFile=openmv.cat
DriverVer=09/09/2016,1.1.1.0

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

[DestinationDirs]
FakeModemCopyFileSection=12
DefaultDestDir=12

[DeviceList]
%description%=DriverInstall,USB\VID_1209&PID_abd1&MI_00,USB\VID_1209&PID_abd1&MI_01

[DeviceList.NTamd64]
%description%=DriverInstall,USB\VID_1209&PID_abd1&MI_00,USB\VID_1209&PID_abd1&MI_01

[DeviceList.NTia64]
%description%=DriverInstall,USB\VID_1209&PID_abd1&MI_00,USB\VID_1209&PID_abd1&MI_01

[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
