;================================================================
;
;  KMWIADRV.INF
;
;  Kyocera WIA Driver Installation Script
;  Windows Vista/7
;  
;  (C) 2016 KYOCERA Document Solutions Inc.
; 
;
;04/21/2016
;
;================================================================

[Version]
Signature="$WINDOWS NT$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%Mfg%
DriverVer=04/21/2016,2.2.0421
CatalogFile=kmwiadrv.cat

[SourceDisksFiles.x86]
kmwiadrvn224L.dll=1,%x86NetDir%
kmtwuiexn224L.dll=1,%x86NetDir%
AppliInfo224L.dat=1,%NetDir%
callgui224L.exe=1,%NetDir%
KM_TWAIN1224L.ini=1,%NetDir%
KMSCNAPI224L.dll=1,%NetDir%
KMSCNTOOL224L.dll=1,%NetDir%
KMTwainPageLog224L.ini=1,%NetDir%
N_SCANCONFIG224L.xsd=1,%NetDir%
N_SCANPARAMLIST224L.xml=1,%NetDir%
N_SCANPARAMLIST224L.xsd=1,%NetDir%
RegList224L.ini=1,%NetDir%
WIAHelp_chs224L.chm=1,%NetDir%
WIAHelp_cht224L.chm=1,%NetDir%
WIAHelp_deu224L.chm=1,%NetDir%
WIAHelp_enu224L.chm=1,%NetDir%
WIAHelp_esp224L.chm=1,%NetDir%
WIAHelp_fra224L.chm=1,%NetDir%
WIAHelp_ita224L.chm=1,%NetDir%
WIAHelp_jpn224L.chm=1,%NetDir%
WIAHelp_kor224L.chm=1,%NetDir%
WIAHelp_nld224L.chm=1,%NetDir%
WIAHelp_ptb224L.chm=1,%NetDir%
WIAHelp_rus224L.chm=1,%NetDir%

[SourceDisksNames.x86]
1=%Location%,,,

[SourceDisksFiles.amd64]
kmwiadrvn224L.dll=1,%x64NetDir%
kmtwuiexn224L.dll=1,%x64NetDir%
AppliInfo224L.dat=1,%NetDir%
callgui224L.exe=1,%NetDir%
KM_TWAIN1224L.ini=1,%NetDir%
KMSCNAPI224L.dll=1,%NetDir%
KMSCNTOOL224L.dll=1,%NetDir%
KMTwainPageLog224L.ini=1,%NetDir%
N_SCANCONFIG224L.xsd=1,%NetDir%
N_SCANPARAMLIST224L.xml=1,%NetDir%
N_SCANPARAMLIST224L.xsd=1,%NetDir%
RegList224L.ini=1,%NetDir%
WIAHelp_chs224L.chm=1,%NetDir%
WIAHelp_cht224L.chm=1,%NetDir%
WIAHelp_deu224L.chm=1,%NetDir%
WIAHelp_enu224L.chm=1,%NetDir%
WIAHelp_esp224L.chm=1,%NetDir%
WIAHelp_fra224L.chm=1,%NetDir%
WIAHelp_ita224L.chm=1,%NetDir%
WIAHelp_jpn224L.chm=1,%NetDir%
WIAHelp_kor224L.chm=1,%NetDir%
WIAHelp_nld224L.chm=1,%NetDir%
WIAHelp_ptb224L.chm=1,%NetDir%
WIAHelp_rus224L.chm=1,%NetDir%

[SourceDisksNames.amd64]
1=%Location%,,,

[DestinationDirs]
DefaultDestDir=16422
KM_NETWORK_MODEL_WIA.CopyFiles=16422,%NetAppName%

[Manufacturer]
%Mfg%=Models, NTx86, NTamd64

[Models.NTx86]

"6006ci WIA Driver (Network)" = 6006ci_N.Device, KM_WC_6006ci_N_WIA
"5006ci WIA Driver (Network)" = 5006ci_N.Device, KM_WC_5006ci_N_WIA
"4006ci WIA Driver (Network)" = 4006ci_N.Device, KM_WC_4006ci_N_WIA
"3206ci WIA Driver (Network)" = 3206ci_N.Device, KM_WC_3206ci_N_WIA
"2506ci WIA Driver (Network)" = 2506ci_N.Device, KM_WC_2506ci_N_WIA
"6056i WIA Driver (Network)" = 6056i_N.Device, KM_WC_6056i_N_WIA
"5056i WIA Driver (Network)" = 5056i_N.Device, KM_WC_5056i_N_WIA
"4056i WIA Driver (Network)" = 4056i_N.Device, KM_WC_4056i_N_WIA

[Models.NTamd64]

