Skip to content

Commit 895594b

Browse files
E-ID Reader
1 parent 7c6400e commit 895594b

13 files changed

+261
-0
lines changed
2.85 MB
Binary file not shown.
1.13 MB
Binary file not shown.

Packages/E-ID Reader/README.md

Whitespace-only changes.

Packages/E-ID Reader/Script.intunewin

4.64 MB
Binary file not shown.

Packages/E-ID Reader/Script.ps1

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
Set-ExecutionPolicy Bypass
2+
3+
$Transcript_Path = "$env:TEMP\" + $app + ".log"
4+
Start-Transcript $Transcript_Path
5+
6+
try{
7+
8+
Write "Installing Middleware"
9+
$install='BeidMW_64_5.1.8.6030.msi'
10+
start-process $install -argumentList '/quiet /norestart' -Wait
11+
Write "Installation launched"
12+
13+
Write "Installing Viewer"
14+
$install2='BeidViewer_5.1.8.6019.msi'
15+
start-process $install2 -argumentList '/quiet /norestart' -Wait
16+
Write "Installation launched"
17+
18+
Write "Installing the certificate"
19+
certutil -addstore TrustedPublisher fedict_codesigning.cer
20+
Write "Installation launched"
21+
22+
Write "Installing the driver"
23+
pnputil /add-driver beidmdrv.inf
24+
Write "Installation launched"
25+
26+
Write "Installation finished"
27+
28+
Stop-Transcript
29+
30+
exit 0
31+
}catch{
32+
33+
Stop-Transcript
34+
35+
exit 1618
36+
}

Packages/E-ID Reader/beidmdrv.cat

11.3 KB
Binary file not shown.

Packages/E-ID Reader/beidmdrv.inf

