The content of the generated pscr.inf is almost unchanged :
I only removed the ; on for this particular line CatalogFile=pscr.cat
; PSCR.INF
; Copyright (c) 1998 Microsoft Corporation
[Version]
DriverVer=04/05/2011,6.1.7600.16385
CatalogFile=pscr.cat
Signature=“$Windows NT$”
Class=SmartCardReader
ClassGuid={50DD5230-BA8A-11D1-BF5D-0000F805F530}
Provider=%Msft%
[ControlFlags]
; Prevent legacy install for PnP readers
ExcludeFromSelect=PCMCIA\PSCR-Smart_Card_Reader-488C
[Manufacturer]
%SCM%=SCM, NTia64, NTamd64
; ============ Add reg for all readers ===============
[Reader.Install.AddReg]
HKLM, Software\Microsoft\Cryptography\Calais\Readers,
HKLM, System\CurrentControlSet\Services\SCardSvr,Start,0x00010001,2
HKLM, System\CurrentControlSet\Services\CertPropSvc,Start,0x00010001,2
; ================= SCM readers =====================
[SCM]
; DisplayName Section DeviceId
; ----------- ------- --------
%SCM488C.DeviceDesc% = SCM488C.Install, PCMCIA\PSCR-Smart_Card_Reader-488C
[SCM.NTia64]
%SCM488C.DeviceDesc% = SCM488C.Install.NTia64, PCMCIA\PSCR-Smart_Card_Reader-488C
[SCM.NTamd64]
%SCM488C.DeviceDesc% = SCM488C.Install.NTamd64, PCMCIA\PSCR-Smart_Card_Reader-488C
[SCM488C.Install.NT]
AddReg = SCM488C.Install.AddReg, Reader.Install.AddReg
CopyFiles = SCM488C.Install.CopyFiles
[SCM488C.Install.NTia64]
AddReg = SCM488C.Install.AddReg, Reader.Install.AddReg
CopyFiles = SCM488C.Install.CopyFiles
[SCM488C.Install.NTamd64]
AddReg = SCM488C.Install.AddReg, Reader.Install.AddReg
CopyFiles = SCM488C.Install.CopyFiles
[SCM488C.Install.AddReg]
HKR, AdapterType, 0, “0100”
[SCM488C.Install.CopyFiles]
pscr.sys,2
[SCM488C.Install.NT.Services]
AddService = SCM488C, 2, SCM488C.Service, SCM488C.EventLog
[SCM488C.Install.NTia64.Services]
AddService = SCM488C, 2, SCM488C.Service, SCM488C.EventLog
[SCM488C.Install.NTamd64.Services]
AddService = SCM488C, 2, SCM488C.Service, SCM488C.EventLog
[SCM488C.Service]
DisplayName = %SCM488C.DeviceDesc%
ServiceType = 1 ;%SERVICE_KERNEL_DRIVER%
StartType = 3 ;%SERVICE_AUTO_START%
ErrorControl = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\pscr.sys
[SCM488C.EventLog]
AddReg = SCM488C.AddEventLog.reg
[SCM488C.AddEventLog.reg]
HKR, EventMessageFile, 0x00020000, “%%SystemRoot%%\System32\drivers\pscr.sys”
HKR, TypesSupported, 0x00010001, 7
[DestinationDirs]
DefaultDestDir = 12
SCM488C.Install.CopyFiles = 12
[SourceDisksNames]
1 = %InstallDisk%,pscr.sys,
[SourceDisksFiles]
pscr.sys = 1
;
;— SCM488C.Install_Device WDF Coinstaller installation ------
;
[DestinationDirs]
SCM488C_CoInstaller_CopyFiles = 11
[SCM488C.Install.NT.CoInstallers]
AddReg=SCM488C_CoInstaller_AddReg
CopyFiles=SCM488C_CoInstaller_CopyFiles
[SCM488C_CoInstaller_AddReg]
HKR,CoInstallers32,0x00010000, “wdfcoinstaller01009.dll,WdfCoInstaller”
[SCM488C_CoInstaller_CopyFiles]
wdfcoinstaller01009.dll
[SourceDisksFiles]
wdfcoinstaller01009.dll=1 ; make sure the number matches with SourceDisksNames
[SCM488C.Install.NT.Wdf]
KmdfService = SCM488C, SCM488C_Wdfsection
[SCM488C_Wdfsection]
KmdfLibraryVersion = 1.9
; ================= Strings =====================
[Strings]
Msft = “Microsoft”
SCM = “SCM Microsystems”
SCM488C.DeviceDesc = “SCM 488C PCMCIA Smart Card Reader”
ClassName = “Smart Card Readers”
InstallDisk = “SCM 488C Installation Disk”
Does it make sense to you?