Advertisement
Guest User

Untitled

a guest
Oct 29th, 2015
957
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.12 KB | None | 0 0
  1. ;
  2. ; Biometric Sensor Device - USB
  3. ;
  4. ; Copyright (c) Fingerprint Cards AB
  5. ; ------------------------------------------------------------------------
  6.  
  7.  
  8. [Version]
  9. Signature = "$Windows NT$"
  10. Class = Biometric
  11. ClassGuid = {53D29EF7-377C-4D14-864B-EB3A85769359}
  12. Provider = %FPC%
  13. CatalogFile = SurfaceFingerprintSensor.cat
  14. DriverVer=09/14/2015,2.2.10.4
  15.  
  16. ; =================== Manufacturer/Models sections =======================
  17.  
  18. [Manufacturer]
  19. %FPC% = Fingerprint, NTamd64
  20.  
  21. [Fingerprint.NTamd64]
  22. "Surface Fingerprint Sensor" = FpcUsb_Install_1021, USB\VID_045E&PID_07E4&MI_01
  23. "Surface Fingerprint Sensor" = FpcUsb_Install_1021, USB\VID_045E&PID_07E5&MI_01
  24.  
  25. ; ------------------------------------------------------------------------
  26.  
  27. [FpcUsb_Install_1021.NT]
  28. CopyFiles = UMDriverCopy
  29. CopyFiles = WinBioTouchEngineCopy
  30. AddProperty = Device_Properties
  31. Include = WINUSB.INF
  32. Needs = WINUSB.NT
  33. FeatureScore = 0x00
  34.  
  35. ; ------------------------------------------------------------------------
  36.  
  37. [FpcUsb_Install_1021.NT.hw]
  38. AddReg = Biometric_Device_AddReg
  39. AddReg = DriverPlugInAddReg
  40. AddReg = DriverPlugInAddReg_1021
  41. AddReg = DriverPlugInAddReg_Touch
  42. AddReg = DatabaseAddReg_1021
  43.  
  44. ; ------------------------------------------------------------------------
  45.  
  46. [FpcUsb_Install_1021.NT.Services]
  47. AddService = WUDFRd, 0x01fa, WUDFRD_ServiceInstall
  48. AddService = WinUsb, 0x01f8, WinUsb_ServiceInstall
  49.  
  50. ; ------------------------------------------------------------------------
  51.  
  52. [FpcUsb_Install_1021.NT.CoInstallers]
  53. AddReg = WUDF_CoInstallers_AddReg
  54. CopyFiles = WUDF_CoInstallers_CopyFiles
  55.  
  56. ; ------------------------------------------------------------------------
  57.  
  58. [FpcUsb_Install_1021.NT.Wdf]
  59. KmdfService = WINUSB, WinUsb_Install
  60. UmdfDispatcher = WinUsb
  61. UmdfService = FpcUsb,UMDFFpcUsb_Install
  62. UmdfServiceOrder = FpcUsb
  63. UmdfImpersonationLevel = Impersonation
  64.  
  65. ; ------------------------------------------------------------------------
  66.  
  67. [WinUsb_Install]
  68. KmdfLibraryVersion = 1.11
  69.  
  70. [UMDFFpcUsb_Install]
  71. UmdfLibraryVersion = 1.11.0
  72. DriverCLSID = {7004B9B7-C377-4654-934C-5CB9F1E7C42B}
  73. ServiceBinary = %12%\UMDF\SurfaceFingerprintDriver.dll
  74.  
  75. [WUDFRD_ServiceInstall]
  76. DisplayName = %WudfRdDisplayName%
  77. ServiceType = 1
  78. StartType = 3
  79. ErrorControl = 1
  80. ServiceBinary = %12%\WUDFRd.sys
  81. LoadOrderGroup = Base
  82.  
  83. [WinUsb_ServiceInstall]
  84. DisplayName = %WinUsb_SvcDesc%
  85. ServiceType = 1
  86. StartType = 3
  87. ErrorControl = 1
  88. ServiceBinary = %12%\WinUSB.sys
  89.  
  90. ; ------------------------------------------------------------------------
  91.  
  92. [Device_Properties]
  93. DeviceIcon,,,,"%SYSTEMROOT%\system32\SysClass.dll,-201"
  94.  
  95. ; ------------------------------------------------------------------------
  96.  
  97. [Biometric_Device_AddReg]
  98. HKR,,"DeviceCharacteristics",0x10001,0x0100 ; Use same security checks on relative opens
  99. HKR,,"Security",,"D:P(A;;GA;;;BA)(A;;GA;;;SY)" ; Allow generic-all access to Built-in administrators and Local system
  100. HKR,,"LowerFilters",0x00010008,"WinUsb" ; FLG_ADDREG_TYPE_MULTI_SZ | FLG_ADDREG_APPEND
  101. HKR,,"Exclusive",0x10001,1
  102. HKR,,"SystemWakeEnabled",0x00010001,0
  103. HKR,,"DeviceIdleEnabled",0x00010001,1
  104. HKR,,"UserSetDeviceIdleEnabled",0x00010001,1
  105. HKR,,"DefaultIdleState",0x00010001,1
  106. HKR,,"DefaultIdleTimeout",0x00010001,3000
  107.  
  108. [DriverPlugInAddReg]
  109. HKR,WinBio\Configurations,DefaultConfiguration,,"0"
  110. HKR,WinBio\Configurations\0,SensorMode,0x10001,1 ; Basic - 1, Advanced - 2
  111. HKR,WinBio\Configurations\0,SystemSensor,0x10001,1 ; UAC/Winlogon - 1
  112. HKR,WinBio\Configurations\0,SensorAdapterBinary,,"WinBioSensorAdapter.DLL"
  113. HKR,WinBio\Configurations\0,StorageAdapterBinary,,"WinBioStorageAdapter.DLL"
  114.  
  115. [DriverPlugInAddReg_1021]
  116. HKR,WinBio\Configurations\0,DatabaseId,,"DB192749-088D-2130-13F0-E6129F1E2BEA"
  117.  
  118. [DriverPlugInAddReg_Touch]
  119. HKR,WinBio\Configurations\0,EngineAdapterBinary,,"SurfaceFingerprintEngine.dll"
  120.  
  121. ; ------------------------------------------------------------------------
  122.  
  123. [DatabaseAddReg_1021]
  124. HKLM,System\CurrentControlSet\Services\WbioSrvc\Databases\{DB192749-088D-2130-13F0-E6129F1E2BEA},BiometricType,0x00010001,0x00000008
  125. HKLM,System\CurrentControlSet\Services\WbioSrvc\Databases\{DB192749-088D-2130-13F0-E6129F1E2BEA},Attributes,0x00010001,0x00000001
  126. HKLM,System\CurrentControlSet\Services\WbioSrvc\Databases\{DB192749-088D-2130-13F0-E6129F1E2BEA},Format,,"00000000-0000-0000-0000-000000000000"
  127. HKLM,System\CurrentControlSet\Services\WbioSrvc\Databases\{DB192749-088D-2130-13F0-E6129F1E2BEA},InitialSize,0x00010001,0x00000020
  128. HKLM,System\CurrentControlSet\Services\WbioSrvc\Databases\{DB192749-088D-2130-13F0-E6129F1E2BEA},AutoCreate,0x00010001,0x00000001
  129. HKLM,System\CurrentControlSet\Services\WbioSrvc\Databases\{DB192749-088D-2130-13F0-E6129F1E2BEA},AutoName,0x00010001,0x00000001
  130. HKLM,System\CurrentControlSet\Services\WbioSrvc\Databases\{DB192749-088D-2130-13F0-E6129F1E2BEA},FilePath,,""
  131. HKLM,System\CurrentControlSet\Services\WbioSrvc\Databases\{DB192749-088D-2130-13F0-E6129F1E2BEA},ConnectionString,,""
  132.  
  133. ; ------------------------------------------------------------------------
  134.  
  135. [SourceDisksFiles]
  136. SurfaceFingerprintDriver.dll=1
  137. SurfaceFingerprintEngine.dll=1
  138.  
  139. [SourceDisksNames.amd64]
  140. 1 = %MediaDescription%,,,\x64
  141.  
  142. [WUDF_CoInstallers_AddReg]
  143. HKR,,CoInstallers32,0x00010000,"WUDFCoInstaller.dll"
  144.  
  145. [DestinationDirs]
  146. UMDriverCopy = 12,UMDF
  147. WinBioTouchEngineCopy = 11,WinBioPlugins ; copy to \Windows\System32\WinBioPlugins
  148. WUDF_CoInstallers_CopyFiles = 11
  149.  
  150. [UMDriverCopy]
  151. SurfaceFingerprintDriver.dll
  152.  
  153. [WinBioTouchEngineCopy]
  154. SurfaceFingerprintEngine.dll
  155.  
  156. [WUDF_CoInstallers_CopyFiles]
  157.  
  158. ; ------------------------------------------------------------------------
  159.  
  160. [Strings]
  161. FPC = "Fingerprint Cards AB"
  162. MediaDescription = "Fingerprint Cards Driver Installation Media"
  163. ClassName = "Biometric Sensor Driver"
  164. WudfRdDisplayName = "Windows Driver Foundation - User-mode Driver Framework Reflector"
  165. WinUsb_SvcDesc = "WinUSB Driver"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement