;*****************************************************************************
;
; Windows Virtual Serial Port Setup File
; Copyright (c) 2013
;
;This INF file installs a virtual COM port on 32-bit and 64-bit Windows OS, such as Windows XP, Vista and Win7.
;
;*****************************************************************************

[Version]
signature      =  "$WINDOWS NT$"
Class          =  Ports
Provider       =  %SK%
ClassGuid      =  {4D36E978-E325-11CE-BFC1-08002BE10318}
DriverVer      =  09/04/2012,10.2088.1.1
CatalogFile    =  ghsser.cat

[ControlFlags]
ExcludeFromSelect = *

[SourceDisksNames.x86]
; diskid = description[, [tagfile] [, <unused>, subdir]]
1 = %SKSRCDISK%,,,\i386

[SourceDisksNames.amd64]
; diskid = description[, [tagfile] [, <unused>, subdir]]
1 = %SKSRCDISK%,,,\amd64

[SourceDisksFiles]
; filename = diskid[,[ subdir][, size]]
ghsser.sys = 1,,

;-----------------------------------------------------------------------------
; Specify target paths...
;-----------------------------------------------------------------------------
[DestinationDirs]
DefaultDestDir        = 12
SKportInstall.NT.Copy = 12

;-----------------------------------------------------------------------------
; Table of Contents
;-----------------------------------------------------------------------------
[Manufacturer]
%SK% = SKcomSerialPort, NTamd64

;-----------------------------------------------------------------------------
; Device-by-device entries
;-----------------------------------------------------------------------------
[SKcomSerialPort]
;=====Diag Interface=====
%SKDiagAmoi%       = SKportInstall, USB\VID_1614&PID_0804&MI_01
%SKDiagBMobile%    = SKportInstall, USB\VID_19F5&PID_9013&MI_00
%SKDiagFoxconn%    = SKportInstall, USB\VID_0489&PID_C002

[SKcomSerialPort.NTamd64]
;=====Diag Interface=====
%SKDiagAmoi%       = SKportInstall, USB\VID_1614&PID_0804&MI_01
%SKDiagBMobile%    = SKportInstall, USB\VID_19F5&PID_9013&MI_00
%SKDiagFoxconn%    = SKportInstall, USB\VID_0489&PID_C002

;-----------------------------------------------------------------------------
; Installation instructions
;-----------------------------------------------------------------------------
[SKportInstall.NT]
CopyFiles = SKportInstall.NT.Copy
AddReg    = All, AddReg.NT

[SKportInstall.NT.Copy]
ghsser.sys

[SKportInstall.NT.Services]
AddService = ghsser, 0x00000002, SKport_Service_Inst

[SKport_Service_Inst]
DisplayName   = %SKcomSerialPortName%
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
ServiceBinary = %12%\ghsser.sys

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

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

[Strings]
SK                       = "Sigma Key Team"
SKSRCDISK                = "Sigma Key Team USB COM Driver Disk"
SKcomSerialPortName      = "Handset Serial Port"

;===Diag Interface==
SKDiagAmoi               = "Amoi WP-S1 Diagnostic Interface"
SKDiagBMobile            = "BMobile QW130 Diagnostic Interface"
SKDiagFoxconn            = "Foxconn Diagnostic Interface"
