; KONICA MINOLTA 165/185 Scanner-8 Driver
; Copyright (c) 2013 KONICA MINOLTA

[Version]
Signature="$CHICAGO$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%MFGName%
DriverVer=12/20/2013,1.1.0.0
CatalogFile=PSST8.cat

[SourceDisksNames]
1=%DISKName%,,,

[SourceDisksFiles]
PSST8165.ds = 1
PSST8185.ds = 1
PSST8.chm = 1
PSST8.dll = 1
DrvInfo.ini = 1
SetupScan.dll = 1
Uninstscan.exe = 1
Uninstscan.dll = 1
ScanCoInstall.dll = 1

;XP
PSSW18165.dll=1
PSSW18185.dll=1

;Vista
PSSW28165.dll=1
PSSW28185.dll=1

[ControlFlags]
ExcludeFromSelect=*

[Manufacturer]
%MFGName%=PSST,NTamd64.5.1,NTamd64.6.0

;2000
[PSST]
%MODELName165%=K165WVM11, USB\VID_132B&PID_20e6&MI_00
%MODELName185%=K185WVM11, USB\VID_132B&PID_20e7&MI_00

;XP
[PSST.NTamd64.5.1]
%MODELName165%=K165WVM11.NTamd64.5.1, USB\VID_132B&PID_20e6&MI_00
%MODELName185%=K185WVM11.NTamd64.5.1, USB\VID_132B&PID_20e7&MI_00

;Vista
[PSST.NTamd64.6.0]
%MODELName165%=K165WVM11.NTamd64.6.0, USB\VID_132B&PID_20e6&MI_00
%MODELName185%=K185WVM11.NTamd64.6.0, USB\VID_132B&PID_20e7&MI_00



[DestinationDirs]
ScannerDS165.CopyFiles = 10,twain_32\PSST8165
ScannerDS185.CopyFiles = 10,twain_32\PSST8185
WIADriver165.CopyFiles=11
WIADriver185.CopyFiles=11
WIA20Driver165.CopyFiles=11
WIA20Driver185.CopyFiles=11
CoInstall.CopyFiles=11


[K165WVM11.CoInstallers]
AddReg          = CoInstall.AddReg
CopyFiles       = CoInstall.CopyFiles

[K185WVM11.CoInstallers]
AddReg          = CoInstall.AddReg
CopyFiles       = CoInstall.CopyFiles

[K165WVM11.NTamd64.5.1.CoInstallers]
AddReg          = CoInstall.AddReg
CopyFiles       = CoInstall.CopyFiles

[K185WVM11.NTamd64.5.1.CoInstallers]
AddReg          = CoInstall.AddReg
CopyFiles       = CoInstall.CopyFiles

[K165WVM11.NTamd64.6.0.CoInstallers]
AddReg          = CoInstall.AddReg
CopyFiles       = CoInstall.CopyFiles

[K185WVM11.NTamd64.6.0.CoInstallers]
AddReg          = CoInstall.AddReg
CopyFiles       = CoInstall.CopyFiles


;2000
[K165WVM11]
Include=sti.inf
Needs=STI.USBSection
CopyFiles=ScannerDS165.CopyFiles
AddReg=K165WVM11.AddReg
;2000
[K185WVM11]
Include=sti.inf
Needs=STI.USBSection
CopyFiles=ScannerDS185.CopyFiles
AddReg=K185WVM11.AddReg

;XP
[K165WVM11.NTamd64.5.1]
Include=sti.inf
Needs=STI.USBSection
CopyFiles=ScannerDS165.CopyFiles,WIADriver165.CopyFiles
AddReg=K165WVM11.AddReg,WIADriver165.AddReg
;forWIA
PortSelect=no
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x30
DeviceData=WIADriver165.DeviceData
ICMProfiles="sRGB Color Space Profile.icm"


;XP
[K185WVM11.NTamd64.5.1]
Include=sti.inf
Needs=STI.USBSection
CopyFiles=ScannerDS185.CopyFiles,WIADriver185.CopyFiles
AddReg=K185WVM11.AddReg,WIADriver185.AddReg
;forWIA
PortSelect=no
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x30
DeviceData=WIADriver185.DeviceData
ICMProfiles="sRGB Color Space Profile.icm"

;Vista
[K165WVM11.NTamd64.6.0]
Include=sti.inf
Needs=STI.USBSection
CopyFiles=ScannerDS165.CopyFiles,WIA20Driver165.CopyFiles
AddReg=K165WVM11.AddReg,WIA20Driver165.AddReg
;forWIA
PortSelect=no
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x30
DeviceData=WIA20Driver165.DeviceData
ICMProfiles="sRGB Color Space Profile.icm"

;Vista
[K185WVM11.NTamd64.6.0]
Include=sti.inf
Needs=STI.USBSection
CopyFiles=ScannerDS185.CopyFiles,WIA20Driver185.CopyFiles
AddReg=K185WVM11.AddReg,WIA20Driver185.AddReg
;forWIA
PortSelect=no
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x30
DeviceData=WIA20Driver185.DeviceData
ICMProfiles="sRGB Color Space Profile.icm"




;2000
[K165WVM11.Services]
Include=sti.inf
Needs=STI.USBSection.Services
[K185WVM11.Services]
Include=sti.inf
Needs=STI.USBSection.Services

