home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / WindowsServerTrial / server.iso / sources / install.wim / 4 / Windows / inf / wsdprint.inf < prev    next >
Text (UTF-16)  |  2008-01-19  |  10KB  |  135 lines

  1. ;/*++
  2. ;
  3. ;Copyright (c) Microsoft Corporation.  All rights reserved.
  4. ;
  5. ;Module Name:
  6. ;
  7. ;    WSDPrintDevice.INF
  8. ;
  9. ;Abstract:
  10. ;    INF file for installing WSDPrintDevice device drivers. This is an
  11. ;    extremely simple form of INF. To test this INF, make sure
  12. ;    the WSDPrintDevice class is not previously installed on the system.
  13. ;    If it is installed, you must remove the existing WSDPrintDevice class key
  14. ;    (HKLM\System\CurrentControlSet\Control\Class\{C30ECEA0-11EF-4ef9-B02E-6AF81E6E65C0})
  15. ;    from the registry. Otherwise the setup ignores the entire
  16. ;    [ClassInstall32] section if it finds the WSDPrintDevice class guid
  17. ;    in the registy.
  18. ;
  19. ;--*/
  20.  
  21.  
  22. [SourceDisksNames]
  23. 3426=windows cd
  24.  
  25. [SourceDisksFiles]
  26. wsdprint.sys            = 3426
  27. wsdprpxy.dll            = 3426
  28.  
  29. [Version]
  30. Signature="$WINDOWS NT$"
  31. Class=WSDPrintDevice
  32. ClassGUID={C30ECEA0-11EF-4ef9-B02E-6AF81E6E65C0}
  33. Provider=%MSFT%
  34. DriverVer=06/21/2006,6.0.6001.18000
  35.  
  36. [ControlFlags]
  37. ExcludeFromSelect = *
  38.  
  39. [DestinationDirs]
  40. WSDPrint_Driver.NT.Copy = 12
  41. WSDPrint_Proxy.NT.Copy = 11
  42.  
  43. ;
  44. ;*****************************************
  45. ; WSDPrintDevice Device Install Section
  46. ;*****************************************
  47.  
  48. [Manufacturer]
  49. %MSFT%=Microsoft, NTx86...1, NTx86...2, NTx86...3
  50.  
  51. [Microsoft.NTx86...1]
  52. ; DisplayName                           Section           DeviceId
  53. ; -----------                           -------           --------
  54. %WSDPrintDevice.DeviceDesc%         =   WSDPrint_Device,  UMB\http://schemas.microsoft.com/windows/2006/08/wdp/print/PrinterServiceType
  55.  
  56. [Microsoft.NTx86...2]
  57. ; DisplayName                           Section           DeviceId
  58. ; -----------                           -------           --------
  59. %WSDPrintDevice.DeviceDesc%         =   WSDPrint_Device_Server,  UMB\http://schemas.microsoft.com/windows/2006/08/wdp/print/PrinterServiceType
  60.  
  61. [Microsoft.NTx86...3]
  62. ; DisplayName                           Section           DeviceId
  63. ; -----------                           -------           --------
  64. %WSDPrintDevice.DeviceDesc%         =   WSDPrint_Device_Server,  UMB\http://schemas.microsoft.com/windows/2006/08/wdp/print/PrinterServiceType
  65.  
  66.  
  67. ; ================= Class section =====================
  68. ;
  69. [ClassInstall32]
  70. Addreg=WSDPrintDeviceClassReg
  71.  
  72. [WSDPrintDeviceClassReg]
  73. HKR,,,0,%ClassName%
  74. HKR,,Icon,,-5
  75. HKR,,DeviceCharacteristics,0x10001,0x100     ;Use same security checks on relative opens
  76. HKR,,Security,,"D:P(A;;GA;;;SY)(A;;GA;;;BA)" ;Allow generic all access to system and built-in Admin.
  77.                                              ;This one overrides the security set by the driver
  78. [WSDPrint_Device.NT]
  79. CopyFiles=WSDPrint_Driver.NT.Copy,WSDPrint_Proxy.NT.Copy
  80.  
  81. [WSDPrint_Device.NT.HW]
  82. AddReg=WSDPrint_Device.NT.AddReg
  83.  
  84. [WSDPrint_Device.NT.AddReg]
  85. HKR,,InterfaceGUIDs,0x10000, "{F8580555-8CDF-4396-BAEA-A937CFF94D5A}"
  86. HKR,,DeviceCharacteristics,0x10001,0x0100         ; Use same security checks on relative opens
  87. HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)"      ; Allow generic-all access to Built-in administrators and Local system
  88.  
  89. HKCR,CLSID\{59403862-BDA6-41f8-9C4E-7E5F873A68B3},,,"WSD Print Proxy Class"
  90. HKCR,CLSID\{59403862-BDA6-41f8-9C4E-7E5F873A68B3}\InprocServer32,,,"%11%\WSDPrPxy.dll"
  91. HKCR,CLSID\{59403862-BDA6-41f8-9C4E-7E5F873A68B3}\InprocServer32,"ThreadingModel",,"Both"
  92. HKCR,CLSID\{59403862-BDA6-41f8-9C4E-7E5F873A68B3}\ProgID,,,"FunctionDiscovery.WSDPrintProxy.1"
  93. HKCR,CLSID\{59403862-BDA6-41f8-9C4E-7E5F873A68B3}\VersionIndependentProgID,,,"FunctionDiscovery.WSDPrintProxy"
  94.  
  95. [WSDPrint_Device_Server.NT]
  96. CopyFiles=WSDPrint_Driver.NT.Copy
  97.  
  98. [WSDPrint_Device_Server.NT.HW]
  99. AddReg=WSDPrint_Device_Server.NT.AddReg
  100.  
  101. [WSDPrint_Device_Server.NT.AddReg]
  102. HKR,,InterfaceGUIDs,0x10000, "{F8580555-8CDF-4396-BAEA-A937CFF94D5A}"
  103. HKR,,DeviceCharacteristics,0x10001,0x0100         ; Use same security checks on relative opens
  104. HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)"      ; Allow generic-all access to Built-in administrators and Local system
  105.  
  106. [WSDPrint_Driver.NT.Copy]
  107. WSDPrint.sys
  108.  
  109. [WSDPrint_Proxy.NT.Copy]
  110. WSDPrPxy.dll
  111.  
  112. ;-------------- Service installation
  113.  
  114. [WSDPrint_Device.NT.Services]
  115. AddService = WSDPrintDevice, %SPSVCINST_ASSOCSERVICE%, WSDPrint_Service_Inst
  116.  
  117. [WSDPrint_Device_Server.NT.Services]
  118. AddService = WSDPrintDevice, %SPSVCINST_ASSOCSERVICE%, WSDPrint_Service_Inst
  119.  
  120. [WSDPrint_Service_Inst]
  121. DisplayName    = %WSDPrintDevice.SVCDESC%
  122. ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
  123. StartType      = 3               ; SERVICE_DEMAND_START
  124. ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
  125. ServiceBinary  = %12%\WSDPrint.sys
  126. LoadOrderGroup = Extended Base
  127.  
  128.  
  129. [Strings]
  130. SPSVCINST_ASSOCSERVICE= 0x00000002
  131. MSFT = "Microsoft"
  132. ClassName = "WSD Print Provider"
  133. WSDPrintDevice.DeviceDesc = "WSD Print Device"
  134. WSDPrintDevice.SVCDESC = "WSD Print Support via UMB"
  135.