; STI.INF  -- Windows Still Image Setup File
; Copyright (c) Microsoft Corporation.  All rights reserved.

[Version]
Signature="$WINDOWS NT$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%Msft%
DriverVer = 06/21/2006,10.0.20348.1

[SourceDisksNames]
3426=windows cd

[SourceDisksFiles.x86]
scsiscan.sys = 3426
usbscan.sys  = 3426
serscan.sys  = 3426
wiafbdrv.dll = 3426
WSDScan.sys  = 3426

[SourceDisksFiles.AMD64]
scsiscan.sys = 3426
usbscan.sys  = 3426
serscan.sys  = 3426
wiafbdrv.dll = 3426
WSDScan.sys  = 3426

[SourceDisksFiles.IA64]
scsiscan.sys = 3426
usbscan.sys  = 3426
serscan.sys  = 3426
wiafbdrv.dll = 3426
WSDScan.sys  = 3426

[SourceDisksFiles.ARM]
scsiscan.sys = 3426
usbscan.sys  = 3426
serscan.sys  = 3426
WSDScan.sys  = 3426

[SourceDisksFiles.ARM64]
scsiscan.sys = 3426
usbscan.sys  = 3426
serscan.sys  = 3426
wiafbdrv.dll = 3426
WSDScan.sys  = 3426

[DestinationDirs]
DefaultDestDir=10,system32\drivers
STI.Scsi.CopySys32Files=10,system32\drivers
STI.Usb.CopySys32Files=10,system32\drivers
STI.Serial.CopySys32Files=10,system32\drivers
STI.MICRODRIVERSection.CopyFiles=11
STI.WSD.CopySys32Files=10,system32\drivers

;;
;; Include section to use with commonly supported buses
;;

[Manufacturer]
%Msft%=STI,NTamd64

[STI.NTamd64]
; For use with Include/Needs only
%STI.SCSI.DeviceDesc%=STI.SCSISection
%STI.USB.DeviceDesc%=STI.USBSection
%STI.WSD.DeviceDesc%=STI.WSDSection
%STI.Serial.DeviceDesc%=STI.SerialSection
%STI.SCSI.DeviceDesc%=STI.SBP2Section
%STI.USB.DeviceDesc%=STI.PTPUSBSection
%STI.WIA.DeviceDesc%=STI.WIAVideo.Registration
%STI.WIA.DeviceDesc%=STI.MICRODRIVERSection

[ControlFlags]
ExcludeFromSelect=*

;;
;; SCSI
;;

[STI.SCSISection]
CopyFiles=STI.Scsi.CopySys32Files
AddService = scsiscan, 0x00000002, STI.ScsiScan.AddService

[STI.SCSISection.Services]
AddService = scsiscan, 0x00000002, STI.ScsiScan.AddService

[STI.Scsi.CopySys32Files]
scsiscan.sys

[STI.ScsiScan.AddService]
DisplayName    = %scsiscan.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\scsiscan.sys
LoadOrderGroup = Base

;;
;; USB
;;

[STI.USBSection]
CopyFiles=STI.Usb.CopySys32Files
AddService = usbscan, 0x00000002, STI.UsbScan.AddService

[STI.USBSection.Services]
AddService = usbscan, 0x00000002, STI.UsbScan.AddService

[STI.Usb.CopySys32Files]
usbscan.sys

[STI.UsbScan.AddService]
DisplayName    = %usbscan.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\usbscan.sys
LoadOrderGroup = Base

;;
;; WSD
;;

[STI.WSDSection]
CopyFiles=STI.WSD.CopySys32Files
AddService = WSDScan, 0x00000002, STI.WSDScan.AddService

[STI.WSDSection.HW]

[STI.WSDSection.Services]
AddService = WSDScan, 0x00000002, STI.WSDScan.AddService

[STI.WSD.CopySys32Files]
WSDScan.sys

[STI.WSDScan.AddService]
DisplayName    = %WSDScan.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\WSDScan.sys
LoadOrderGroup = Base

;;
;; Serial
;;

[STI.SerialSection]
CopyFiles=STI.Serial.CopySys32Files
AddService = StillCam, 0x00000002, STI.StillCamera.AddService

[STI.SerialSection.Services]
AddService = StillCam, 0x00000002, STI.StillCamera.AddService

[STI.Serial.CopySys32Files]
serscan.sys

[STI.StillCamera.AddService]
DisplayName    = %StillCam.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\serscan.sys
LoadOrderGroup = Base