"6006ci WIA Driver (Network)" = 6006ci_N.Device, KM_WC_6006ci_N_WIA
"5006ci WIA Driver (Network)" = 5006ci_N.Device, KM_WC_5006ci_N_WIA
"4006ci WIA Driver (Network)" = 4006ci_N.Device, KM_WC_4006ci_N_WIA
"3206ci WIA Driver (Network)" = 3206ci_N.Device, KM_WC_3206ci_N_WIA
"2506ci WIA Driver (Network)" = 2506ci_N.Device, KM_WC_2506ci_N_WIA
"6056i WIA Driver (Network)" = 6056i_N.Device, KM_WC_6056i_N_WIA
"5056i WIA Driver (Network)" = 5056i_N.Device, KM_WC_5056i_N_WIA
"4056i WIA Driver (Network)" = 4056i_N.Device, KM_WC_4056i_N_WIA

;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ${Model info1}

[6006ci_N.Device]
Include=sti.inf
Needs=STI.SerialSection
PortSelect=no
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x30
UnsupportedVersions=0x1
AddReg=KM_NETWORK_MODEL_WIA.AddReg
CopyFiles=KM_NETWORK_MODEL_WIA.CopyFiles
ICMProfiles="sRGB Color Space Profile.icm"
DeviceData=6006ci_N.DeviceData

[5006ci_N.Device]
Include=sti.inf
Needs=STI.SerialSection
PortSelect=no
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x30
UnsupportedVersions=0x1
AddReg=KM_NETWORK_MODEL_WIA.AddReg
CopyFiles=KM_NETWORK_MODEL_WIA.CopyFiles
ICMProfiles="sRGB Color Space Profile.icm"
DeviceData=5006ci_N.DeviceData

[4006ci_N.Device]
Include=sti.inf
Needs=STI.SerialSection
PortSelect=no
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x30
UnsupportedVersions=0x1
AddReg=KM_NETWORK_MODEL_WIA.AddReg
CopyFiles=KM_NETWORK_MODEL_WIA.CopyFiles
ICMProfiles="sRGB Color Space Profile.icm"
DeviceData=4006ci_N.DeviceData

[3206ci_N.Device]
Include=sti.inf
Needs=STI.SerialSection
PortSelect=no
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x30
UnsupportedVersions=0x1
AddReg=KM_NETWORK_MODEL_WIA.AddReg
CopyFiles=KM_NETWORK_MODEL_WIA.CopyFiles
ICMProfiles="sRGB Color Space Profile.icm"
DeviceData=3206ci_N.DeviceData

[2506ci_N.Device]
Include=sti.inf
Needs=STI.SerialSection
PortSelect=no
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x30
UnsupportedVersions=0x1
AddReg=KM_NETWORK_MODEL_WIA.AddReg
CopyFiles=KM_NETWORK_MODEL_WIA.CopyFiles
ICMProfiles="sRGB Color Space Profile.icm"
DeviceData=2506ci_N.DeviceData

[6056i_N.Device]
Include=sti.inf
Needs=STI.SerialSection
PortSelect=no
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x30
UnsupportedVersions=0x1
AddReg=KM_NETWORK_MODEL_WIA.AddReg
CopyFiles=KM_NETWORK_MODEL_WIA.CopyFiles
ICMProfiles="sRGB Color Space Profile.icm"
DeviceData=6056i_N.DeviceData

[5056i_N.Device]
Include=sti.inf
Needs=STI.SerialSection
PortSelect=no
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x30
UnsupportedVersions=0x1
AddReg=KM_NETWORK_MODEL_WIA.AddReg
CopyFiles=KM_NETWORK_MODEL_WIA.CopyFiles
ICMProfiles="sRGB Color Space Profile.icm"
DeviceData=5056i_N.DeviceData

[4056i_N.Device]
Include=sti.inf
Needs=STI.SerialSection
PortSelect=no
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x30
UnsupportedVersions=0x1
AddReg=KM_NETWORK_MODEL_WIA.AddReg
CopyFiles=KM_NETWORK_MODEL_WIA.CopyFiles
ICMProfiles="sRGB Color Space Profile.icm"
DeviceData=4056i_N.DeviceData

;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ${Model info2}

[6006ci_N.Device.Services]
Include=sti.inf
Needs=STI.SerialSection.Services

[6006ci_N.DeviceData]
UI Class ID={70C88656-3165-4FCD-BEBF-0E87863290B7}
Model Name="6006ci"
Version=%NetVersion%

[5006ci_N.Device.Services]
Include=sti.inf
Needs=STI.SerialSection.Services

[5006ci_N.DeviceData]
UI Class ID={70C88656-3165-4FCD-BEBF-0E87863290B7}
Model Name="5006ci"
Version=%NetVersion%

[4006ci_N.Device.Services]
Include=sti.inf
Needs=STI.SerialSection.Services

[4006ci_N.DeviceData]
UI Class ID={70C88656-3165-4FCD-BEBF-0E87863290B7}
Model Name="4006ci"
Version=%NetVersion%

[3206ci_N.Device.Services]
Include=sti.inf
Needs=STI.SerialSection.Services

