; Localized	
; Copyright
; Scan17.inf  --Windows Still Image Setup File

[Version]
Signature="$CHICAGO$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%Msft%
Catalogfile=
DriverVer=05/06/2008,1.1

[ControlFlags]
ExcludeFromSelect=*

[DestinationDirs]
DefaultDestDir    =10
Copyminidriver	  =11,%DriverPath%\%SubDir%
CopyminidriverXP64=11,%DriverPath%\%SubDir%
CopyTwainDsFiles  =10,Twain_32\%TwainPath%\%SubDir%
CopyBinFiles 	  =11,%DriverPath%\%SubDir%
CopyColorFiles    =23
CopySoundFile	  =10,Media

[SourceDisksNames]
33=%DiskName%,,,

[SourceDisksFiles]
Scnwia17.dll=33
scnusd17.dll=33
s64wia17.dll=33
Stiaspi.dll=33
UModel.dat=33
2117U001.bin=33
MTC2880F.bin=33
MTC2880N.bin=33
MTC2880P.bin=33
ApInfo.dll=33
ScanDrv.ds=33
ImgProcS.dll=33
ImgPr16S.dll=33
MapTable.dll=33
MUICtrl.dll=33
MultiLng.dll=33
MiTwain.dll=33
Scanner.dat=33
ApInfo.dat=33
dsinfo.dat=33
HWInfo.dat=33
JobInfo.dat=33
CrScan23.icm=33
warm.avi=33
splash.dat=33
Sat121.bin=33
ScanMode.dat=33
PrevPos.dat=33
;;BKerScan.sys=33

[Manufacturer]
%Mfg%=Standard, NT.5.1, NT.5.2,NTamd64

[Standard]; This section will only be installed by Windows 2000
%USB\VID_04A5&PID_2117.DeviceDesc%=C28802K,%HardwardID_USB\VID_04A5&PID_2117%

[Standard.NT.5.1]; This section will only be installed by Windows XP
%USB\VID_04A5&PID_2117.DeviceDesc%=C2880XP,%HardwardID_USB\VID_04A5&PID_2117%

[Standard.NT.5.2]; This section will only be installed by Windows XP
%USB\VID_04A5&PID_2117.DeviceDesc%=C2880XP,%HardwardID_USB\VID_04A5&PID_2117%

[Standard.NTamd64]; This is the models section for the amd64 driver
%USB\VID_04A5&PID_2117.DeviceDesc%=C2880XP64,%HardwardID_USB\VID_04A5&PID_2117%

[C28802K]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=1
Capabilities=3
Events=C2880.Events
AddReg=AddReg2K
CopyFiles=CopyColorFiles,Copyminidriver,CopyTwainDsFiles,CopyBinFiles
DeviceData=C28802K.DeviceData
ICMProfiles="sRGB Color Space Profile.icm"

[C2880XP]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=1
Capabilities=0x13
Events=C2880.Events
AddReg=AddRegXP
CopyFiles=CopyColorFiles,Copyminidriver,CopyTwainDsFiles,CopyBinFiles
DeviceData=C2880XP.DeviceData
ICMProfiles="sRGB Color Space Profile.icm"

[C2880XP64]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=1
Capabilities=0x13
Events=C2880.Events
AddReg=AddRegXP64
;DelFiles=
CopyFiles=CopyColorFiles,CopyminidriverXP64,CopyTwainDsFiles,CopyBinFiles
;UninstallSection=Uninstall
DeviceData=C2880XP.DeviceData
ICMProfiles="sRGB Color Space Profile.icm"

[AddReg2K]
HKR,,HardwareConfig,1,4
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,"usbscan.sys"
;;HKR,,NTMPDriver,,"BKerScan.sys"
HKR,,bin,,%11%\%DriverPath%\%SubDir%
HKR,,%Button1_GUID%, 0x00010001, 0x00000002
HKR,,%Button2_GUID%, 0x00010001, 0x00000100
HKR,,%Button3_GUID%, 0x00010001, 0x00000040
HKR,,%Button4_GUID%, 0x00010001, 0x00000200
HKR,,%Button5_GUID%, 0x00010001, 0x00000001
HKR,,%Button6_GUID%, 0x00010001, 0x00001000

HKCU,SOFTWARE\%ScannerPath%\ScanDrv
HKCU,SOFTWARE\%ScannerPath%\ScanDrv\%Version%
HKCU,SOFTWARE\%ScannerPath%\ScanDrv\%Version%,Name,0,%DriverName%
HKCU,SOFTWARE\%ScannerPath%\ScanDrv\%Version%,Path,0,%TwainPath%

HKR,,USDClass,,%MiniDrv_GUID2K%
HKCR,CLSID\%MiniDrv_GUID2K%,,,"USB User MiniDriver"
HKCR,CLSID\%MiniDrv_GUID2K%\InProcServer32,,,%11%\%DriverPath%\%SubDir%\Scnusd17.dll
HKCR,CLSID\%MiniDrv_GUID2K%\InProcServer32,ThreadingModel,,"Both"

[AddRegXP]
HKR,,HardwareConfig,1,1
HKR,,DeviceType,1,1
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,"usbscan.sys"
;;HKR,,NTMPDriver,,"BKerScan.sys"
HKR,,ASPI,,2K
HKR,,bin,,%11%\%DriverPath%\%SubDir%
HKR,,%Button1_GUID%, 0x00010001, 0x00000002
HKR,,%Button2_GUID%, 0x00010001, 0x00000100
HKR,,%Button3_GUID%, 0x00010001, 0x00000040
HKR,,%Button4_GUID%, 0x00010001, 0x00000200
HKR,,%Button5_GUID%, 0x00010001, 0x00000001
HKR,,%Button6_GUID%, 0x00010001, 0x00001000

HKCU,SOFTWARE\%ScannerPath%\ScanDrv
HKCU,SOFTWARE\%ScannerPath%\ScanDrv\%Version%
HKCU,SOFTWARE\%ScannerPath%\ScanDrv\%Version%,Name,0,%DriverName%
HKCU,SOFTWARE\%ScannerPath%\ScanDrv\%Version%,Path,0,%TwainPath%

HKR,,USDClass,,%MiniDrv_GUIDXP%
HKCR,CLSID\%MiniDrv_GUIDXP%,,,"USB User MiniDriver"
HKCR,CLSID\%MiniDrv_GUIDXp%\InProcServer32,,,%11%\%DriverPath%\%SubDir%\Scnwia17.dll
HKCR,CLSID\%MiniDrv_GUIDXP%\InProcServer32,ThreadingModel,,"Both"

[AddRegXP64]
HKR,,HardwareConfig,1,1
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,"usbscan.sys"
;;HKR,,NTMPDriver,,"BKerScan.sys"
HKR,,ASPI,,2K
HKR,,bin,,%11%\%DriverPath%\%SubDir%
HKR,,%Button1_GUID%, 0x00010001, 0x00000002
HKR,,%Button2_GUID%, 0x00010001, 0x00000100
HKR,,%Button3_GUID%, 0x00010001, 0x00000040
HKR,,%Button4_GUID%, 0x00010001, 0x00000200
HKR,,%Button5_GUID%, 0x00010001, 0x00000001
HKR,,%Button6_GUID%, 0x00010001, 0x00001000

HKCU,SOFTWARE\%ScannerPath%\ScanDrv
HKCU,SOFTWARE\%ScannerPath%\ScanDrv\%Version%
HKCU,SOFTWARE\%ScannerPath%\ScanDrv\%Version%,Name,0,%DriverName%
HKCU,SOFTWARE\%ScannerPath%\ScanDrv\%Version%,Path,0,%TwainPath%

