;------------------------------------------------------------------------------
;   INF file for Guardant USB dongles
;
;   (for Windows XP and later)
;
;   (C) 1996-2017 Aktiv Co.
;
;------------------------------------------------------------------------------

[Version]
Signature="$WINDOWS NT$"
Provider=%Aktiv%
Class=GuardantDongles
ClassGuid={c29cc2e3-bc48-4b74-9043-2c6413ffa784}
; month/day/year
DriverVer=04/17/2023,7.0.224.0
CatalogFile=grdusb_ntx86.cat
CatalogFile.NTamd64=grdusb_ntamd64.cat
DriverPackageType=PlugAndPlay

;------------------------------------------------------------------------------
;                           Device Install section
;------------------------------------------------------------------------------

[Manufacturer]
%Aktiv%=DeviceList,NTamd64

[DeviceList]
%Stealth1Name%=DriverInstall, USB\VID_0A89&PID_0001
%Stealth2Name%=DriverInstall, USB\VID_0A89&PID_0003
%Stealth2Name%=DriverInstall, USB\VID_0A89&PID_0007
%Stealth3Name%=DriverInstall, USB\VID_0A89&PID_0006
%FidusName%=DriverInstall, USB\VID_0A89&PID_0005
%SignName%=DriverInstall, USB\VID_0A89&PID_0008&REV_0200&MI_00
%SignName%=DriverInstall, USB\VID_0A89&PID_0008&REV_0100
%CodeName%=DriverInstall, USB\VID_0A89&PID_0009
%SignProName%=DriverInstall, USB\VID_0A89&PID_000A&MI_00
%CodeProName%=DriverInstall, USB\VID_0A89&PID_00C0&MI_00

[DeviceList.NTamd64]
%Stealth1Name%=DriverInstall.NTamd64, USB\VID_0A89&PID_0001
%Stealth2Name%=DriverInstall.NTamd64, USB\VID_0A89&PID_0003
%Stealth2Name%=DriverInstall.NTamd64, USB\VID_0A89&PID_0007
%Stealth3Name%=DriverInstall.NTamd64, USB\VID_0A89&PID_0006
%FidusName%=DriverInstall.NTamd64, USB\VID_0A89&PID_0005
%SignName%=DriverInstall.NTamd64, USB\VID_0A89&PID_0008&REV_0200&MI_00
%SignName%=DriverInstall.NTamd64, USB\VID_0A89&PID_0008&REV_0100
%CodeName%=DriverInstall.NTamd64, USB\VID_0A89&PID_0009
%CodeProName%=DriverInstall, USB\VID_0A89&PID_00C0&MI_00

[ControlFlags]

[SourceDisksNames]
1="Guardant USB Dongle Install Disk",,0

[SourceDisksFiles]
grdusb.sys=1
grdcls.dll=1

[DestinationDirs]
DriverInstall.CopyFiles=10,System32\Drivers
DefaultDestDir=11

;------------------------------------------------------------------------------
;                           Windows NT/x86 platform
;------------------------------------------------------------------------------

[DriverInstall.NT]
CopyFiles=DriverInstall.CopyFiles
AddReg=DriverInstall.AddReg.NT

[DriverInstall.NT.Services]
AddService=GrdUsb,0x00000002,DriverInstall.AddService

;------------------------------------------------------------------------------
;                           Windows NT/x64 platform
;------------------------------------------------------------------------------

[DriverInstall.NTamd64]
CopyFiles=DriverInstall.CopyFiles
AddReg=DriverInstall.AddReg.NT

[DriverInstall.NTamd64.Services]
AddService=GrdUsb,0x00000002,DriverInstall.AddService

;------------------------------------------------------------------------------
;                           Both Windows NT platforms
;------------------------------------------------------------------------------

[DriverInstall.AddService]
DisplayName    = %ServiceName%
ServiceType    = 1 ; SERVICE_KERNEL_DRIVER
StartType      = 3 ; SERVICE_AUTO_START
ErrorControl   = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\grdusb.sys
LoadOrderGroup = Base

[DriverInstall.AddReg.NT]
HKR,"Parameters","USBCheck",0x0001,0x01
HKLM,%SFTPARAMETERS%,"Version",0x00010001,0x00000700
HKLM,%SFTPARAMETERS%,"Build",0x00010001,0x000000E0

;------------------------------------------------------------------------------
;                           Both platforms
;------------------------------------------------------------------------------

[DriverInstall.CopyFiles]
grdusb.sys,,,0x60   ; replace newer, suppress dialog

;------------------------------------------------------------------------------
;                           String Definitions
;------------------------------------------------------------------------------

[Strings]
Aktiv="Aktiv Company"
Stealth1Name="Guardant Stealth"
Stealth2Name="Guardant Stealth II"
Stealth3Name="Guardant Stealth III"
FidusName="Guardant Fidus"
SignName="Guardant Sign"
CodeName="Guardant Code"
SignProName="Guardant Sign Pro"
CodeProName="Guardant Code Pro"
ServiceName="Guardant USB service"
SFTPARAMETERS="Software\Aktiv\Guardant\Drivers"
