; ACG2.INF
; Copyright (c) 2011 HID Global Corporation

[Version]
Signature = $Windows NT$
Class = SmartCardReader
ClassGuid = {50DD5230-BA8A-11D1-BF5D-0000F805F530}
Provider = %company%
DriverVer = 05/02/2011,2.1.1.3
CatalogFile = ACG2.cat

; =================== Files section =======================

[DestinationDirs]
DefaultDestDir     = 12
SuiteFiles_x86     = 11
SuiteFiles_x64     = 11

[SourceDisksNames]
1=%devicename_common% Drivers Disk,,

[SourceDisksFiles]
ACG2X86.sys=1,,
ACG2X86.cpl=1,,
ACG2X64.sys=1,,
ACG2X64.cpl=1,,

[DriverFiles_x86]
ACG2X86.sys

[SuiteFiles_x86]
ACG2X86.cpl

[DriverFiles_x64]
ACG2X64.sys

[SuiteFiles_x64]
ACG2X64.cpl

; =================== PID/OS section ======================

[Manufacturer]
%company%                         = Entry, NT.6.0, NT, ntamd64.6.0, ntamd64

[Entry]
%devicename_common%               = DriverInstall.NT, USB\VID_0403&PID_DD20
%devicename_dual%                 = DriverInstall.NT, USB\VID_076B&PID_5543
%devicename_multiiso%             = DriverInstall.NT, USB\VID_076B&PID_5553

[Entry.NT]
%devicename_common%               = DriverInstall.NT, USB\VID_0403&PID_DD20
%devicename_dual%                 = DriverInstall.NT, USB\VID_076B&PID_5543
%devicename_multiiso%             = DriverInstall.NT, USB\VID_076B&PID_5553

[Entry.ntamd64]
%devicename_common%               = DriverInstall.ntamd64, USB\VID_0403&PID_DD20
%devicename_dual%                 = DriverInstall.ntamd64, USB\VID_076B&PID_5543
%devicename_multiiso%             = DriverInstall.ntamd64, USB\VID_076B&PID_5553

[Entry.NT.6.0]
%devicename_common%               = DriverInstall.NT.6.0, USB\VID_0403&PID_DD20
%devicename_dual%                 = DriverInstall.NT.6.0, USB\VID_076B&PID_5543
%devicename_multiiso%             = DriverInstall.NT.6.0, USB\VID_076B&PID_5553

[Entry.ntamd64.6.0]
%devicename_common%               = DriverInstall.ntamd64.6.0, USB\VID_0403&PID_DD20
%devicename_dual%                 = DriverInstall.ntamd64.6.0, USB\VID_076B&PID_5543
%devicename_multiiso%             = DriverInstall.ntamd64.6.0, USB\VID_076B&PID_5553

[DriverInstall.NT]
AddReg                            = Common_Addreg
CopyFiles                         = DriverFiles_x86, SuiteFiles_x86

[DriverInstall.ntamd64]
AddReg                            = Common_Addreg
CopyFiles                         = DriverFiles_x64, SuiteFiles_x64

[DriverInstall.NT.6.0]
AddReg                            = Common_Addreg
CopyFiles                         = DriverFiles_x86, SuiteFiles_x86

[DriverInstall.ntamd64.6.0]
AddReg                            = Common_Addreg
CopyFiles                         = DriverFiles_x64, SuiteFiles_x64

; =================== Service section ======================

[DriverInstall.NT.Services]
AddService                        = %drivername%, 2, Driver_x86_Service

[DriverInstall.ntamd64.Services]
AddService                        = %drivername%, 2, Driver_x64_Service

[DriverInstall.NT.6.0.Services]
AddService                        = %drivername%, 2, Driver_x86_Service

[DriverInstall.ntamd64.6.0.Services]
AddService                        = %drivername%, 2, Driver_x64_Service

[Driver_x86_Service]
ServiceType                       = 1
ErrorControl                      = 1
StartType                         = 3
DisplayName                       = %devicename_common%
ServiceBinary                     = %12%\ACG2X86.sys
AddReg                            = Driver_AddReg

[Driver_x64_Service]
ServiceType                       = 1
ErrorControl                      = 1
StartType                         = 3
DisplayName                       = %devicename_common%
ServiceBinary                     = %12%\ACG2X64.sys
AddReg                            = Driver_AddReg

[Driver_AddReg]
HKR,"Parameters",Version,,%version%

[Common_Addreg]
HKLM,"SYSTEM\CurrentControlSet\Services\SCardSvr",Start,0x00010001,2
HKLM, Software\Microsoft\Cryptography\Calais\Readers,,,
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,DLLName,0,wlnotify.dll
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Logon,0,SCardStartCertProp
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Logoff,0,SCardStopCertProp
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Lock,0,SCardSuspendCertProp
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Unlock,0,SCardResumeCertProp
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Enabled,0x00010001,1
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Impersonate,0x00010001,1
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Asynchronous,0x00010001,1

[Strings]
company                    = "HID Global Corporation"
drivername                 = "ACG2"
devicename_common          = "OMNIKEY 55x3 Reader (USB)"
devicename_dual            = "OMNIKEY 5543 Reader (USB)"
devicename_multiiso        = "OMNIKEY 5553 Reader (USB)"
version = "2.1.1.3"
