; Windows Virtual Serial Port Setup File
; Copyright (c) 2005,2006,2007,2008, Amoi Incorporated
; Manufacturer: Amoi Incorporated
;
; This INF file installs a virtual COM port on Win2K system.

[Version]
signature  = "$WINDOWS NT$"
Class      = Ports
Provider   = %Amoi%
ClassGuid  = {4D36E978-E325-11CE-BFC1-08002BE10318}
DriverVer  = 08/28/2006,1.0.0.10

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

[SourceDisksFiles]
qcusbmdm.sys = 1000

[ControlFlags]
ExcludeFromSelect = *

[DestinationDirs]
DefaultDestDir = 12

[Manufacturer]
%AMOI% = AmoiSerialPort

[AmoiSerialPort]
%AmoiDevice6k%   = AportInstall6k, USB\VID_1614&PID_0404&MI_01
%AmoiDeviceNMEA% = AportInstallNMEA, USB\VID_1614&PID_0404&MI_02

; ###### Installation Section ######
[AportInstall6k.NT]
CopyFiles = FakePortCopyFileSection6k
AddReg = All6k, AddReg.NT

[AportInstallNMEA.NT]
CopyFiles = FakePortCopyFileSectionNMEA
AddReg = AllNMEA, AddReg.NT

[AportInstall6k.NT.Services]
AddService = qcusbser6k, 0x00000002, Aport_Service_Inst6k

[AportInstallNMEA.NT.Services]
AddService = qcusbnmea, 0x00000002, Aport_Service_InstNMEA

[Aport_Service_Inst6k]
DisplayName   = %AmoiSerialPortName6k%
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
ServiceBinary = %12%\qcusbser6k.sys

[Aport_Service_InstNMEA]
DisplayName   = %AmoiSerialPortNameNMEA%
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
ServiceBinary = %12%\qcusbnmea.sys

[FakePortCopyFileSection6k]
qcusbser6k.sys, qcusbmdm.sys,,0x20

[FakePortCopyFileSectionNMEA]
qcusbnmea.sys,  qcusbmdm.sys,,0x20

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

[AllNMEA]
HKR,,NTMPDriver,,qcusbnmea.sys

[AddReg.NT]
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce",0x00000010
HKR,,PortSubClass,1,01
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"

[Strings]
Amoi   = "Amoi Incorporated"
ACSRCDISK = "MD-1 Multimedia USB Driver Disk"
AmoiDevice6k = "MD-1 Diagnostics Interface"
AmoiDeviceNMEA = "MD-1 NMEA Device"
AmoiSerialPortName6k = "MD-1 Diagnostic Port"
AmoiSerialPortNameNMEA = "MD-1 NMEA Port"