;XP
[K165WVM11.NTamd64.5.1.Services]
Include=sti.inf
Needs=STI.USBSection.Services
[K185WVM11.NTamd64.5.1.Services]
Include=sti.inf
Needs=STI.USBSection.Services
;Vista
[K165WVM11.NTamd64.6.0.Services]
Include=sti.inf
Needs=STI.USBSection.Services
[K185WVM11.NTamd64.6.0.Services]
Include=sti.inf
Needs=STI.USBSection.Services



;WIA1.0
[WIADriver165.DeviceData]
Server=local
UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}
[WIADriver185.DeviceData]
Server=local
UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}

;WIA2.0
[WIA20Driver165.DeviceData]
Server=local
UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}
[WIA20Driver185.DeviceData]
Server=local
UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}

[K165WVM11.AddReg]
HKR,,DevLoader,0,*ntkern
HKR,,NTMPDriver,0,usbscan.sys
HKLM,System\Currentcontrolset\Services\K165WVM11\Parameters,"MaximumTransferSize",0x10001,4096
HKLM,System\Currentcontrolset\Services\K165WVM11\Parameters,"DebugLevel",0x10001,2

[K185WVM11.AddReg]
HKR,,DevLoader,0,*ntkern
HKR,,NTMPDriver,0,usbscan.sys
HKLM,System\Currentcontrolset\Services\K185WVM11\Parameters,"MaximumTransferSize",0x10001,4096
HKLM,System\Currentcontrolset\Services\K185WVM11\Parameters,"DebugLevel",0x10001,2


;WIA1.0
[WIADriver165.AddReg]
HKR,,HardwareConfig,1,4
HKR,,USDClass,,"{86976D64-FA36-4e72-AB88-72A13F72C2C2}"
HKCR,CLSID\{86976D64-FA36-4e72-AB88-72A13F72C2C2},,,"KONICA MINOLTA 165 Scanner-8 WIA1.0 Driver"
HKCR,CLSID\{86976D64-FA36-4e72-AB88-72A13F72C2C2}\InProcServer32,,,%11%\PSSW18165.dll
HKCR,CLSID\{86976D64-FA36-4e72-AB88-72A13F72C2C2}\InProcServer32,ThreadingModel,,Both

;WIA1.0
[WIADriver185.AddReg]
HKR,,HardwareConfig,1,4
HKR,,USDClass,,"{DF74244B-F7ED-4fc8-8BC3-50212CD976B6}"
HKCR,CLSID\{DF74244B-F7ED-4fc8-8BC3-50212CD976B6},,,"KONICA MINOLTA 185 Scanner-8 WIA1.0 Driver"
HKCR,CLSID\{DF74244B-F7ED-4fc8-8BC3-50212CD976B6}\InProcServer32,,,%11%\PSSW18185.dll
HKCR,CLSID\{DF74244B-F7ED-4fc8-8BC3-50212CD976B6}\InProcServer32,ThreadingModel,,Both

;WIA2.0
[WIA20Driver165.AddReg]
HKR,,HardwareConfig,1,4
HKR,,USDClass,,"{58B5C430-9781-4a22-81DE-D716B61611F4}"
HKCR,CLSID\{58B5C430-9781-4a22-81DE-D716B61611F4},,,"KONICA MINOLTA 165 Scanner-8 WIA2.0 Driver"
HKCR,CLSID\{58B5C430-9781-4a22-81DE-D716B61611F4}\InProcServer32,,,%11%\PSSW28165.dll
HKCR,CLSID\{58B5C430-9781-4a22-81DE-D716B61611F4}\InProcServer32,ThreadingModel,,"Both"

;WIA2.0
[WIA20Driver185.AddReg]
HKR,,HardwareConfig,1,4
HKR,,USDClass,,"{A285BC6A-C0A6-4e45-8D29-ED27E72B383C}"
HKCR,CLSID\{A285BC6A-C0A6-4e45-8D29-ED27E72B383C},,,"KONICA MINOLTA 185 Scanner-8 WIA2.0 Driver"
HKCR,CLSID\{A285BC6A-C0A6-4e45-8D29-ED27E72B383C}\InProcServer32,,,%11%\PSSW28185.dll
HKCR,CLSID\{A285BC6A-C0A6-4e45-8D29-ED27E72B383C}\InProcServer32,ThreadingModel,,"Both"

[CoInstall.AddReg]
HKR,,CoInstallers32,0x10000,"ScanCoInstall.dll,CoDeviceInstall"


[ScannerDS165.CopyFiles]
PSST8165.ds
PSST8.dll
PSST8.chm
DrvInfo.ini
SetupScan.dll
Uninstscan.exe
Uninstscan.dll

[ScannerDS185.CopyFiles]
PSST8185.ds
PSST8.dll
PSST8.chm
DrvInfo.ini
SetupScan.dll
Uninstscan.exe
Uninstscan.dll



;XP
[WIADriver165.CopyFiles]
PSSW18165.dll
[WIADriver185.CopyFiles]
PSSW18185.dll

;Vista
[WIA20Driver165.CopyFiles]
PSSW28165.dll
[WIA20Driver185.CopyFiles]
PSSW28185.dll

[CoInstall.CopyFiles]
ScanCoInstall.dll
DrvInfo.ini

[Strings]
MFGName="KONICA MINOLTA"
MODELName165="KONICA MINOLTA 165 Scanner-8"
MODELName185="KONICA MINOLTA 185 Scanner-8"
DISKName="KONICA MINOLTA 165/185 Scanner-8"