+161
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,161 @@
1+
;
2+
;Belgium eID Smartcard Minidriver for an x86 and x64 based package.
3+
;
4+
5+
[Version]
6+
Signature="$Windows NT$"
7+
Class=SmartCard
8+
ClassGuid={990A2BD7-E738-46c7-B26F-1CF8FB9F1391}
9+
Provider=%BOSA%
10+
CatalogFile=beidmdrv.cat
11+
DriverVer=02/02/2022,5.0.27.1
12+
;MMDDYYYY
13+
[Manufacturer]
14+
%BOSA%=Bosa,NTamd64.6.1,NTx86.6.1
15+
16+
;Windows 7 and beyond, 64bit amd64
17+
[Bosa.NTamd64.6.1]
18+
%BosaCardDeviceName%=Bosa64_61_Install,SCFILTER\CID_a503010101ad1310
19+
%BosaCardDeviceName%=Bosa64_61_Install,SCFILTER\CID_a503010101ad1311
20+
%BosaCardDeviceName%=Bosa64_61_Install,SCFILTER\CID_80318065b085040120120fff829000
21+
22+
;Windows 7 and beyond, 32bit x86
23+
[Bosa.NTx86.6.1]
24+
%BosaCardDeviceName%=Bosa32_61_Install,SCFILTER\CID_a503010101ad1310
25+
%BosaCardDeviceName%=Bosa32_61_Install,SCFILTER\CID_a503010101ad1311
26+
%BosaCardDeviceName%=Bosa32_61_Install,SCFILTER\CID_80318065b085040120120fff829000
27+
28+
[SourceDisksFiles]
29+
beidmdrv64.dll=1
30+
beidmdrv32.dll=1
31+
32+
[SourceDisksNames]
33+
1 = %MediaDescription%
34+
35+
[Bosa64_61_Install.NT]
36+
CopyFiles=amd64_CopyFiles
37+
CopyFiles=wow64_CopyFiles
38+
AddReg=AddRegWOW64
39+
AddReg=AddRegDefault64
40+
Include=umpass.inf
41+
Needs=UmPass
42+
43+
[Bosa32_61_Install.NT]
44+
CopyFiles=x86_CopyFiles
45+
AddReg=AddRegDefault32
46+
Include=umpass.inf
47+
Needs=UmPass
48+
49+
[Bosa64_61_Install.NT.Services]
50+
Include=umpass.inf
51+
Needs=UmPass.Services
52+
53+
[Bosa32_61_Install.NT.Services]
54+
Include=umpass.inf
55+
Needs=UmPass.Services
56+
57+
58+
[Bosa64_61_Install.NT.HW]
59+
Include=umpass.inf
60+
Needs=UmPass.HW
61+
62+
[Bosa64_61_Install.NT.CoInstallers]
63+
Include=umpass.inf
64+
Needs=UmPass.CoInstallers
65+
66+
67+
[Bosa64_61_Install.NT.Interfaces]
68+
Include=umpass.inf
69+
Needs=UmPass.Interfaces
70+
71+
72+
[Bosa32_61_Install.NT.HW]
73+
Include=umpass.inf
74+
Needs=UmPass.HW
75+
76+
[Bosa32_61_Install.NT.CoInstallers]
77+
Include=umpass.inf
78+
Needs=UmPass.CoInstallers
79+
80+
81+
[Bosa32_61_Install.NT.Interfaces]
82+
Include=umpass.inf
83+
Needs=UmPass.Interfaces
84+
85+
86+
[amd64_CopyFiles]
87+
beidmdrv64.dll
88+
89+
[x86_CopyFiles]
90+
beidmdrv32.dll
91+
92+
[wow64_CopyFiles]
93+
beidmdrv32.dll
94+
95+
[AddRegDefault32]
96+
HKLM, %SmartCardName%,"ATR",0x00000001,3b,98,00,40,00,a5,03,01,01,01,ad,13,00
97+
HKLM, %SmartCardName%,"ATRMask",0x00000001,ff,ff,00,ff,00,ff,ff,ff,ff,ff,ff,ff,00
98+
HKLM, %SmartCardName%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
99+
HKLM, %SmartCardName%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
100+
HKLM, %SmartCardName%,"80000001",0x00000000,"beidmdrv32.dll"
101+
HKLM, %SmartCardName%,"80000100",0x00000000,"en-US,Please enter your PIN;en-EN,Please enter your PIN;nl-BE,Geef uw PIN in;nl-NL,Geef uw PIN in;fr-BE,Entrez votre code PIN;fr-FR,Entrez votre code PIN;de-DE,Bitte geben Sie Ihre PIN ein"
102+
HKLM, %SmartCardName%,"80000103",0x00000000,"en-US,Please enter your PIN;en-EN,Please enter your PIN;nl-BE,Geef uw PIN in;nl-NL,Geef uw PIN in;fr-BE,Entrez votre code PIN;fr-FR,Entrez votre code PIN;de-DE,Bitte geben Sie Ihre PIN ein"
103+
104+
HKLM, %SmartCardName_v18%,"ATR",0x00000001,3b,7f,96,00,00,80,31,80,65,b0,85,04,01,20,12,0f,ff,82,90,00
105+
HKLM, %SmartCardName_v18%,"ATRMask",0x00000001,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff
106+
HKLM, %SmartCardName_v18%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
107+
HKLM, %SmartCardName_v18%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
108+
HKLM, %SmartCardName_v18%,"80000001",0x00000000,"beidmdrv32.dll"
109+
HKLM, %SmartCardName_v18%,"80000100",0x00000000,"en-US,Please enter your PIN;en-EN,Please enter your PIN;nl-BE,Geef uw PIN in;nl-NL,Geef uw PIN in;fr-BE,Entrez votre code PIN;fr-FR,Entrez votre code PIN;de-DE,Bitte geben Sie Ihre PIN ein"
110+
HKLM, %SmartCardName_v18%,"80000103",0x00000000,"en-US,Please enter your PIN;en-EN,Please enter your PIN;nl-BE,Geef uw PIN in;nl-NL,Geef uw PIN in;fr-BE,Entrez votre code PIN;fr-FR,Entrez votre code PIN;de-DE,Bitte geben Sie Ihre PIN ein"
111+
112+
[AddRegDefault64]
113+
HKLM, %SmartCardName%,"ATR",0x00000001,3b,98,00,40,00,a5,03,01,01,01,ad,13,00
114+
HKLM, %SmartCardName%,"ATRMask",0x00000001,ff,ff,00,ff,00,ff,ff,ff,ff,ff,ff,ff,00
115+
HKLM, %SmartCardName%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
116+
HKLM, %SmartCardName%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
117+
HKLM, %SmartCardName%,"80000001",0x00000000,"beidmdrv64.dll"
118+
HKLM, %SmartCardName%,"80000100",0x00000000,"en-US,Please enter your PIN;en-EN,Please enter your PIN;nl-BE,Geef uw PIN in;nl-NL,Geef uw PIN in;fr-BE,Entrez votre code PIN;fr-FR,Entrez votre code PIN;de-DE,Bitte geben Sie Ihre PIN ein"
119+
HKLM, %SmartCardName%,"80000103",0x00000000,"en-US,Please enter your PIN;en-EN,Please enter your PIN;nl-BE,Geef uw PIN in;nl-NL,Geef uw PIN in;fr-BE,Entrez votre code PIN;fr-FR,Entrez votre code PIN;de-DE,Bitte geben Sie Ihre PIN ein"
120+
121+
HKLM, %SmartCardName_v18%,"ATR",0x00000001,3b,7f,96,00,00,80,31,80,65,b0,85,04,01,20,12,0f,ff,82,90,00
122+
HKLM, %SmartCardName_v18%,"ATRMask",0x00000001,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff
123+
HKLM, %SmartCardName_v18%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
124+
HKLM, %SmartCardName_v18%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
125+
HKLM, %SmartCardName_v18%,"80000001",0x00000000,"beidmdrv64.dll"
126+
HKLM, %SmartCardName_v18%,"80000100",0x00000000,"en-US,Please enter your PIN;en-EN,Please enter your PIN;nl-BE,Geef uw PIN in;nl-NL,Geef uw PIN in;fr-BE,Entrez votre code PIN;fr-FR,Entrez votre code PIN;de-DE,Bitte geben Sie Ihre PIN ein"
127+
HKLM, %SmartCardName_v18%,"80000103",0x00000000,"en-US,Please enter your PIN;en-EN,Please enter your PIN;nl-BE,Geef uw PIN in;nl-NL,Geef uw PIN in;fr-BE,Entrez votre code PIN;fr-FR,Entrez votre code PIN;de-DE,Bitte geben Sie Ihre PIN ein"
128+
129+
[AddRegWOW64]
130+
HKLM, %SmartCardNameWOW64%,"ATR",0x00000001,3b,98,00,40,00,a5,03,01,01,01,ad,13,00
131+
HKLM, %SmartCardNameWOW64%,"ATRMask",0x00000001,ff,ff,00,ff,00,ff,ff,ff,ff,ff,ff,ff,00
132+
HKLM, %SmartCardNameWOW64%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
133+
HKLM, %SmartCardNameWOW64%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
134+
HKLM, %SmartCardNameWOW64%,"80000001",0x00000000,"beidmdrv32.dll"
135+
HKLM, %SmartCardNameWOW64%,"80000100",0x00000000,"en-US,Please enter your PIN;en-EN,Please enter your PIN;nl-BE,Geef uw PIN in;nl-NL,Geef uw PIN in;fr-BE,Entrez votre code PIN;fr-FR,Entrez votre code PIN;de-DE,Bitte geben Sie Ihre PIN ein"
136+
HKLM, %SmartCardNameWOW64%,"80000103",0x00000000,"en-US,Please enter your PIN;en-EN,Please enter your PIN;nl-BE,Geef uw PIN in;nl-NL,Geef uw PIN in;fr-BE,Entrez votre code PIN;fr-FR,Entrez votre code PIN;de-DE,Bitte geben Sie Ihre PIN ein"
137+
138+
HKLM, %SmartCardNameWOW64_v18%,"ATR",0x00000001,3b,7f,96,00,00,80,31,80,65,b0,85,04,01,20,12,0f,ff,82,90,00
139+
HKLM, %SmartCardNameWOW64_v18%,"ATRMask",0x00000001,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff
140+
HKLM, %SmartCardNameWOW64_v18%,"Crypto Provider",0x00000000,"Microsoft Base Smart Card Crypto Provider"
141+
HKLM, %SmartCardNameWOW64_v18%,"Smart Card Key Storage Provider",0x00000000,"Microsoft Smart Card Key Storage Provider"
142+
HKLM, %SmartCardNameWOW64_v18%,"80000001",0x00000000,"beidmdrv32.dll"
143+
HKLM, %SmartCardNameWOW64_v18%,"80000100",0x00000000,"en-US,Please enter your PIN;en-EN,Please enter your PIN;nl-BE,Geef uw PIN in;nl-NL,Geef uw PIN in;fr-BE,Entrez votre code PIN;fr-FR,Entrez votre code PIN;de-DE,Bitte geben Sie Ihre PIN ein"
144+
HKLM, %SmartCardNameWOW64_v18%,"80000103",0x00000000,"en-US,Please enter your PIN;en-EN,Please enter your PIN;nl-BE,Geef uw PIN in;nl-NL,Geef uw PIN in;fr-BE,Entrez votre code PIN;fr-FR,Entrez votre code PIN;de-DE,Bitte geben Sie Ihre PIN ein"
145+
146+
[DestinationDirs]
147+
amd64_CopyFiles=10,system32
148+
x86_CopyFiles=10,system32
149+
wow64_CopyFiles=10,syswow64
150+
151+
152+
; =================== Generic ==================================
153+
154+
[Strings]
155+
BOSA="Bosa https://eid.belgium.be"
156+
MediaDescription="Belgium eID Smart Card Minidriver Installation Disk"
157+
BosaCardDeviceName="Belgium eID Minidriver for Smart Card"
158+
SmartCardName="SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\Beid"
159+
SmartCardNameWOW64="SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\Beid"
160+
SmartCardName_v18="SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\Beid_v18"
161+
SmartCardNameWOW64_v18="SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\Beid_v18"