;;
;; SBP2
;;

[STI.SBP2Section]
CopyFiles=STI.Scsi.CopySys32Files
AddService = scsiscan, 0x00000002, STI.ScsiScan.AddService

[STI.SBP2Section.Services]
AddService = scsiscan, 0x00000002, STI.ScsiScan.AddService

;;
;; PTP ( ISO 15740 ) common drivers
;;

[STI.PTPUSBSection]
Addreg=STI.PTPUSB.AddReg
CopyFiles=STI.Usb.CopySys32Files

DeviceData=STI.PTPUSBDeviceData
SubClass=StillImage
DeviceType=2
Capabilities=0x35
UninstallSection=
Events=STI.PTPUSBDeviceEvents

[STI.PTPUSB.AddReg]

HKR,,HardwareConfig,1,4
HKR,,USDClass,,"{B5EE90B0-D5C5-11D2-82D5-00C04F8EC183}"
;
; register USD
;
HKCR,CLSID\{B5EE90B0-D5C5-11D2-82D5-00C04F8EC183},,,"PIMA15740 Cameras WIA USD"
HKCR,CLSID\{B5EE90B0-D5C5-11D2-82D5-00C04F8EC183}\InProcServer32,,0x00020000,"%%SystemRoot%%\System32\ptpusd.dll"
HKCR,CLSID\{B5EE90B0-D5C5-11D2-82D5-00C04F8EC183}\InProcServer32,ThreadingModel,,"Both"


[STI.PTPUSBDeviceData]
Model=PIMA15740
Server=local
UI DLL=sti.dll
UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}

[STI.PTPUSBDeviceEvents]
Connected=%DCConnected%,{A28BBADE-64B6-11d2-A231-00C04FA31809},*
Disconnected=%DCDisconnected%,{143E4E83-6497-11d2-A231-00C04FA31809},*

;;
;; Common video camera WIA entries
;;
[STI.WIAVideo.Registration]
AddReg    =STI.WIAVideo.AddReg
DeviceData=STI.WIAVideoDeviceData

[STI.WIAVideo.AddReg]
HKR,,USDClass,,"{0527d1d0-88c2-11d2-82c7-00c04f8ec183}"


[STI.WIAVideoDeviceData]
Server=local
UI DLL=sti.dll
UI Class ID={5d8ef5a3-ac13-11d2-a093-00c04f72dc3c}

;;
;; System provided shared driver component.
;;

;;
;; WIA flatbed driver
;;

[STI.MICRODRIVERSection]
AddReg=STI.MICRODRIVERSection.AddReg
CopyFiles=STI.MICRODRIVERSection.CopyFiles

[STI.MICRODRIVERSection.AddReg]

HKR,,USDClass,,"{BB6CF8E2-1511-40bd-91BA-80D43C53064E}"
HKCR,CLSID\{BB6CF8E2-1511-40bd-91BA-80D43C53064E},,,"Microsoft Flatbed Driver"
HKCR,CLSID\{BB6CF8E2-1511-40bd-91BA-80D43C53064E}\InProcServer32,,0x00020000,"%%SystemRoot%%\System32\wiafbdrv.dll"
HKCR,CLSID\{BB6CF8E2-1511-40bd-91BA-80D43C53064E}\InProcServer32,ThreadingModel,,"Both"

[STI.MICRODRIVERSection.CopyFiles]
wiafbdrv.dll


[Strings]
; localizable strings
Msft="Microsoft"
STI.SCSI.DeviceDesc="SCSI Scanner Device"
STI.USB.DeviceDesc="USB Scanner Device"
STI.WSD.DeviceDesc="WSD Scanner Device"
STI.Serial.DeviceDesc="Serial Scanner Device"
STI.WIA.DeviceDesc="WIA Scanner Device"
STICLI="Still Image Client Application"
STISVC="Still Image Monitoring Process"
scsiscan.SvcDesc= "SCSI Scanner Driver"
usbscan.SvcDesc= "USB Scanner Driver"
WSDScan.SvcDesc = "WSD Scan Support"
StillCam.SvcDesc="Still Serial Digital Camera Driver"
WIA.SvcDisplayName="Windows Image Acquisition (WIA)"
WIA.SvcDesc="Provides image acquisition services for scanners and cameras."
Wizard.Name="Microsoft Scanner and Camera Wizard"
Wizard.Desc="Download pictures from a camera or scanner"
DCConnected="Digital camera connected"
DCDisconnected="Digital camera disconnected"
