usbip_stub.inx 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. ;/*++
  2. ;
  3. ; INF file for installing USB/IP stub driver
  4. ;
  5. ;--*/
  6. [Version]
  7. Signature="$WINDOWS NT$"
  8. ; USB class cannot be installed via legacy hardware. It can be done via devcon
  9. ;Class=USB
  10. ;ClassGUID={36FC9E60-C465-11CF-8056-444553540000}
  11. Class=System
  12. ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
  13. Provider=%OpenSource%
  14. CatalogFile=usbip_stub.cat
  15. DriverVer = 07/19/2021,0.3.5.0
  16. [Manufacturer]
  17. %StdMfg%=Standard,NTamd64
  18. [Standard.NTamd64]
  19. %DeviceDesc%=usbip_stub_Device, %hwid%
  20. [DestinationDirs]
  21. DefaultDestDir = 12
  22. [SourceDisksNames]
  23. 1 = %DiskId1%,,,""
  24. [SourceDisksFiles]
  25. usbip_stub.sys = 1,,
  26. [Drivers_Dir]
  27. usbip_stub.sys
  28. [usbip_stub_Device.NTamd64]
  29. CopyFiles=Drivers_Dir
  30. [usbip_stub_Device.NTamd64.HW]
  31. AddReg=usbip_stub_Device_AddReg
  32. [usbip_stub_Device_AddReg]
  33. HKR,,DeviceCharacteristics,0x10001,0x0100 ; Use same security checks on relative opens
  34. ;Using default permissions so comment out next lines
  35. ;HKR,,Security,,"D:P(A;;GA;;;SY)(A;;GRGWGX;;;BA)(A;;GRGWGX;;;WD)(A;;GRGWGX;;;RC)" ; Allow generic-all access to all users
  36. ;HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)" ; Allow generic-all access to Built-in administrators and Local system
  37. ;-------------- Service installation
  38. [usbip_stub_Device.NTamd64.Services]
  39. AddService = usbip_stub,%SPSVCINST_ASSOCSERVICE%, usbip_stub_Service_Inst
  40. ; -------------- stub driver install sections
  41. [usbip_stub_Service_Inst]
  42. DisplayName = %ServiceDesc%
  43. ServiceType = 1 ; SERVICE_KERNEL_DRIVER
  44. StartType = 3 ; SERVICE_DEMAND_START
  45. ErrorControl = 1 ; SERVICE_ERROR_NORMAL
  46. ServiceBinary = %12%\usbip_stub.sys
  47. LoadOrderGroup = Extended Base
  48. [Strings]
  49. SPSVCINST_ASSOCSERVICE= 0x00000002
  50. OpenSource = "Open Source"
  51. StdMfg = "USB/IP Project"
  52. DiskId1 = "USB/IP STUB Disk"
  53. DeviceDesc = "USB/IP STUB"
  54. ServiceDesc = "USB/IP STUB Service"