summaryrefslogtreecommitdiff
path: root/smartcrd/pscr/pscr.inx
blob: 5e62eee66451473922a8073cc24a8bc863c241c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
; PSCR.INF
; Copyright (c) 1998 Microsoft Corporation

[Version]
Signature="$Windows NT$"
Provider=%ProviderName%
Class=SmartCardReader
ClassGuid={50DD5230-BA8A-11D1-BF5D-0000F805F530}
DriverVer=01/01/2007,6.0.6000.0
CatalogFile = pscr.cat
PnpLockdown = 1

[ControlFlags]
; Prevent legacy install for PnP readers
ExcludeFromSelect=PCMCIA\PSCR-Smart_Card_Reader-488C

[Manufacturer]
%SCM%=SCM, NTx86, NTia64, NTamd64, NTarm64

; ================= SCM readers =====================
; DisplayName       	Section          DeviceId
; -----------       	-------          --------

[SCM.NTx86]
%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

[SCM.NTarm64]
%SCM488C.DeviceDesc% = 	SCM488C.Install.NTarm64, PCMCIA\PSCR-Smart_Card_Reader-488C


[SCM488C.Install.NT]
AddReg    = SCM488C.Install.AddReg
CopyFiles = SCM488C.Install.CopyFiles

[SCM488C.Install.NTia64]
AddReg    = SCM488C.Install.AddReg
CopyFiles = SCM488C.Install.CopyFiles

[SCM488C.Install.NTamd64]
AddReg    = SCM488C.Install.AddReg
CopyFiles = SCM488C.Install.CopyFiles

[SCM488C.Install.NTarm64]
AddReg    = SCM488C.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.Install.NTarm64.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
SCM488C_CoInstaller_CopyFiles = 11

[SourceDisksNames]
1 = %InstallDisk%,pscr.sys,,

[SourceDisksFiles]
pscr.sys = 1
wdfcoinstaller$KMDFCOINSTALLERVERSION$.dll=1 ; make sure the number matches with SourceDisksNames

;
;--- SCM488C.Install_Device WDF Coinstaller installation ------
;
[SCM488C.Install.NT.CoInstallers]
AddReg=SCM488C_CoInstaller_AddReg
CopyFiles=SCM488C_CoInstaller_CopyFiles

[SCM488C_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "wdfcoinstaller$KMDFCOINSTALLERVERSION$.dll,WdfCoInstaller"

[SCM488C_CoInstaller_CopyFiles]
wdfcoinstaller$KMDFCOINSTALLERVERSION$.dll


[SCM488C.Install.NT.Wdf]
KmdfService = SCM488C, SCM488C_Wdfsection

[SCM488C_Wdfsection]
KmdfLibraryVersion = $KMDFVERSION$


; ================= Strings =====================

[Strings]
ProviderName       = "TODO-Set-Provider"
SCM                = "SCM Microsystems"
SCM488C.DeviceDesc = "SCM 488C PCMCIA Smart Card Reader"
ClassName          = "Smart Card Readers"
InstallDisk        = "SCM 488C Installation Disk"