; ptmsikim.inf     Version 1.0.0.0
; Pantum CM250ADN Scan Driver
; Color Scanner's setup file.

[Version]
Signature="$WINDOWS NT$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%MFG%
DriverVer=03/25/2022,1.0.0.0
CatalogFile=wiaNT86.cat

[ControlFlags]
;ExcludeFromSelect=*

[Manufacturer]
%MFG%=Models,ntx86,ntamd64,ntx86.6.0,ntamd64.6.0


[Models.ntx86]
"Pantum CM250ADN (WIA - USB)" = ptmsScan.Scanner,USB\VID_232B&PID_A340&MI_00

[Models.ntamd64]
"Pantum CM250ADN (WIA - USB)" = ptmsScan.Scanner.ntamd64,USB\VID_232B&PID_A340&MI_00

[Models.ntx86.6.0]
"Pantum CM250ADN (WIA - USB)" = ptmsScan.Scanner.ntx86.6.0,USB\VID_232B&PID_A340&MI_00

[Models.ntamd64.6.0]
"Pantum CM250ADN (WIA - USB)" = ptmsScan.Scanner.ntamd64.6.0,USB\VID_232B&PID_A340&MI_00

[Models]
"Pantum CM250ADN (WIA - USB)" = ptmsScan.Scanner,USB\VID_232B&PID_A340&MI_00
"Pantum CM250ADN (WIA - USB)" = ptmsScan.Scanner.ntamd64,USB\VID_232B&PID_A340&MI_00

;-------------------------------  For XP,2003Server,W2K 32bitOS  -------------------------------
[ptmsScan.Scanner.ntx86]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=1
Capabilities=0x31
Events=ptmsScan.Events
DeviceData=ptmsScan.DeviceData
AddReg=ptmsScan.AddReg.ntx86
CopyFiles=STIWIA.Files.ntx86, ICC.Files, TWSRC.Files.ntx86, TLSRC.Files
ICMProfiles="sRGB Color Space Profile.icm"
RegisterDlls=ptmsScan.RegisterDlls.ntx86

[ptmsScan.Scanner.ntx86.Services]
Include=sti.inf
Needs=STI.USBSection.Services

;-------------------------------  For XP,2003Server,W2K 64bitOS  -------------------------------
[ptmsScan.Scanner.ntamd64]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=1
Capabilities=0x31
Events=ptmsScan.Events
DeviceData=ptmsScan.DeviceData
AddReg=ptmsScan.AddReg.ntamd64
CopyFiles=STIWIA.Files.ntamd64, ICC.Files, TWSRC.Files.ntamd64, TLSRC.Files
ICMProfiles="sRGB Color Space Profile.icm"
RegisterDlls=ptmsScan.RegisterDlls.ntamd64

[ptmsScan.Scanner.ntamd64.Services]
Include=sti.inf
Needs=STI.USBSection.Services

;-------------------------------  For Vista 32bitOS -------------------------------
[ptmsScan.Scanner.ntx86.6.0]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=1
Capabilities=0x31
Events=ptmsScan.Events
DeviceData=ptmsScan.DeviceData.6.0
AddReg=ptmsScan.AddReg.ntx86.6.0
CopyFiles=STIWIA.Files.ntx86.6.0, ICC.Files, TWSRC.Files.ntx86.6.0, TLSRC.Files
ICMProfiles="sRGB Color Space Profile.icm"
RegisterDlls=ptmsScan.RegisterDlls.ntx86.6.0

[ptmsScan.Scanner.ntx86.6.0.Services]
Include=sti.inf
Needs=STI.USBSection.Services

;-------------------------------  For Vista 64bitOS -------------------------------
[ptmsScan.Scanner.ntamd64.6.0]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=1
Capabilities=0x31
Events=ptmsScan.Events
DeviceData=ptmsScan.DeviceData.6.0
AddReg=ptmsScan.AddReg.ntamd64.6.0
CopyFiles=STIWIA.Files.ntamd64.6.0, ICC.Files, TWSRC.Files.ntamd64.6.0, TLSRC.Files
ICMProfiles="sRGB Color Space Profile.icm"
RegisterDlls=ptmsScan.RegisterDlls.ntamd64.6.0

[ptmsScan.Scanner.ntamd64.6.0.Services]
Include=sti.inf
Needs=STI.USBSection.Services

;-------------------------------  Common Section  -------------------------------
[ptmsScan.Events]

[SourceDisksNames]
1=%LOCATION%,,,

