;
;Copyright (c) 2011 Phoenix Technologies Ltd.  All rights Reserved
;
;Module Name:
;
;    SGDrv.INF
;
;Abstract:
;    INF file for installing SecureGuard driver
;
;

[Version]
Signature   = "$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}  ; system class GUID.
Provider    = %PTL%
DriverVer   = 04/08/2011,1.0.0.7
CatalogFile.ntx86 = SGdrv.cat
CatalogFile.ntamd64 = SGDrv64.cat

[DestinationDirs]
DefaultDestDir = 12

; ============ Disks =================

[SourceDisksNames.x86]
1 = %Disk1%,,,""

[SourceDisksNames.amd64]
1 = %Disk1%,,,""

[SourceDisksFiles.x86]
SGDrv.sys = 1,,

[SourceDisksFiles.amd64]
SGDrv64.sys = 1,,

; ========= Service Installation =========

[Manufacturer]
%PtlMfg%=PtlMfg,NTx86,NTamd64        

[PtlMfg.NTx86]
%SGdrv.DRVDESC%=SGdrv_Inst, root\SGDrv

[PtlMfg.NTamd64]
%SGdrv.DRVDESC%=SGdrv_Inst, root\SGDrv

[SGDrv_Inst.NTx86]
CopyFiles = @SGDrv.sys

[SGDrv_Inst.NTamd64]
CopyFiles = @SGDrv64.sys

[SGDrv_Inst.NTx86.Services]
AddService = %ServiceName%,%SPSVCINST_ASSOCSERVICE%,SGdrv.x86Service

[SGDrv_Inst.NTamd64.Services]
AddService = %ServiceName%,%SPSVCINST_ASSOCSERVICE%,SGdrv.amd64Service

[SGDrv.x86Service]
DisplayName    = %ServiceName%
Description    = %ServiceDesc%
ServiceType    = 1 ;    SERVICE_KERNEL_DRIVER
StartType      = 2 ;    SERVICE_AUTO_START
ErrorControl   = 1 ;    SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\SGdrv.sys

[SGDrv.amd64Service]
DisplayName    = %ServiceName%
Description    = %ServiceDesc%
ServiceType    = 1 ;    SERVICE_KERNEL_DRIVER
StartType      = 2 ;    SERVICE_AUTO_START
ErrorControl   = 1 ;    SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\SGdrv64.sys

[Strings]
PTL           = "Phoenix Technology Ltd"
PtlMfg        = "Phoenix"
ServiceDesc   = "SecureGuard Service"
ServiceName   = "SGDrv"
SGdrv.DRVDESC = "SecureGuard Driver"
Disk1         = "SecureGuard Driver CD"
SPSVCINST_ASSOCSERVICE = 0x00000002



