; Windows Virtual Serial Port Setup File
; Copyright (c) 2008 ZTE Incorporated
; Manufacturer: ZTE Incorporated
;
;This INF file installs a virtual COM port on 32-bit and 64-bit Windows OS, such as Windows 2000, Windows XP and Vista.

[Version]
signature  = "$WINDOWS NT$"
Class      = Ports
Provider   = %ZTE%
ClassGuid  = {4D36E978-E325-11CE-BFC1-08002BE10318}
DriverVer  = 07/29/2008,1.2050.0.6
CatalogFile = ZTEusbnmea.cat

[ControlFlags]
ExcludeFromSelect = *

[SourceDisksNames]
1000 = %ZTESRCDISK%,,,""

[SourceDisksFiles]
ZTEusbnmea.sys = 1000,,

[DestinationDirs]
DefaultDestDir = 12
ZTEportInstall.NT.Copy=12

[Manufacturer]
%ZTE% = ZTEcomSerialPort, NTamd64

[ZTEcomSerialPort]
;zte's driver to nmea's interface vid&pid&mi
%ZTEDevice0001%   = ZTEportInstall, USB\VID_19D2&PID_0001&MI_02
%ZTEDevice0002%   = ZTEportInstall, USB\VID_19D2&PID_0002&MI_04
%ZTEDevice0012%   = ZTEportInstall, USB\VID_19D2&PID_0012&MI_04
%ZTEDevice0015%   = ZTEportInstall, USB\VID_19D2&PID_0015&MI_03
%ZTEDevice0016%   = ZTEportInstall, USB\VID_19D2&PID_0016&MI_01
%ZTEDevice0017%   = ZTEportInstall, USB\VID_19D2&PID_0017&MI_01
%ZTEDevice0021%   = ZTEportInstall, USB\VID_19D2&PID_0021&MI_01
%ZTEDevice0025%   = ZTEportInstall, USB\VID_19D2&PID_0025&MI_04
%ZTEDevice0030%   = ZTEportInstall, USB\VID_19D2&PID_0030&MI_03
%ZTEDevice0031%   = ZTEportInstall, USB\VID_19D2&PID_0031&MI_01
%ZTEDevice0033%   = ZTEportInstall, USB\VID_19D2&PID_0033&MI_01
%ZTEDevice0042%   = ZTEportInstall, USB\VID_19D2&PID_0042&MI_01
%ZTEDevice0043%   = ZTEportInstall, USB\VID_19D2&PID_0043&MI_02
%ZTEDevice0048%   = ZTEportInstall, USB\VID_19D2&PID_0048&MI_02
%ZTEDevice0049%   = ZTEportInstall, USB\VID_19D2&PID_0049&MI_02
%ZTEDevice0052%   = ZTEportInstall, USB\VID_19D2&PID_0052&MI_01
%ZTEDevice0055%   = ZTEportInstall, USB\VID_19D2&PID_0055&MI_04
[ZTEcomSerialPort.NTamd64]
;zte's driver to nmea's interface vid&pid&mi
%ZTEDevice0001%   = ZTEportInstall, USB\VID_19D2&PID_0001&MI_02
%ZTEDevice0002%   = ZTEportInstall, USB\VID_19D2&PID_0002&MI_04
%ZTEDevice0012%   = ZTEportInstall, USB\VID_19D2&PID_0012&MI_04
%ZTEDevice0015%   = ZTEportInstall, USB\VID_19D2&PID_0015&MI_03
%ZTEDevice0016%   = ZTEportInstall, USB\VID_19D2&PID_0016&MI_01
%ZTEDevice0017%   = ZTEportInstall, USB\VID_19D2&PID_0017&MI_01
%ZTEDevice0021%   = ZTEportInstall, USB\VID_19D2&PID_0021&MI_01
%ZTEDevice0025%   = ZTEportInstall, USB\VID_19D2&PID_0025&MI_04
%ZTEDevice0030%   = ZTEportInstall, USB\VID_19D2&PID_0030&MI_03
%ZTEDevice0031%   = ZTEportInstall, USB\VID_19D2&PID_0031&MI_01
%ZTEDevice0033%   = ZTEportInstall, USB\VID_19D2&PID_0033&MI_01
%ZTEDevice0042%   = ZTEportInstall, USB\VID_19D2&PID_0042&MI_01
%ZTEDevice0043%   = ZTEportInstall, USB\VID_19D2&PID_0043&MI_02
%ZTEDevice0048%   = ZTEportInstall, USB\VID_19D2&PID_0048&MI_02
%ZTEDevice0049%   = ZTEportInstall, USB\VID_19D2&PID_0049&MI_02
%ZTEDevice0052%   = ZTEportInstall, USB\VID_19D2&PID_0052&MI_01
%ZTEDevice0055%   = ZTEportInstall, USB\VID_19D2&PID_0055&MI_04
[ZTEportInstall.NT]
CopyFiles=ZTEportInstall.NT.Copy
AddReg = All, AddReg.NT

[ZTEportInstall.NT.Copy]
ZTEusbnmea.sys

[ZTEportInstall.NT.Services]
AddService = ZTEusbnmea, 0x00000002, ZTEport_Service_Inst

[ZTEport_Service_Inst]
DisplayName   = %ZTEcomSerialPortName%
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
ServiceBinary = %12%\ZTEusbnmea.sys

[All]
HKR,,NTMPDriver,,ZTEusbnmea.sys

[AddReg.NT]
HKR,,PortSubClass,1,01
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"

[Strings]
ZTE                    = "ZTE Corporation"
ZTESRCDISK             = "ZTE Multimedia USB COM Driver Disk"
ZTEDevice0001          = "ZTE NMEA Device"
ZTEDevice0002          = "ZTE NMEA Device"
ZTEDevice0012          = "ZTE NMEA Device"
ZTEDevice0015          = "ZTE NMEA Device"
ZTEDevice0025          = "ZTE NMEA Device"
ZTEDevice0030          = "ZTE NMEA Device"
ZTEDevice0016          = "ZTE NMEA Device"
ZTEDevice0017          = "ZTE NMEA Device"
ZTEDevice0021          = "ZTE NMEA Device"
ZTEDevice0031          = "ZTE NMEA Device"
ZTEDevice0033          = "ZTE NMEA Device"
ZTEDevice0042          = "ZTE NMEA Device"
ZTEDevice0043          = "ZTE NMEA Device"
ZTEDevice0048          = "ZTE NMEA Device"
ZTEDevice0049          = "ZTE NMEA Device"
ZTEDevice0052          = "ZTE NMEA Device"
ZTEDevice0055          = "ZTE NMEA Device"
ZTEcomSerialPortName   = "ZTE NMEA Port"