[SourceDisksFiles]
ptmsikisc.dll=1
ptmsikirs.dll=1
ptmsikisp.dll=1
ptmsikisw.dll=1
ptmsikiif.dll=1
ptmsikisf.dll=1

ptmsikzif.dll=1
ptmsikzrs.dll=1
ptmsikzsc.dll=1
ptmsikzsf.dll=1
ptmsikzif.dll=1
ptmsikzsp.dll=1
ptmsikzsw.dll=1


Pantum CM250ADN.icm=1
Pantum CM250ADN.ds=1

ptmsSTILib.dll=1
ptmsSTILibx64.dll=1

ptmsDevData.dll=1
ptmsDriver.dll=1
ptmsDevResource.dll=1
ptmsFilter.dll=1
ptmsScanSettings.exe=1

Pantum CM250ADN.enu=1
Pantum CM250ADN.chs=1

ptmsScanSettings.enu=1
ptmsScanSettings.chs=1

Pantum CM250ADNENU.chm=1
Pantum CM250ADNCHS.chm=1


[DestinationDirs]
TWSRC.Files.ntx86=10, %TW32DIR%\%TWDSDIR%
TWSRC.Files.ntx86.6.0=10, %TW32DIR%\%TWDSDIR%
TWSRC.Files.ntamd64=10, %TW32DIR%\%TWDSDIR%
TWSRC.Files.ntamd64.6.0=10, %TW32DIR%\%TWDSDIR%
TLSRC.Files=10, %TW32DIR%\%TWDLDIR%

ICC.Files=23
DefaultDestDir=11

;-------------------------------  Common Section For XP,2003Server,W2K 32bitOS  -------------------------------
[ptmsScan.DeviceData]
TwainDS=%TWAINDS%
Model=%ptmsScan.Model%
Server=local
UI DLL=sti.dll
UI Class ID = {1A289BF6-BFE8-4666-935C-4A5F7FE9D565}
PrivateICM=%PRIVATEICMPROFILE%
MaxRequestBytes=262144
sRGB Conversion=1


;-------------------------------  Common Section For Vista 32bitOS  -------------------------------
[ptmsScan.DeviceData.6.0]
TwainDS=%TWAINDS%
Model=%ptmsScan.Model%
Server=local
UI DLL=sti.dll
UI Class ID = {1A289BF6-BFE8-4666-935C-4A5F7FE9D565}
PrivateICM=%PRIVATEICMPROFILE%
MaxRequestBytes=262144
sRGB Conversion=1


;-------------------------------  For XP,2003Server,W2K 32bitOS  -------------------------------
[ptmsScan.RegisterDlls.ntx86]
; Register UI extension
11,,ptmsikisp.dll,1

[STIWIA.Files.ntx86]
ptmsikisc.dll,,,0x00000020
ptmsikirs.dll,,,0x00000020
ptmsikisp.dll,,,0x00000020

;-------------------------------  For XP,2003Server,W2K 64bitOS  -------------------------------
[ptmsScan.RegisterDlls.ntamd64]
; Register UI extension
11,,ptmsikzsp.dll,1

[STIWIA.Files.ntamd64]
ptmsikzrs.dll,,,0x00000020
ptmsikzsc.dll,,,0x00000020
ptmsikzsp.dll,,,0x00000020

;-------------------------------  For XP,2003Server,W2K 32bitOS  -------------------------------
[ptmsScan.AddReg.ntx86]
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,usbscan.sys
HKR,,HardwareConfig,1,4
HKR,,USDClass,,"{691306D2-C8A6-4A88-B6F7-FA375BB2A914}"
HKCR,CLSID\{691306D2-C8A6-4A88-B6F7-FA375BB2A914},,,%MiniDriverDesc%
HKCR,CLSID\{691306D2-C8A6-4A88-B6F7-FA375BB2A914}\InProcServer32,,,%11%\ptmsikisc.dll
HKCR,CLSID\{691306D2-C8A6-4A88-B6F7-FA375BB2A914}\InProcServer32,ThreadingModel,,Both

HKLM,"Software\Pantum\CM250ADN\TwainDriver","EnableEnhancedBW",0x00010001,1

[TWSRC.Files.ntx86]
Pantum CM250ADN.ds,,,0x00000020
ptmsSTILib.dll,,,0x00000020
ptmsDevData.dll,,,0x00000020
ptmsDriver.dll,,,0x00000020
ptmsDevResource.dll,,,0x00000020
ptmsFilter.dll,,,0x00000020
ptmsScanSettings.exe,,,0x00000020


