Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

137 lines
3.2 KiB

  1. ;
  2. ; Copyright (c) 1999-2003 OEM Company Name
  3. ;
  4. ;
  5. ; OEMPRN.INF
  6. ;
  7. ; INF to install PnP printer drivers for non-DOT4 printers and scanner function
  8. ; of a MFP.
  9. ;
  10. [Version]
  11. Signature="$Windows NT$"
  12. Provider=%OEM%
  13. ClassGUID={4D36E979-E325-11CE-BFC1-08002BE10318}
  14. Class=Printer
  15. ; Date & version of driver package
  16. DriverVer=MM/DD/YYYY,XX.XX.XX.XX
  17. CatalogFile=OEMPrint.cat
  18. ;
  19. ; Manufacturer section.
  20. ;
  21. ; This section lists all of the manufacturers
  22. ; that we will display in the Dialog box
  23. ;
  24. [Manufacturer]
  25. %OEM%=OEM_Models
  26. ;
  27. ; Model sections.
  28. ;
  29. ; Each section here corresponds with an entry listed in the
  30. ; [Manufacturer] section, above.
  31. [OEM_Models]
  32. ; THis device will get printer driver installed.
  33. %OEM_MFP% = OEMMFP.GPD,OEM_Company_PB695
  34. ;
  35. ; OEM URLS
  36. ;
  37. ; This sections gives the URL for manufacturers found in the Manufacturers section
  38. ;
  39. [OEM URLS]
  40. %OEM% = "http://www.OEMCompany.com/Win2KPrinting"
  41. ; Installer Sections
  42. ;
  43. ; These sections control file installation, and reference all files that
  44. ; need to be copied. The section name will be assumed to be the driver
  45. ; file, unless there is an explicit DriverFile section listed.
  46. ;
  47. ;
  48. [OEMMFP.GPD]
  49. CopyFiles=@OEMMFP.DLL,@OEMPRT1.DLL,@OEMUI.DLL,OEMMFP.GPD.WIA.CopyFiles
  50. DataSection=UNIDRV_DATA
  51. Include=NTPRINT.INF
  52. Needs=UNIDRV.OEM
  53. WIASection=OEMMFP.GPD.WIA
  54. ;
  55. ; Specify sti_ci.dll as coinstaller to install scanner function as device
  56. ; interface.
  57. ;
  58. [OEMMFP.GPD.Coinstallers]
  59. AddReg=WIA.CoInstallers.AddReg
  60. [WIA.CoInstallers.AddReg]
  61. HKR,,CoInstallers32,0x00010000,"sti_ci.dll, CoinstallerEntry"
  62. ;
  63. ; WIA section
  64. ;
  65. ; This section is specifically for WIA (scanner) device interface installation.
  66. ;
  67. [OEMMFP.GPD.WIA]
  68. Description=%OEM_MFP_SCANNER%
  69. SubClass=StillImage
  70. DeviceType=1
  71. Capabilities=0x00000011
  72. AddReg=OEMMFP.GPD.WIA.AddReg
  73. DeviceData=OEMMFP.GPD.WIA.DeviceData
  74. ICMProfiles="sRGB Color Space Profile.icm"
  75. USDClass="{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}"
  76. [OEMMFP.GPD.WIA.DeviceData]
  77. Server=local
  78. UI DLL=sti.dll
  79. UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}
  80. [OEMMFP.GPD.WIA.AddReg]
  81. HKCR,CLSID\{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX},,,%OEM_MFP_SCANNER_USD%
  82. HKCR,CLSID\{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}\InProcServer32,,,%11%\oemusd.dll
  83. HKCR,CLSID\{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}\InProcServer32,ThreadingModel,,Both
  84. [OEMMFP.GPD.WIA.CopyFiles]
  85. OEMUSD.DLL
  86. ;
  87. ; Call SetupSetDirectoryId with 66000 to set the target directory at runtime
  88. ; (depending on which environment drivers are getting installed)
  89. ;
  90. [DestinationDirs]
  91. DefaultDestDir=66000
  92. OEMMFP.GPD.WIA.CopyFiles=11
  93. ;
  94. ; Source Disk Section
  95. ; This was added to enable Web Point&Print.
  96. ; All files added to this must also be added to Layout.INF
  97. ;
  98. [SourceDisksNames]
  99. 1 = %Disk%,,,""
  100. [SourceDisksFiles]
  101. OEMPrnt.inf = 1
  102. OEMMFP.GPD = 1
  103. OEMMFP.DLL = 1
  104. OEMPRT1.DLL = 1
  105. OEMUI.DLL = 1
  106. OEMUSD.DLL = 1
  107. ;
  108. ; Localizable Strings
  109. ;
  110. [Strings]
  111. Disk = "OEM Driver Install Disk"
  112. PrinterClassName = "Printer"
  113. OEM = "OEM Company"
  114. OEM_MFP = "OEM Company MFP"
  115. OEM_MFP_SCANNER = "OEM Company MFP Scanner"
  116. OEM_MFP_SCANNER_USD = "OEM Company MFP Scanner USD"