TapDriver.inf 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. ;
  2. ; TapDriver.inf
  3. ;
  4. [Version]
  5. Signature="$WINDOWS NT$"
  6. Class=Sample ; TODO: edit Class
  7. ClassGuid={78A1C341-4539-11d3-B88D-00C04FAD5171} ; TODO: edit ClassGuid
  8. Provider=%ManufacturerName%
  9. CatalogFile=TapDriver.cat
  10. DriverVer= ; TODO: set DriverVer in stampinf property pages
  11. [DestinationDirs]
  12. DefaultDestDir = 12
  13. ; ================= Class section =====================
  14. [ClassInstall32]
  15. Addreg=SampleClassReg
  16. [SampleClassReg]
  17. HKR,,,0,%ClassName%
  18. HKR,,Icon,,-5
  19. [SourceDisksNames]
  20. 1 = %DiskName%,,,""
  21. [SourceDisksFiles]
  22. TapDriver.sys = 1,,
  23. ;*****************************************
  24. ; Install Section
  25. ;*****************************************
  26. [Manufacturer]
  27. %ManufacturerName%=Standard,NT$ARCH$
  28. [Standard.NT$ARCH$]
  29. %TapDriver.DeviceDesc%=TapDriver_Device, Root\TapDriver ; TODO: edit hw-id
  30. [TapDriver_Device.NT]
  31. CopyFiles=Drivers_Dir
  32. [Drivers_Dir]
  33. TapDriver.sys
  34. ;-------------- Service installation
  35. [TapDriver_Device.NT.Services]
  36. AddService = TapDriver,%SPSVCINST_ASSOCSERVICE%, TapDriver_Service_Inst
  37. ; -------------- TapDriver driver install sections
  38. [TapDriver_Service_Inst]
  39. DisplayName = %TapDriver.SVCDESC%
  40. ServiceType = 1 ; SERVICE_KERNEL_DRIVER
  41. StartType = 3 ; SERVICE_DEMAND_START
  42. ErrorControl = 1 ; SERVICE_ERROR_NORMAL
  43. ServiceBinary = %12%\TapDriver.sys
  44. LoadOrderGroup = Extended Base
  45. ;
  46. ;--- TapDriver_Device Coinstaller installation ------
  47. ;
  48. [DestinationDirs]
  49. TapDriver_Device_CoInstaller_CopyFiles = 11
  50. [TapDriver_Device.NT.CoInstallers]
  51. AddReg=TapDriver_Device_CoInstaller_AddReg
  52. CopyFiles=TapDriver_Device_CoInstaller_CopyFiles
  53. [TapDriver_Device_CoInstaller_AddReg]
  54. HKR,,CoInstallers32,0x00010000, "WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll,WdfCoInstaller"
  55. [TapDriver_Device_CoInstaller_CopyFiles]
  56. WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll
  57. [SourceDisksFiles]
  58. WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll=1 ; make sure the number matches with SourceDisksNames
  59. [TapDriver_Device.NT.Wdf]
  60. KmdfService = TapDriver, TapDriver_wdfsect
  61. [TapDriver_wdfsect]
  62. KmdfLibraryVersion = $KMDFVERSION$
  63. [Strings]
  64. SPSVCINST_ASSOCSERVICE= 0x00000002
  65. ManufacturerName="" ; TODO: add ManufacturerName
  66. ClassName="Samples" ; TODO: edit ClassName
  67. DiskName = "TapDriver Installation Disk"
  68. TapDriver.DeviceDesc = "TapDriver Device"
  69. TapDriver.SVCDESC = "TapDriver Service"