;-------------------------------  For XP,2003Server,W2K 64bitOS  -------------------------------
[ptmsScan.AddReg.ntamd64]
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,usbscan.sys
HKR,,HardwareConfig,1,4
HKR,,USDClass,,"{691306D2-C8A6-4A88-B6F7-FA375BB2A914}"
HKCR,CLSID\{691306D2-C8A6-4A88-B6F7-FA375BB2A914},,,%MiniDriverDesc%
HKCR,CLSID\{691306D2-C8A6-4A88-B6F7-FA375BB2A914}\InProcServer32,,,%11%\ptmsikzsc.dll
HKCR,CLSID\{691306D2-C8A6-4A88-B6F7-FA375BB2A914}\InProcServer32,ThreadingModel,,Both

HKLM,"Software\Pantum\CM250ADN\TwainDriver","EnableEnhancedBW",0x00010001,1

[TWSRC.Files.ntamd64]
Pantum CM250ADN.ds,,,0x00000020
ptmsSTILib.dll,,,0x00000020
ptmsSTILibx64.dll,,,0x00000020
ptmsDevData.dll,,,0x00000020
ptmsDriver.dll,,,0x00000020
ptmsDevResource.dll,,,0x00000020
ptmsFilter.dll,,,0x00000020
ptmsScanSettings.exe,,,0x00000020


;-------------------------------  For Vista 32bitOS  -------------------------------
[ptmsScan.AddReg.ntx86.6.0]
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,usbscan.sys
HKR,,HardwareConfig,1,4

HKR,,USDClass,,"{691306D2-C8A6-4A88-B6F7-FA375BB2A914}"
HKCR,CLSID\{691306D2-C8A6-4A88-B6F7-FA375BB2A914},,,%MiniDriverDesc%
HKCR,CLSID\{691306D2-C8A6-4A88-B6F7-FA375BB2A914}\InProcServer32,,,%11%\ptmsikisw.dll
HKCR,CLSID\{691306D2-C8A6-4A88-B6F7-FA375BB2A914}\InProcServer32,ThreadingModel,,"Both"

HKCR,CLSID\{1A289BF6-BFE8-4666-935C-4A5F7FE9D565},,,"WIA Driver UI Extension"
HKCR,CLSID\{1A289BF6-BFE8-4666-935C-4A5F7FE9D565}\shellex\ImageProcessingFilter\{E87F2203-7D7E-42DF-BCA7-5884DC5FC428}
HKCR,CLSID\{1A289BF6-BFE8-4666-935C-4A5F7FE9D565}\shellex\SegmentationFilter\{17D6A5E9-426D-4107-9AC1-39B41B8CB0EE}

HKCR,CLSID\{E87F2203-7D7E-42DF-BCA7-5884DC5FC428},,,"WIA Image Processing Filter"
HKCR,CLSID\{E87F2203-7D7E-42DF-BCA7-5884DC5FC428}\InProcServer32,,,%11%\ptmsikiif.dll
HKCR,CLSID\{E87F2203-7D7E-42DF-BCA7-5884DC5FC428}\InProcServer32,ThreadingModel,,"Both"

HKCR,CLSID\{17D6A5E9-426D-4107-9AC1-39B41B8CB0EE},,,"WIA Image Segmentation Filter"
HKCR,CLSID\{17D6A5E9-426D-4107-9AC1-39B41B8CB0EE}\InProcServer32,,,%11%\ptmsikisf.dll
HKCR,CLSID\{17D6A5E9-426D-4107-9AC1-39B41B8CB0EE}\InProcServer32,ThreadingModel,,"Both"

HKLM,"Software\Pantum\CM250ADN\TwainDriver","EnableEnhancedBW",0x00010001,1

[TWSRC.Files.ntx86.6.0]
Pantum CM250ADN.ds,,,0x00000020
ptmsSTILib.dll,,,0x00000020
ptmsDevData.dll,,,0x00000020
ptmsDriver.dll,,,0x00000020
ptmsDevResource.dll,,,0x00000020
ptmsFilter.dll,,,0x00000020
ptmsScanSettings.exe,,,0x00000020


;-------------------------------  For Vista 64bitOS  -------------------------------
[ptmsScan.AddReg.ntamd64.6.0]
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,usbscan.sys
HKR,,HardwareConfig,1,4

HKR,,USDClass,,"{691306D2-C8A6-4A88-B6F7-FA375BB2A914}"
HKCR,CLSID\{691306D2-C8A6-4A88-B6F7-FA375BB2A914},,,%MiniDriverDesc%
HKCR,CLSID\{691306D2-C8A6-4A88-B6F7-FA375BB2A914}\InProcServer32,,,%11%\ptmsikzsw.dll
HKCR,CLSID\{691306D2-C8A6-4A88-B6F7-FA375BB2A914}\InProcServer32,ThreadingModel,,"Both"