[3206ci_N.DeviceData]
UI Class ID={70C88656-3165-4FCD-BEBF-0E87863290B7}
Model Name="3206ci"
Version=%NetVersion%

[2506ci_N.Device.Services]
Include=sti.inf
Needs=STI.SerialSection.Services

[2506ci_N.DeviceData]
UI Class ID={70C88656-3165-4FCD-BEBF-0E87863290B7}
Model Name="2506ci"
Version=%NetVersion%

[6056i_N.Device.Services]
Include=sti.inf
Needs=STI.SerialSection.Services

[6056i_N.DeviceData]
UI Class ID={70C88656-3165-4FCD-BEBF-0E87863290B7}
Model Name="6056i"
Version=%NetVersion%

[5056i_N.Device.Services]
Include=sti.inf
Needs=STI.SerialSection.Services

[5056i_N.DeviceData]
UI Class ID={70C88656-3165-4FCD-BEBF-0E87863290B7}
Model Name="5056i"
Version=%NetVersion%

[4056i_N.Device.Services]
Include=sti.inf
Needs=STI.SerialSection.Services

[4056i_N.DeviceData]
UI Class ID={70C88656-3165-4FCD-BEBF-0E87863290B7}
Model Name="4056i"
Version=%NetVersion%


[KM_NETWORK_MODEL_WIA.AddReg]
HKR,,HardwareConfig,1,1
HKR,,USDClass,,"{C556BE16-21EA-4535-86D1-0AF230047B8C}"
HKCR,CLSID\{C556BE16-21EA-4535-86D1-0AF230047B8C},,,"Kyocera WIA Scanner Network Driver"
HKCR,CLSID\{C556BE16-21EA-4535-86D1-0AF230047B8C}\InProcServer32,,,%16422%\%NetAppName%\kmwiadrvn224L.dll
HKCR,CLSID\{C556BE16-21EA-4535-86D1-0AF230047B8C}\InProcServer32,ThreadingModel,,"Both"

HKCR,CLSID\{70C88656-3165-4FCD-BEBF-0E87863290B7},,,"Kyocera WIA Driver UI Extension"
HKCR,CLSID\{70C88656-3165-4FCD-BEBF-0E87863290B7}\shellex\PropertySheetHandlers\{2AFE2F78-7F76-4CEB-BC32-0DA23DBE1A05}
HKCR,CLSID\{70C88656-3165-4FCD-BEBF-0E87863290B7}\shellex\WiaDialogExtensionHandlers\{2AFE2F78-7F76-4CEB-BC32-0DA23DBE1A05}

HKCR,CLSID\{2AFE2F78-7F76-4CEB-BC32-0DA23DBE1A05},,,"Kyocera WIA UI Extension Handler"
HKCR,CLSID\{2AFE2F78-7F76-4CEB-BC32-0DA23DBE1A05}\InProcServer32,,,%16422%\%NetAppName%\kmtwuiexn224L.dll
HKCR,CLSID\{2AFE2F78-7F76-4CEB-BC32-0DA23DBE1A05}\InProcServer32,ThreadingModel,,"Apartment"

HKR,,CreateFileName,,"AUTO"
HKR,,PortSelect,,no

[KM_NETWORK_MODEL_WIA.CopyFiles]
kmwiadrvn224L.dll
kmtwuiexn224L.dll
AppliInfo224L.dat
callgui224L.exe
KM_TWAIN1224L.ini
KMSCNAPI224L.dll
KMSCNTOOL224L.dll
KMTwainPageLog224L.ini
N_SCANCONFIG224L.xsd
N_SCANPARAMLIST224L.xml
N_SCANPARAMLIST224L.xsd
RegList224L.ini
WIAHelp_chs224L.chm
WIAHelp_cht224L.chm
WIAHelp_deu224L.chm
WIAHelp_enu224L.chm
WIAHelp_esp224L.chm
WIAHelp_fra224L.chm
WIAHelp_ita224L.chm
WIAHelp_jpn224L.chm
WIAHelp_kor224L.chm
WIAHelp_nld224L.chm
WIAHelp_ptb224L.chm
WIAHelp_rus224L.chm

[Strings]
Mfg="UTAX/TA"
Location="GEN_LIB"
KM_NETWORK_MODEL_WIA.DeviceDesc="WIA Scanner Network Driver"
KM_USB_MODEL_WIA.DeviceDesc="WIA Scanner USB Driver"
NetAppName = "WIA Scanner\Boxless"
UsbAppName = "WIA Scanner\USB2"
x86NetDir="Network\x86"
x64NetDir="Network\x64"
x86UsbDir="USB\x86"
x64UsbDir="USB\x64"
NetDir="Network"
UsbDir="USB"
NetVersion="2.2.0421"
UsbVersion="1.4.2924"
DeviceClassName="Image"
SvcDesc="KM USB Scan Svc"
