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.

175 lines
5.3 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. ICMProfiles="kdc2xx.icm"
  38. [DC260.Install]
  39. SubClass=StillImage
  40. DeviceType=2
  41. Capabilities=1
  42. ; Event notification DC220 can generate.
  43. Events=DC220.Events
  44. DeviceData=DC220.DeviceData
  45. LogConfig=DIGITA.Log
  46. CopyFiles=CopyFiles.Sys32,CopyFiles.Sys
  47. AddReg=DIGITA.Reg
  48. DelFiles=DelFiles.Sys
  49. UninstallSection=Uninstall.DC220
  50. ICMProfiles="kdc2xx.icm"
  51. [DC220.Events]
  52. Connected="DC220 connected",{A28BBADE-64B6-11d2-A231-00C04FA31809},*
  53. Disconnected="DC220 disconnected",{143E4E83-6497-11d2-A231-00C04FA31809},*
  54. [DC220.Install.Services]
  55. AddService = usbscan, 0x00000002, usbscan.AddService
  56. [DC260.Install.Services]
  57. AddService = usbscan, 0x00000002, usbscan.AddService
  58. [DIGITA.Log]
  59. ConfigPriority=HARDWIRED
  60. [CopyFiles.Sys32]
  61. usbscan.sys
  62. [CopyFiles.Sys]
  63. ;DC220/260 driver files
  64. wiaservc.dll
  65. devmangr.tlb
  66. devmprxy.dll
  67. dc260usd.dll
  68. ; Camera UI dlls
  69. wiashext.dll
  70. camocx.dll
  71. wiaseld.dll
  72. wiastatd.dll
  73. [Kodak.DC220.OldFiles]
  74. wiaservc.dll
  75. devmangr.tlb
  76. devmprxy.dll
  77. dc260usd.dll
  78. wiashext.dll
  79. camocx.dll
  80. wiaseld.dll
  81. wiastatd.dll
  82. [Uninstall.DC220]
  83. DelFiles=Kodak.DC220.Files
  84. [DIGITA.Reg]
  85. HKR,,DevLoader,,*NTKERN
  86. HKR,,NTMPDriver,,usbscan.sys
  87. HKCR,CLSID\{A1F4E726-8CF1-11D1-BF92-0060081ED811},,,"WIA Device Manager"
  88. ; Set up the AppID named value
  89. HKCR,CLSID\{A1F4E726-8CF1-11D1-BF92-0060081ED811},AppID,,"{A1F4E726-8CF1-11D1-BF92-0060081ED811}"
  90. HKCR,CLSID\{A1F4E726-8CF1-11D1-BF92-0060081ED811},,,"WIA Device Manager"
  91. HKCR,CLSID\{A1F4E726-8CF1-11D1-BF92-0060081ED811}\LocalServer32,,,%11%\stisvc.exe
  92. HKCR,CLSID\{A1F4E726-8CF1-11D1-BF92-0060081ED811}\ProgID,,,WIADevMgr.1
  93. HKCR,CLSID\{A1F4E726-8CF1-11D1-BF92-0060081ED811}\VersionIndependentProgID,,,WIADevMgr
  94. HKCR,CLSID\{A1F4E726-8CF1-11D1-BF92-0060081ED811}\TypeLib,,,{99F74582-8CF1-11D1-BF92-0060081ED811}
  95. HKCR,TypeLib\{99F74582-8CF1-11D1-BF92-0060081ED811}\1.0,,,"WIA Device Manager Type Library"
  96. HKCR,TypeLib\{99F74582-8CF1-11D1-BF92-0060081ED811}\1.0\0\win32,,,%11%\iidevmgr.tlb
  97. HKCR,TypeLib\{99F74582-8CF1-11D1-BF92-0060081ED811}\1.0\FLAGS,,,"0"
  98. HKCR,TypeLib\{99F74582-8CF1-11D1-BF92-0060081ED811}\1.0\HELPDIR,,,%11%
  99. HKCR,WIADevMgr,,,"WIA Device Manager"
  100. HKCR,WIADevMgr\CLSID,,,{A1F4E726-8CF1-11D1-BF92-0060081ED811}
  101. HKCR,WIADevMgr\CurVer,,,WIADevMgr.1
  102. HKCR,WIADevMgr.1,,,"WIA Device Manager"
  103. HKCR,WIADevMgr.1\CLSID,,,{A1F4E726-8CF1-11D1-BF92-0060081ED811}
  104. ; Set up the LocalService under CLSID
  105. HKCR,AppID\{A1F4E726-8CF1-11D1-BF92-0060081ED811},,,"WIA Device Manager"
  106. HKCR,AppID\{A1F4E726-8CF1-11D1-BF92-0060081ED811},LocalService,,"StiSvc"
  107. ; All the interface proxies/stubs are registered by regsvr32 devmprxy.dll
  108. HKR,,USDClass,,"{DA87EB0E-6D29-11d2-A23F-00C04FA31809}"
  109. HKCR,CLSID\{DA87EB0E-6D29-11d2-A23F-00C04FA31809},,,"DC220/DC260 USB Camera USD"
  110. HKCR,CLSID\{DA87EB0E-6D29-11d2-A23F-00C04FA31809}\InProcServer32,,,%11%\dc260usd.dll
  111. HKCR,CLSID\{DA87EB0E-6D29-11d2-A23F-00C04FA31809}\InProcServer32,ThreadingModel,,"Apartment"
  112. ; Ask the stisvc.exe to load the WIA server dll
  113. HKLM,System\CurrentControlSet\Control\StillImage,WiaServiceDll,,"wiaservc.dll"
  114. ; Set up default DCOM security
  115. HKLM,Software\Microsoft\ole,LegacyAuthenticationLevel,%FLG_ADDREG_TYPE_DWORD%,0x00000002
  116. HKLM,Software\Microsoft\ole,LegacyImpersonationLevel,%FLG_ADDREG_TYPE_DWORD%,0x00000003
  117. [DC220.DeviceData]
  118. Model=DC220/DC260
  119. Server=local
  120. UI DLL=devmprxy.dll
  121. UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}
  122. [DelFiles.Sys]
  123. ; Temporarily delete this file from windows\system during install so it
  124. ; doesn't conflict with new location in windows\system32
  125. usbscan.sys,,,1
  126. [usbscan.AddService]
  127. DisplayName = %usbscan.SvcDesc%
  128. ServiceType = 1 ; SERVICE_KERNEL_DRIVER
  129. StartType = 3 ; SERVICE_DEMAND_START
  130. ErrorControl = 1 ; SERVICE_ERROR_NORMAL
  131. ServiceBinary = %12%\usbscan.sys
  132. LoadOrderGroup = Base
  133. [Uninstall.PageScan_USB]
  134. ;DelFiles=CopyFiles.Sys,CopyFiles.Windows,CopyFiles.Twain.Common,CopyFiles.Twain.PageScan_USB
  135. DelFiles=DIGITA.Files,ControlApp.Files
  136. [Strings]
  137. Msft="Microsoft"
  138. usbscan.SvcDesc= "USB Scanner Driver"
  139. Mfg="Eastman Kodak Company2"
  140. USB\VID_040A&PID_0100.Device="KODAK DIGITAL SCIENCE DC220"
  141. USB\VID_040A&PID_0110.Device="KODAK DIGITAL SCIENCE DC260"
  142. StartUp="Software\Microsoft\Windows\CurrentVersion\Run"
  143. FLG_ADDREG_TYPE_DWORD=0x00010001