HKR,,USDClass,,%MiniDrv_GUIDXP%
HKCR,CLSID\%MiniDrv_GUIDXP%,,,"USB User MiniDriver"
HKCR,CLSID\%MiniDrv_GUIDXP%\InProcServer32,,,%11%\%DriverPath%\%SubDir%\S64wia17.dll
HKCR,CLSID\%MiniDrv_GUIDXP%\InProcServer32,ThreadingModel,,"Both"

[Copyminidriver]
Scnwia17.dll
Scnusd17.dll

[CopyminidriverXP64]
S64wia17.dll

[CopyBinFiles]
UModel.dat
2117U001.bin

[CopyTwainDsFiles]
MTC2880F.bin
MTC2880P.bin
MTC2880N.bin
ApInfo.dll
ScanDrv.ds
Stiaspi.dll
ImgProcS.dll
ImgPr16S.dll
MapTable.dll
MUICtrl.dll
MultiLng.dll
MiTwain.dll
Scanner.dat
ApInfo.dat
dsinfo.dat
HWInfo.dat
JobInfo.dat
splash.dat
warm.avi
Sat121.bin
ScanMode.dat
PrevPos.dat

[CopyColorFiles]
CrScan23.icm


[C2880.Events]
Button1_0=%Button1_0%,%Button1_GUID%,%StiApPath%
Button2_0=%Button2_0%,%Button2_GUID%,%StiApPath%
Button3_0=%Button3_0%,%Button3_GUID%,%StiApPath%
Button4_0=%Button4_0%,%Button4_GUID%,%StiApPath%
Button5_0=%Button5_0%,%Button5_GUID%,%StiApPath%
Button6_0=%Button6_0%,%Button6_GUID%,%StiApPath%

[C28802K.DeviceData]
TwainDS="UniScan V1.1(C2880)"

[C28802K.Services]
Include=sti.inf
Needs=STI.USBSection.Services
;;AddService=BKerScan,0x00000002,BKerScan.AddService

[C2880XP.DeviceData]
Server=local
UI DLL=sti.dll
UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}
ASPI="1"
TwainDS="UniScan V1.1(C2880)"

[C2880XP.Services]
Include=sti.inf
Needs=STI.USBSection.Services
;;AddService=BKerScan,0x00000002,BKerScan.AddService

[C2880XP64.Services]
Include=sti.inf
Needs=STI.USBSection.Services

[Strings]
Msft="UNIS"
Mfg="UNIS Corporation"
TwainPath="Uniscan"
DriverPath="UNIS"
SubDir="C2880"
DriverName="Uniscan"
StiApPath="Uniscan V1.1 C2880"
Version="V1"
USB\VID_04A5&PID_2117.DeviceDesc="Uniscan Scanner C2880"
HardwardID_USB\VID_04A5&PID_2117="USB\VID_04A5&PID_2117"
MiniDrv_GUID2K="{68614B80-9EC2-483b-A6AC-6DA7700FD9F7}" 
MiniDrv_GUIDXP="{E30A2589-28CD-4fba-A88F-FA042F2FF64E}"        
Button1_0="Text"
Button2_0="E-Mail"
Button3_0="Explorer"
Button4_0="copy"
Button5_0="Photo-editing"
Button6_0="PhotoFamily Scan"
Button1_GUID="{7AD6EA4C-3AAB-11d3-86CB-08002BE4D8DC}"
Button2_GUID="{76B1B8A2-394D-11d3-86CB-08002BE4D8DC}"
Button3_GUID="{76B1B8B9-394D-11d3-86CB-08002BE4D8DC}"
Button4_GUID="{76B1B8BA-394D-11d3-86CB-08002BE4D8DC}"
Button5_GUID="{76B1B8BD-394D-11d3-86CB-08002BE4D8DC}"
Button6_GUID="{031904FB-E177-4709-AB76-A45A5BB774F1}"
ScannerPath="Imaging Solutions"
DiskName="Scanner Driver"
SvcDesc="Scan Kernel"
