; GTwinUSB.inf ; Copyright (c) 2002 Gemplus [Version] Signature="$CHICAGO$" Class=SmartCardReader ClassGuid={50DD5230-BA8A-11D1-BF5D-0000F805F530} provider=%MFGNAME1% ;CatalogFile=GTwinUSB.cat DriverVer=10/04/2002,1.0.0.4 [ControlFlags] ; Prevent legacy install for PnP readers ExcludeFromSelect = * [Manufacturer] %MFGNAME1%=DeviceListMfg1,NTx86.5.1 [DestinationDirs] DriverCopyFiles = 10,System32\Drivers DefaultDestDir = 10,System32\Drivers [SourceDisksFiles] GTwinUSB.sys=1 ;GTwinUSB.inf=1 [SourceDisksNames] 1=%INSTDISK%,, [DeviceListMfg1.NTx86.5.1] %USB\VID_08E6&PID_3437.DeviceDesc%=DriverInstallB, USB\VID_08E6&PID_3437 [DeviceListMfg1] %USB\VID_08E6&PID_3437.DeviceDesc%=DriverInstallA, USB\VID_08E6&PID_3437 ;------------------------------------------------------------------------------ ; Windows XP and later, x86 only ;------------------------------------------------------------------------------ [DriverInstallB] CopyFiles=DriverCopyFiles [DriverInstallB.Services] Addservice = GTwinUSB, 2, DriverService,EventLogging [DriverInstallB.hw] AddReg=DriverHwAddReg ;------------------------------------------------------------------------------ ; Windows 2000 Sections ;------------------------------------------------------------------------------ [DriverInstallA.NT] CopyFiles=DriverCopyFiles [DriverCopyFiles] GTwinUSB.sys,,,2 [DriverInstallA.NT.Services] Addservice = GTwinUSB, 2, DriverService,EventLogging [DriverService] ServiceType = 1 ; SERVICE_KERNEL_DRIVER StartType = 3 ; SERVICE_DEMAND_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary = %10%\System32\Drivers\GTwinUSB.sys [EventLogging] AddReg=EventLogAddReg [EventLogAddReg] HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\system32\drivers\GTwinUSB.sys" HKR,,TypesSupported,0x00010001,7 [DriverInstallA.nt.hw] AddReg=DriverHwAddReg,Reader.Install.AddReg [DriverHwAddReg] HKLM,System\CurrentControlSet\Services\SCardSvr,Start,0x00010001,2 ; ============ Add reg for all readers =============== [Reader.Install.AddReg] 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 ;------------------------------------------------------------------------------ ; Windows 98 Sections ;------------------------------------------------------------------------------ [DriverInstallA] AddReg=DriverAddReg CopyFiles=DriverCopyFiles, InfCopyFiles [InfCopyFiles] ;GTwinUSB.inf [DriverAddReg] HKR,,DevLoader,,*ntkern HKR,,NTMPDriver,,GTwinUSB.sys ;[DriverInstall.hw] ;AddReg=DriverHwAddReg [Strings] MFGNAME1="Gemplus" USB\VID_08E6&PID_3437.DeviceDesc = "USB Smart Card Reader" INSTDISK="Installation Disc for USB Smart Card Reader"