; JUNPSCN.INF - JUNIPER WIA/TWAIN scanner setup file
; Copyright (c) 2015-2016 SINDOH Corporation
; Manufacturer: SINDOH Corporation

[Version]
Signature="$Windows NT$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%Mfg%
DriverVer=03/22/2016,1.0.4.5
CatalogFile=junps_x_.cat

[ControlFlags]
ExcludeFromSelect=*

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

[Models.NTx86]
%ScanDev.DeviceDesc1% = Twain.Device, USB\Vid_19F1&Pid_9914&MI_01

[Models.NTamd64]
%ScanDev.DeviceDesc1% = Twain.Device, USB\Vid_19F1&Pid_9914&MI_01

[Models.NTx86.6.0]
%ScanDev.DeviceDesc1% = Wia.Device, USB\Vid_19F1&Pid_9914&MI_01

[Models.NTamd64.6.0]
%ScanDev.DeviceDesc1% = Wia.Device, USB\Vid_19F1&Pid_9914&MI_01

; TWAIN only (with sti)
[Twain.Device]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=1
DeviceData=Twain.DeviceData
AddReg=Twain.AddReg
CopyFiles=Twain.CopyFiles,Scanner.CopyTwainFiles
DelFiles=Twain.DelSysFiles
UninstallSection=Twain.Uninstall
ICMProfiles="sRGB Color Space Profile.icm"

; WIA-TWAIN
[Wia.Device]
Include=sti.inf
Needs=STI.USBSection
PortSelect=no
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x31
Events=Wia.Events
DeviceData=Wia.DeviceData
AddReg=Wia.AddReg
CopyFiles=Wia.CopyFiles,Scanner.CopyTwainFiles
DelFiles=Wia.DelSysFiles
UninstallSection=Wia.Uninstall
ICMProfiles="sRGB Color Space Profile.icm"

[Twain.Device.Services]
Include=sti.inf
Needs=STI.USBSection.Services

[Wia.Device.Services]
Include=sti.inf
Needs=STI.USBSection.Services

[Twain.DeviceData]
TwainDS=%ScanDev.DeviceKey%
SpecialInfo=%SpecialInfo%

[Wia.DeviceData]
Server=local
UI DLL=sti.dll
TwainDS=%ScanDev.DeviceKey%
SpecialInfo=%SpecialInfo%
ADF=ADFB

[Twain.AddReg]
HKR,,HardwareConfig,1,1
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,USBSCAN.SYS
HKR,,USDClass,,"{C0BEF95F-1A1F-46fb-B6EB-2C528151C065}"
HKCR,CLSID\{C0BEF95F-1A1F-46fb-B6EB-2C528151C065},,,"SINDOH N610_410 MFP TWAIN"
HKCR,CLSID\{C0BEF95F-1A1F-46fb-B6EB-2C528151C065}\InProcServer32,,,%11%\junpwnud.dll
HKCR,CLSID\{C0BEF95F-1A1F-46fb-B6EB-2C528151C065}\InProcServer32,ThreadingModel,,"Both"

[Wia.AddReg]
HKR,,HardwareConfig,1,4
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,USBSCAN.SYS
HKR,,USDClass,,"{C0BEF95F-1A1F-46fb-B6EB-2C528151C065}"
HKCR,CLSID\{C0BEF95F-1A1F-46fb-B6EB-2C528151C065},,,"SINDOH N610_410 MFP WIA"
HKCR,CLSID\{C0BEF95F-1A1F-46fb-B6EB-2C528151C065}\InProcServer32,,,%11%\junpwmd.dll
HKCR,CLSID\{C0BEF95F-1A1F-46fb-B6EB-2C528151C065}\InProcServer32,ThreadingModel,,"Both"

[Twain.CopyFiles]
junpwnud.dll

[Wia.CopyFiles]
junpwmd.dll

[Scanner.CopyTwainFiles]
junpt___.ds
junp_d__.dll
junp_d__.lua
junpSC__.xml
junpENUS.xml
junpKOKR.xml
junpZHCN.xml
junpESES.xml
junpRURU.xml
junpFRFR.xml
junpARSA.xml
junpPTPT.xml
junpTRTR.xml
junp.cfg

[Twain.Uninstall]
DelFiles=Twain.DelSysFiles

[Wia.Uninstall]
DelFiles=Wia.DelSysFiles

[Twain.DelSysFiles]
junpwnud.dll

[Wia.DelSysFiles]
junpwmd.dll

[Wia.Events]

[DestinationDirs]
; 10 = Windows directory: This is equivalent to %windir%. 
; 11 = System directory: This is equivalent to %windir%\system32 for NT-based systems, and to %windir%\system for Windows 9x/Me.
; 25 = Shared directory
DefaultDestDir=11
Scanner.CopyTwainFiles=10,\twain_32\junp

[SourceDisksFiles.x86]
junpwnud.dll=2
junpwmd.dll=2
junpt___.ds=1
junp_d__.dll=1
junp_d__.lua=1
junpSC__.xml=1
junpENUS.xml=1
junpKOKR.xml=1
junpZHCN.xml=1
junpESES.xml=1
junpRURU.xml=1
junpFRFR.xml=1
junpARSA.xml=1
junpPTPT.xml=1
junpTRTR.xml=1
junp.cfg=1

[SourceDisksFiles.amd64]
junpwnud.dll=2
junpwmd.dll=2
junpt___.ds=1
junp_d__.dll=1
junp_d__.lua=1
junpSC__.xml=1
junpENUS.xml=1
junpKOKR.xml=1
junpZHCN.xml=1
junpESES.xml=1
junpRURU.xml=1
junpFRFR.xml=1
junpARSA.xml=1
junpPTPT.xml=1
junpTRTR.xml=1
junp.cfg=1

[SourceDisksNames.x86]
1 = %disk%,,,""
2 = %disk%,,,i386

[SourceDisksNames.amd64]
1 = %disk%,,,""
2 = %disk%,,,x64

[Strings]
Mfg="SINDOH"
disk="SINDOH N610_410 Series Installation CD"
ScanDev.DeviceDesc1="SINDOH N610_410 Series Scanner"
ScanDev.DeviceKey="SINDOH N610_410 MFP TWAIN R"
SpecialInfo="SINDOH N610_410 MFP TWAIN R"