Source code of Windows XP (NT5)
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.

183 lines
5.6 KiB

  1. ; kodak INF -- kodak Windows Still Image Setup File
  2. ; Copyright (c) 1997 Microsoft Corporation
  3. ; Manufacturer: kodak corp
  4. [Version]
  5. LayoutFile=Layout.inf, Layout1.inf, Layout2.inf
  6. Signature="$CHICAGO$"
  7. Class=Image
  8. ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
  9. Provider=%Msft%
  10. [ControlFlags]
  11. ExcludeFromSelect=*
  12. [DestinationDirs]
  13. DefaultDestDir=11 ; LDID_SYS
  14. CopyFiles.Sys=11 ; LDID_SYS
  15. CopyFiles.Sys32=10,system32\drivers
  16. CopyFiles.Windows=10 ; LDID_WIN
  17. CopyFiles.lginf=10,inf ; LDID_WIN\INF
  18. [Manufacturer]
  19. %Mfg%=Models
  20. [Models]
  21. ; PageScan USB
  22. ; >>> Remove ID 0401 here and at the bottom of this file before Beta 3 ship <<<
  23. %USB\VID_040A&PID_0100.Device%=DC220.Install, USB\VID_040A&PID_0100
  24. %USB\VID_040A&PID_0110.Device%=DC260.Install, USB\VID_040A&PID_0110
  25. [DC220.Install]
  26. SubClass=StillImage
  27. DeviceType=2
  28. Capabilities=1
  29. ; Event notification DC220 can generate.
  30. Events=DC220.Events
  31. DeviceData=DC220.DeviceData
  32. LogConfig=DIGITA.Log
  33. CopyFiles=CopyFiles.Sys32,CopyFiles.Sys
  34. AddReg=DIGITA.Reg
  35. DelFiles=DelFiles.Sys
  36. UninstallSection=Uninstall.DC220
  37. VendorSetup="ihvinst.dll,SetupWIACamera dc260usd.dll,KODAK DIGITAL SCIENCE DC220,devmprxy.dll,wiashext.dll,camocx.dll,wiactrl.dll"
  38. ICMProfiles="kdc2xx.icm"
  39. [DC260.Install]
  40. SubClass=StillImage
  41. DeviceType=2
  42. Capabilities=1
  43. ; Event notification DC220 can generate.
  44. Events=DC220.Events
  45. DeviceData=DC220.DeviceData
  46. LogConfig=DIGITA.Log
  47. CopyFiles=CopyFiles.Sys32,CopyFiles.Sys
  48. AddReg=DIGITA.Reg
  49. DelFiles=DelFiles.Sys
  50. UninstallSection=Uninstall.DC220
  51. VendorSetup="ihvinst.dll,SetupWIACamera dc260usd.dll,KODAK DIGITAL SCIENCE DC260,devmprxy.dll,iishext.dll,wiapview.dll,camocx.dll,wiactrl.dll"
  52. ICMProfiles="kdc2xx.icm"
  53. [DC220.Events]
  54. Connected="DC220 connected",{A28BBADE-64B6-11d2-A231-00C04FA31809},*
  55. Disconnected="DC220 disconnected",{143E4E83-6497-11d2-A231-00C04FA31809},*
  56. [DC220.Install.Services]
  57. AddService = usbscan, 0x00000002, usbscan.AddService
  58. [DC260.Install.Services]
  59. AddService = usbscan, 0x00000002, usbscan.AddService
  60. [DIGITA.Log]
  61. ConfigPriority=HARDWIRED
  62. [CopyFiles.Sys32]
  63. usbscan.sys
  64. [CopyFiles.Sys]
  65. ;DC220/260 driver files
  66. wiaservc.dll
  67. devmangr.tlb
  68. devmprxy.dll
  69. ihvinst.dll
  70. dc260usd.dll
  71. ; Camera UI dlls
  72. iishext.dll
  73. wiapview.dll
  74. camocx.dll
  75. wiaseld.dll
  76. wiastatd.dll
  77. wiactrl.dll
  78. [Kodak.DC220.OldFiles]
  79. wiaservc.dll
  80. devmangr.tlb
  81. devmprxy.dll
  82. ihvinst.dll
  83. dc260usd.dll
  84. iishext.dll
  85. wiapview.dll
  86. camocx.dll
  87. wiaseld.dll
  88. wiastatd.dll
  89. wiactrl.dll
  90. [Uninstall.DC220]
  91. DelFiles=Kodak.DC220.Files
  92. [DIGITA.Reg]
  93. HKR,,DevLoader,,*NTKERN
  94. HKR,,NTMPDriver,,usbscan.sys
  95. HKCR,CLSID\{A1F4E726-8CF1-11D1-BF92-0060081ED811},,,"WIA Device Manager"
  96. ; Set up the AppID named value
  97. HKCR,CLSID\{A1F4E726-8CF1-11D1-BF92-0060081ED811},AppID,,"{A1F4E726-8CF1-11D1-BF92-0060081ED811}"
  98. HKCR,CLSID\{A1F4E726-8CF1-11D1-BF92-0060081ED811},,,"WIA Device Manager"
  99. HKCR,CLSID\{A1F4E726-8CF1-11D1-BF92-0060081ED811}\LocalServer32,,,%11%\stisvc.exe
  100. HKCR,CLSID\{A1F4E726-8CF1-11D1-BF92-0060081ED811}\ProgID,,,WIADevMgr.1
  101. HKCR,CLSID\{A1F4E726-8CF1-11D1-BF92-0060081ED811}\VersionIndependentProgID,,,WIADevMgr
  102. HKCR,CLSID\{A1F4E726-8CF1-11D1-BF92-0060081ED811}\TypeLib,,,{99F74582-8CF1-11D1-BF92-0060081ED811}
  103. HKCR,TypeLib\{99F74582-8CF1-11D1-BF92-0060081ED811}\1.0,,,"WIA Device Manager Type Library"
  104. HKCR,TypeLib\{99F74582-8CF1-11D1-BF92-0060081ED811}\1.0\0\win32,,,%11%\iidevmgr.tlb
  105. HKCR,TypeLib\{99F74582-8CF1-11D1-BF92-0060081ED811}\1.0\FLAGS,,,"0"
  106. HKCR,TypeLib\{99F74582-8CF1-11D1-BF92-0060081ED811}\1.0\HELPDIR,,,%11%
  107. HKCR,WIADevMgr,,,"WIA Device Manager"
  108. HKCR,WIADevMgr\CLSID,,,{A1F4E726-8CF1-11D1-BF92-0060081ED811}
  109. HKCR,WIADevMgr\CurVer,,,WIADevMgr.1
  110. HKCR,WIADevMgr.1,,,"WIA Device Manager"
  111. HKCR,WIADevMgr.1\CLSID,,,{A1F4E726-8CF1-11D1-BF92-0060081ED811}
  112. ; Set up the LocalService under CLSID
  113. HKCR,AppID\{A1F4E726-8CF1-11D1-BF92-0060081ED811},,,"WIA Device Manager"
  114. HKCR,AppID\{A1F4E726-8CF1-11D1-BF92-0060081ED811},LocalService,,"StiSvc"
  115. ; All the interface proxies/stubs are registered by regsvr32 devmprxy.dll
  116. HKR,,USDClass,,"{DA87EB0E-6D29-11d2-A23F-00C04FA31809}"
  117. HKCR,CLSID\{DA87EB0E-6D29-11d2-A23F-00C04FA31809},,,"DC220/DC260 USB Camera USD"
  118. HKCR,CLSID\{DA87EB0E-6D29-11d2-A23F-00C04FA31809}\InProcServer32,,,%11%\dc260usd.dll
  119. HKCR,CLSID\{DA87EB0E-6D29-11d2-A23F-00C04FA31809}\InProcServer32,ThreadingModel,,"Apartment"
  120. ; Ask the stisvc.exe to load the WIA server dll
  121. HKLM,System\CurrentControlSet\Control\StillImage,WiaServiceDll,,"wiaservc.dll"
  122. ; Set up default DCOM security
  123. HKLM,Software\Microsoft\ole,LegacyAuthenticationLevel,%FLG_ADDREG_TYPE_DWORD%,0x00000002
  124. HKLM,Software\Microsoft\ole,LegacyImpersonationLevel,%FLG_ADDREG_TYPE_DWORD%,0x00000003
  125. [DC220.DeviceData]
  126. Model=DC220/DC260
  127. Server=local
  128. UI DLL=devmprxy.dll
  129. UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}
  130. [DelFiles.Sys]
  131. ; Temporarily delete this file from windows\system during install so it
  132. ; doesn't conflict with new location in windows\system32
  133. usbscan.sys,,,1
  134. [usbscan.AddService]
  135. DisplayName = %usbscan.SvcDesc%
  136. ServiceType = 1 ; SERVICE_KERNEL_DRIVER
  137. StartType = 3 ; SERVICE_DEMAND_START
  138. ErrorControl = 1 ; SERVICE_ERROR_NORMAL
  139. ServiceBinary = %12%\usbscan.sys
  140. LoadOrderGroup = Base
  141. [Uninstall.PageScan_USB]
  142. ;DelFiles=CopyFiles.Sys,CopyFiles.Windows,CopyFiles.Twain.Common,CopyFiles.Twain.PageScan_USB
  143. DelFiles=DIGITA.Files,ControlApp.Files
  144. [Strings]
  145. Msft="Microsoft"
  146. usbscan.SvcDesc= "USB Scanner Driver"
  147. Mfg="Eastman Kodak Company2"
  148. USB\VID_040A&PID_0100.Device="KODAK DIGITAL SCIENCE DC220"
  149. USB\VID_040A&PID_0110.Device="KODAK DIGITAL SCIENCE DC260"
  150. StartUp="Software\Microsoft\Windows\CurrentVersion\Run"
  151. FLG_ADDREG_TYPE_DWORD=0x00010001