HKCR,CLSID\{1A289BF6-BFE8-4666-935C-4A5F7FE9D565},,,"WIA Driver UI Extension"
HKCR,CLSID\{1A289BF6-BFE8-4666-935C-4A5F7FE9D565}\shellex\ImageProcessingFilter\{E87F2203-7D7E-42DF-BCA7-5884DC5FC428}
HKCR,CLSID\{1A289BF6-BFE8-4666-935C-4A5F7FE9D565}\shellex\SegmentationFilter\{17D6A5E9-426D-4107-9AC1-39B41B8CB0EE}

HKCR,CLSID\{E87F2203-7D7E-42DF-BCA7-5884DC5FC428},,,"WIA Image Processing Filter"
HKCR,CLSID\{E87F2203-7D7E-42DF-BCA7-5884DC5FC428}\InProcServer32,,,%11%\ptmsikzif.dll
HKCR,CLSID\{E87F2203-7D7E-42DF-BCA7-5884DC5FC428}\InProcServer32,ThreadingModel,,"Both"

HKCR,CLSID\{17D6A5E9-426D-4107-9AC1-39B41B8CB0EE},,,"WIA Image Segmentation Filter"
HKCR,CLSID\{17D6A5E9-426D-4107-9AC1-39B41B8CB0EE}\InProcServer32,,,%11%\ptmsikzsf.dll
HKCR,CLSID\{17D6A5E9-426D-4107-9AC1-39B41B8CB0EE}\InProcServer32,ThreadingModel,,"Both"

HKLM,"Software\Pantum\CM250ADN\TwainDriver","EnableEnhancedBW",0x00010001,1

[TWSRC.Files.ntamd64.6.0]
Pantum CM250ADN.ds,,,0x00000020
ptmsSTILib.dll,,,0x00000020
ptmsSTILibx64.dll,,,0x00000020
ptmsDevData.dll,,,0x00000020
ptmsDriver.dll,,,0x00000020
ptmsDevResource.dll,,,0x00000020
ptmsFilter.dll,,,0x00000020
ptmsScanSettings.exe,,,0x00000020

;-------------------------------  For Vista 32bitOS Common Section  -------------------------------
[ptmsScan.RegisterDlls.ntx86.6.0]
; Register UI extension
11,,ptmsikisp.dll,1

[STIWIA.Files.ntx86.6.0]
ptmsikirs.dll,,,0x00000020
ptmsikisp.dll,,,0x00000020
ptmsikisw.dll,,,0x00000020
ptmsikiif.dll,,,0x00000020
ptmsikisf.dll,,,0x00000020


;-------------------------------  For Vista 64bitOS Common Section  -------------------------------
[ptmsScan.RegisterDlls.ntamd64.6.0]
; Register UI extension
11,,ptmsikzsp.dll,1

[STIWIA.Files.ntamd64.6.0]
ptmsikzrs.dll,,,0x00000020
ptmsikzsp.dll,,,0x00000020
ptmsikzsw.dll,,,0x00000020
ptmsikzif.dll,,,0x00000020
ptmsikzsf.dll,,,0x00000020


;-------------------------------  Common Section  -------------------------------
[ICC.Files]
Pantum CM250ADN.icm,,,0x00000004

[TLSRC.Files]
Pantum CM250ADN.enu,Pantum CM250ADN.enu,,0x00000004
Pantum CM250ADN.chs,Pantum CM250ADN.chs,,0x00000004
ptmsScanSettings.enu,,,0x00000004
ptmsScanSettings.chs,,,0x00000004
Pantum CM250ADNENU.chm,,,0x00000004
Pantum CM250ADNCHS.chm,,,0x00000004


[Strings]
MFG="Pantum"

ptmsScan.Model="Pantum CM250ADN (WIA - USB)"
ptmsScan.DeviceDesc="Pantum CM250ADN (WIA - USB)"

MiniDriverDesc="Pantum CM250ADN Scan Minidriver"

TWAINDS="Pantum CM250ADN (WIA - USB)"

PRIVATEICMPROFILE="Pantum CM250ADN.icm"

LOCATION="Install Source"

TW32DIR="twain_32"
TWDSDIR="Pantum CM250ADN (USB)"
TWDLDIR="Pantum CM250ADN (USB)\locale"


