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

[Version]
signature   =  "$WINDOWS NT$"
Class       =  Ports
Provider    =  %HS%
ClassGuid   =  {4D36E978-E325-11CE-BFC1-08002BE10318}
DriverVer   =  03/28/2011,10.2066.1.4
CatalogFile =  ghsat.cat

[ControlFlags]
ExcludeFromSelect = *

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

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

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

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

;-----------------------------------------------------------------------------
; Table of Contents
;-----------------------------------------------------------------------------
[Manufacturer]
%HS% = HScomSerialPort, NTamd64

;-----------------------------------------------------------------------------
; Device-by-device entries
;-----------------------------------------------------------------------------
[HScomSerialPort]
;N910
%HSDevice0275% = HSportInstall, USB\VID_19D2&PID_0275&MI_08
%HSDevice0276% = HSportInstall, USB\VID_19D2&PID_0276&MI_06

[HScomSerialPort.NTamd64]
;N910
%HSDevice0275% = HSportInstall, USB\VID_19D2&PID_0275&MI_08
%HSDevice0276% = HSportInstall, USB\VID_19D2&PID_0276&MI_06

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

[HSportInstall.NT.Copy]
ghsat.sys

[HSportInstall.NT.Services]
AddService = ghsat, 0x00000002, HSport_Service_Inst

[HSport_Service_Inst]
DisplayName   = %HScomSerialPortName%
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
ServiceBinary = %12%\ghsat.sys

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

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

[Strings]
HS                      = "HS Incorporated"
HSSRCDISK               = "HS Multimedia USB COM Driver Disk"
HSDevice0275            = "Handset USB AT Port"
HSDevice0276            = "Handset USB AT Port"
HScomSerialPortName     = "Handset AT Port"