; Windows Virtual Serial Port Setup File
; Copyright (c) 2006-2010 ZTE CORPORATION
; Manufacturer: ZTE CORPORATION
;
; This INF file installs a virtual COM port on Win2K system.

[Version]
signature  = "$WINDOWS NT$"
Class      = Ports
Provider   = %ZTE%
ClassGuid  = {4D36E978-E325-11CE-BFC1-08002BE10318}
DriverVer  = 04/17/2007,1.2040.0.7
CatalogFile = ZTEDiag_Nmea.cat

[ControlFlags]
ExcludeFromSelect = *

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

[SourceDisksFiles]
ZTEusbser6k.sys = 1000,,
ZTEusbnmea.sys = 1000,,

[DestinationDirs]
DefaultDestDir = 12
ZTEportInstall6k.NT.Copy=12
ZTEportInstallNMEA.NT.Copy=12

[Manufacturer]
%ZTE% = ZTEcomSerialPort

[ZTEcomSerialPort]

%ZTEDIAG19D20001% = ZTEportInstall6k, USB\VID_19D2&PID_0010&MI_01
%ZTENMEA19D20001% = ZTEportInstallNMEA, USB\VID_19D2&PID_0010&MI_02


; ###### Installation Section ######

[ZTEportInstall6k.NT]
CopyFiles=ZTEportInstall6k.NT.Copy
AddReg = All6k, AddReg.NT

[ZTEportInstallNMEA.NT]
CopyFiles=ZTEportInstallNMEA.NT.Copy
AddReg = AllNMEA, AddReg.NT

[ZTEportInstall6k.NT.Copy]
ZTEusbser6k.sys

[ZTEportInstallNMEA.NT.Copy]
ZTEusbnmea.sys

[ZTEportInstall6k.NT.Services]
AddService = ZTEHandsetusbser6k, 0x00000002, ZTEport_Service_Inst6k

[ZTEportInstallNMEA.NT.Services]
AddService = ZTEHandsetusbnmea, 0x00000002, ZTEport_Service_InstNMEA


[ZTEport_Service_Inst6k]
DisplayName   = %ZTEHandsetcomSerialPortName6k%
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
ServiceBinary = %12%\ZTEusbser6k.sys

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

[All6k]
HKR,,NTMPDriver,,ZTEusbser6k.sys

[AllNMEA]
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"

ZTEDIAG19D20001                 = "ZTE Handset Diagnostics Interface"

ZTENMEA19D20001                 = "ZTE Handset NMEA Device"

ZTEHandsetcomSerialPortName6k   = "ZTE Handset Diagnostic COM Port"
ZTEHandsetcomSerialPortNameNMEA = "ZTE Handset NMEA COM Port"