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 >
Wrap
Text (UTF-16)
|
2008-01-19
|
10KB
|
135 lines
;/*++
;
;Copyright (c) Microsoft Corporation. All rights reserved.
;
;Module Name:
;
; WSDPrintDevice.INF
;
;Abstract:
; INF file for installing WSDPrintDevice device drivers. This is an
; extremely simple form of INF. To test this INF, make sure
; the WSDPrintDevice class is not previously installed on the system.
; If it is installed, you must remove the existing WSDPrintDevice class key
; (HKLM\System\CurrentControlSet\Control\Class\{C30ECEA0-11EF-4ef9-B02E-6AF81E6E65C0})
; from the registry. Otherwise the setup ignores the entire
; [ClassInstall32] section if it finds the WSDPrintDevice class guid
; in the registy.
;
;--*/
[SourceDisksNames]
3426=windows cd
[SourceDisksFiles]
wsdprint.sys = 3426
wsdprpxy.dll = 3426
[Version]
Signature="$WINDOWS NT$"
Class=WSDPrintDevice
ClassGUID={C30ECEA0-11EF-4ef9-B02E-6AF81E6E65C0}
Provider=%MSFT%
DriverVer=06/21/2006,6.0.6001.18000
[ControlFlags]
ExcludeFromSelect = *
[DestinationDirs]
WSDPrint_Driver.NT.Copy = 12
WSDPrint_Proxy.NT.Copy = 11
;
;*****************************************
; WSDPrintDevice Device Install Section
;*****************************************
[Manufacturer]
%MSFT%=Microsoft, NTx86...1, NTx86...2, NTx86...3
[Microsoft.NTx86...1]
; DisplayName Section DeviceId
; ----------- ------- --------
%WSDPrintDevice.DeviceDesc% = WSDPrint_Device, UMB\http://schemas.microsoft.com/windows/2006/08/wdp/print/PrinterServiceType
[Microsoft.NTx86...2]
; DisplayName Section DeviceId
; ----------- ------- --------
%WSDPrintDevice.DeviceDesc% = WSDPrint_Device_Server, UMB\http://schemas.microsoft.com/windows/2006/08/wdp/print/PrinterServiceType
[Microsoft.NTx86...3]
; DisplayName Section DeviceId
; ----------- ------- --------
%WSDPrintDevice.DeviceDesc% = WSDPrint_Device_Server, UMB\http://schemas.microsoft.com/windows/2006/08/wdp/print/PrinterServiceType
; ================= Class section =====================
;
[ClassInstall32]
Addreg=WSDPrintDeviceClassReg
[WSDPrintDeviceClassReg]
HKR,,,0,%ClassName%
HKR,,Icon,,-5
HKR,,DeviceCharacteristics,0x10001,0x100 ;Use same security checks on relative opens
HKR,,Security,,"D:P(A;;GA;;;SY)(A;;GA;;;BA)" ;Allow generic all access to system and built-in Admin.
;This one overrides the security set by the driver
[WSDPrint_Device.NT]
CopyFiles=WSDPrint_Driver.NT.Copy,WSDPrint_Proxy.NT.Copy
[WSDPrint_Device.NT.HW]
AddReg=WSDPrint_Device.NT.AddReg
[WSDPrint_Device.NT.AddReg]
HKR,,InterfaceGUIDs,0x10000, "{F8580555-8CDF-4396-BAEA-A937CFF94D5A}"
HKR,,DeviceCharacteristics,0x10001,0x0100 ; Use same security checks on relative opens
HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)" ; Allow generic-all access to Built-in administrators and Local system
HKCR,CLSID\{59403862-BDA6-41f8-9C4E-7E5F873A68B3},,,"WSD Print Proxy Class"
HKCR,CLSID\{59403862-BDA6-41f8-9C4E-7E5F873A68B3}\InprocServer32,,,"%11%\WSDPrPxy.dll"
HKCR,CLSID\{59403862-BDA6-41f8-9C4E-7E5F873A68B3}\InprocServer32,"ThreadingModel",,"Both"
HKCR,CLSID\{59403862-BDA6-41f8-9C4E-7E5F873A68B3}\ProgID,,,"FunctionDiscovery.WSDPrintProxy.1"
HKCR,CLSID\{59403862-BDA6-41f8-9C4E-7E5F873A68B3}\VersionIndependentProgID,,,"FunctionDiscovery.WSDPrintProxy"
[WSDPrint_Device_Server.NT]
CopyFiles=WSDPrint_Driver.NT.Copy
[WSDPrint_Device_Server.NT.HW]
AddReg=WSDPrint_Device_Server.NT.AddReg
[WSDPrint_Device_Server.NT.AddReg]
HKR,,InterfaceGUIDs,0x10000, "{F8580555-8CDF-4396-BAEA-A937CFF94D5A}"
HKR,,DeviceCharacteristics,0x10001,0x0100 ; Use same security checks on relative opens
HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)" ; Allow generic-all access to Built-in administrators and Local system
[WSDPrint_Driver.NT.Copy]
WSDPrint.sys
[WSDPrint_Proxy.NT.Copy]
WSDPrPxy.dll
;-------------- Service installation
[WSDPrint_Device.NT.Services]
AddService = WSDPrintDevice, %SPSVCINST_ASSOCSERVICE%, WSDPrint_Service_Inst
[WSDPrint_Device_Server.NT.Services]
AddService = WSDPrintDevice, %SPSVCINST_ASSOCSERVICE%, WSDPrint_Service_Inst
[WSDPrint_Service_Inst]
DisplayName = %WSDPrintDevice.SVCDESC%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\WSDPrint.sys
LoadOrderGroup = Extended Base
[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
MSFT = "Microsoft"
ClassName = "WSD Print Provider"
WSDPrintDevice.DeviceDesc = "WSD Print Device"
WSDPrintDevice.SVCDESC = "WSD Print Support via UMB"