Packages/E-ID Reader/beidmdrv32.dll

395 KB
Binary file not shown.

Packages/E-ID Reader/beidmdrv64.dll

511 KB
Binary file not shown.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
-----BEGIN CERTIFICATE-----
2+
MIIHrzCCBZegAwIBAgIMP4ARbwi+/dcPr0aQMA0GCSqGSIb3DQEBCwUAMFwxCzAJ
3+
BgNVBAYTAkJFMRkwFwYDVQQKExBHbG9iYWxTaWduIG52LXNhMTIwMAYDVQQDEylH
4+
bG9iYWxTaWduIEdDQyBSNDUgRVYgQ29kZVNpZ25pbmcgQ0EgMjAyMDAeFw0yMTA5
5+
MjMwOTIyMTNaFw0yNDExMjkxNTMwNDFaMIH4MR0wGwYDVQQPDBRQcml2YXRlIE9y
6+
Z2FuaXphdGlvbjEVMBMGA1UEBRMMMDQwOC40MjUuNjI2MRMwEQYLKwYBBAGCNzwC
7+
AQMTAkJFMQswCQYDVQQGEwJCRTEmMCQGA1UECAwdUsOpZ2lvbiBkZSBCcnV4ZWxs
8+
ZXMtQ2FwaXRhbGUxEjAQBgNVBAcTCUJydXhlbGxlczEcMBoGA1UECRMTUnVlIGRl
9+
IFN0cmFzYm91cmcgMzERMA8GA1UEChMIWkVURVMgU0ExETAPBgNVBAMTCFpFVEVT
10+
IFNBMR4wHAYJKoZIhvcNAQkBFg9pdEBiZS56ZXRlcy5jb20wggIiMA0GCSqGSIb3
11+
DQEBAQUAA4ICDwAwggIKAoICAQDTOZAm4ACdM1wld+xKA2Py+uE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----END CERTIFICATE-----

Packages/E-ID Reader/intune.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
description:
2+
en: "Belgian E-ID Reader software"
3+
fr: "Belgian E-ID Reader software"
4+
nl: "Belgian E-ID Reader software"
5+
displayName:
6+
en: "E-ID Reader"
7+
fr: "E-ID Reader"
8+
nl: "E-ID Reader"
9+
publisher: "Belgium"
10+
logoUrl: "/logo.png"
11+
packageUrl: "/Script.intunewin"
12+
installation:
13+
account: user
14+
installCommand: powershell.exe -executionpolicy bypass .\Script.ps1 -app
15+
uninstallCommand: powershell.exe -executionpolicy bypass .\Script.ps1 -app
16+
detection:
17+
file:
18+
- detectionType: exists
19+
path: "C:\\Program Files (x86)\\Belgium Identity Card\\BeID Minidriver"
20+
fileOrFolderName: "beidmdrv.inf"

Packages/E-ID Reader/logo.png

3.48 KB
Loading

0 commit comments

Comments
 (0)