; M6550SC.inf     
; installation file for the Scanner Driver
; Color Scanner's setup file.
; Copyright (c) 2010. All rights reserved.
; Manufacturer: Pantum
;

[Version]
Signature="$Windows NT$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%Company%

DriverVer = 03/07/2017,1.0.0.51
CatalogFile=ptm6550wia.cat


[SourceDisksFiles.x86]
ptm6550wiasec.dll=96
ptm6550wia.dll=96
ptm6500lld.dll = 96
ptm6500Apreg.dll =96
ptm6500ImgEffect.dll=96

ptm6500ds.ds = 3
ptm6500ImgEffect.dll = 3
ptm6500lld.dll = 3

; RC file
ptm6500twrczhcn.dll = 3
ptm6500twrczhtw.dll = 3
ptm6500twrcenus.dll = 3
ptm6500twrcru.dll = 3

ptm6500twrcja.dll = 3
ptm6500twrcesmx.dll = 3
ptm6500twrcfr.dll = 3
ptm6500twrcit.dll = 3
ptm6500twrcde.dll = 3
ptm6500twrctr.dll = 3
ptm6500twrcpt.dll = 3

; Help file
ptm6500twzhcn.chm = 4
ptm6500twzhtw.chm = 4
ptm6500twenus.chm = 4
ptm6500twru.chm = 4
ptm6500twit.chm = 4
ptm6500twja.chm = 4
ptm6500twesmx.chm = 4
ptm6500twfr.chm = 4
ptm6500twde.chm = 4
ptm6500twtr.chm = 4
ptm6500twpt.chm = 4

ptm6500.ini = 4

[SourceDisksNames.x86]
1=%Location%,,,
; 96 = %SCAN32%,ptm6500X86.CAB,,
96 = %DISK%,,,ptm6500X86

3 = %DISK%,,,x32\ptm6500
4 = %DISK%,,,.



[SourceDisksFiles.amd64]
ptm6550wiasec.dll=99
ptm6550wia.dll=99
ptm6500lld.dll = 99
ptm6500ImgEffect.dll=99
ptm6500ApReg.dll =99

ptm6500ds.ds = 3
ptm6500ImgEffect.dll = 3
ptm6500lld.dll = 3


; RC file
ptm6500twrczhcn.dll = 3
ptm6500twrczhtw.dll = 3
ptm6500twrcenus.dll = 3
ptm6500twrcru.dll = 3

ptm6500twrcja.dll = 3
ptm6500twrcesmx.dll = 3
ptm6500twrcfr.dll = 3
ptm6500twrcit.dll = 3
ptm6500twrcde.dll = 3
ptm6500twrctr.dll = 3
ptm6500twrcpt.dll = 3


; Help file
ptm6500twzhcn.chm = 4
ptm6500twzhtw.chm = 4
ptm6500twenus.chm = 4
ptm6500twru.chm = 4

ptm6500twja.chm = 4
ptm6500twesmx.chm = 4
ptm6500twfr.chm = 4
ptm6500twit.chm = 4
ptm6500twde.chm = 4
ptm6500twtr.chm = 4
ptm6500twpt.chm = 4

ptm6500.ini = 4

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

99 = %DISK%,,,ptm6500AMD64
; 99 = %SCAN64%,ptm6500AMD64.CAB,,
3 = %DISK%,,,x32\ptm6500
4 = %DISK%,,,.

[DestinationDirs]
DefaultDestDir=11    
TWAINDRIVER.CopyFiles=10,"twain_32\Pantum\ptm6550"
TWAINDRIVER.amd64.CopyFiles=10,"twain_64\Pantum\ptm6550"
ICM.CopyFiles=23
INI.CopyFiles=10

TWAINDRIVER.Delfiles=10,"twain_32\Pantum\ptm6550"
TWAINDRIVER.amd64.Delfiles=10,"twain_64\Pantum\ptm6550"
ICM.Delfiles=23


[Manufacturer]
%Company%=Pantum, NTx86, NTx86.6.1, NTamd64, NTamd64.6.1


[Pantum.NTx86]
%SCANNER.WIA1.0.DeviceDesc% = SCANNER.WIA1.0DRIVER.ntx86,%M6550_VIDPID%
%SCANNER.WIA1.0.DeviceDesc% = SCANNER.WIA1.0DRIVER.ntx86,%M6550N_VIDPID%
%SCANNER.WIA1.0.DeviceDesc% = SCANNER.WIA1.0DRIVER.ntx86,%M6550NW_VIDPID%
%SCANNER.WIA1.0.DeviceDesc% = SCANNER.WIA1.0DRIVER.ntx86,%M6550W_VIDPID%

[Pantum.NTx86.6.1]
%SCANNER.WIA2.0.DeviceDesc% = SCANNER.WIA2.0DRIVER.ntx86,%M6550_VIDPID%
%SCANNER.WIA2.0.DeviceDesc% = SCANNER.WIA2.0DRIVER.ntx86,%M6550N_VIDPID%
%SCANNER.WIA2.0.DeviceDesc% = SCANNER.WIA2.0DRIVER.ntx86,%M6550NW_VIDPID%
%SCANNER.WIA2.0.DeviceDesc% = SCANNER.WIA2.0DRIVER.ntx86,%M6550W_VIDPID%

[Pantum.NTamd64]
%SCANNER.WIA1.0.DeviceDesc% = SCANNER.WIA1.0DRIVER.ntamd64,%M6550_VIDPID%
%SCANNER.WIA1.0.DeviceDesc% = SCANNER.WIA1.0DRIVER.ntamd64,%M6550N_VIDPID%
%SCANNER.WIA1.0.DeviceDesc% = SCANNER.WIA1.0DRIVER.ntamd64,%M6550NW_VIDPID%
%SCANNER.WIA1.0.DeviceDesc% = SCANNER.WIA1.0DRIVER.ntamd64,%M6550W_VIDPID%

[Pantum.NTamd64.6.1]
%SCANNER.WIA2.0.DeviceDesc% = SCANNER.WIA2.0DRIVER.ntamd64,%M6550_VIDPID%
%SCANNER.WIA2.0.DeviceDesc% = SCANNER.WIA2.0DRIVER.ntamd64,%M6550N_VIDPID%
%SCANNER.WIA2.0.DeviceDesc% = SCANNER.WIA2.0DRIVER.ntamd64,%M6550NW_VIDPID%
%SCANNER.WIA2.0.DeviceDesc% = SCANNER.WIA2.0DRIVER.ntamd64,%M6550W_VIDPID%


;---------------------------------------M6550 Install-------------------------------------

;----------------------------------------------------- 32-bit Windows XP & 2003 Server DDInstall Section ------------------------------------------------------
[SCANNER.WIA1.0DRIVER.ntx86]
Include=sti.inf
Needs=STI.USBSection
PortSelect=no
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x33
Events=WIADRIVER.Events
DeviceData=SCANNER.WIA1.0DRIVER.DeviceData
AddReg=SCANNER.WIA1.0DRIVER.AddReg
;DelReg=SCANNER.WIA1.0DRIVER.DelReg
CopyFiles=SCANNER.WIA1.0DRIVER.CopyFiles,TWAINDRIVER.CopyFiles,ICM.CopyFiles,INI.CopyFiles
Delfiles=SCANNER.WIA1.0DRIVER.Delfiles,TWAINDRIVER.Delfiles,ICM.Delfiles
ICMProfiles="sRGB Color Space Profile.icm"
RegisterDlls=SCANNER.PushApRegisterDlls

[SCANNER.WIA1.0DRIVER.ntx86.Services]
Include=sti.inf
Needs=STI.USBSection.Services


;------------------------------------------------------ 64 bit Windows XP & 2003 Server DDInstall Section -------------------------------------------------
[SCANNER.WIA1.0DRIVER.ntamd64]
Include=sti.inf
Needs=STI.USBSection
PortSelect=no
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x33
Events=WIADRIVER.Events
DeviceData=SCANNER.WIA1.0DRIVER.amd64.DeviceData
AddReg=SCANNER.WIA1.0DRIVER.AddReg
;DelReg=SCANNER.WIA1.0DRIVER.DelReg
CopyFiles=SCANNER.WIA1.0DRIVER.CopyFiles,TWAINDRIVER.amd64.CopyFiles,ICM.CopyFiles,INI.CopyFiles
Delfiles=SCANNER.WIA1.0DRIVER.Delfiles,TWAINDRIVER.amd64.Delfiles,ICM.Delfiles
ICMProfiles="sRGB Color Space Profile.icm"
RegisterDlls=SCANNER.PushApRegisterDlls

[SCANNER.WIA1.0DRIVER.ntamd64.Services]
Include=sti.inf
Needs=STI.USBSection.Services


;------------------------------------------------------ 32-bit Windows Vista & 2008 Server DDInstall Section ----------------------------------------------------
[SCANNER.WIA2.0DRIVER.ntx86]
Include=sti.inf
Needs=STI.USBSection
PortSelect=no
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x33
Events=WIADRIVER.Events
DeviceData=SCANNER.WIA2.0DRIVER.DeviceData
AddReg=SCANNER.WIA2.0DRIVER.AddReg
;DelReg=SCANNER.WIA2.0DRIVER.DelReg
CopyFiles=SCANNER.WIA2.0DRIVER.CopyFiles,TWAINDRIVER.CopyFiles,ICM.CopyFiles,INI.CopyFiles
Delfiles=SCANNER.WIA2.0DRIVER.Delfiles,TWAINDRIVER.Delfiles,ICM.Delfiles
ICMProfiles="sRGB Color Space Profile.icm"
RegisterDlls=SCANNER.PushApRegisterDlls

[SCANNER.WIA2.0DRIVER.ntx86.Services]
Include=sti.inf
Needs=STI.USBSection.Services

;------------------------------------------------------ 64-bit Windows Vista & 2008 Server DDInstall Section -----------------------------------------------
[SCANNER.WIA2.0DRIVER.ntamd64]
Include=sti.inf
Needs=STI.USBSection
PortSelect=no
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x33
Events=WIADRIVER.Events
DeviceData=SCANNER.WIA2.0DRIVER.amd64.DeviceData
AddReg=SCANNER.WIA2.0DRIVER.AddReg
;DelReg=SCANNER.WIA2.0DRIVER.DelReg
CopyFiles=SCANNER.WIA2.0DRIVER.CopyFiles,TWAINDRIVER.amd64.CopyFiles,ICM.CopyFiles,INI.CopyFiles
Delfiles=SCANNER.WIA2.0DRIVER.Delfiles,TWAINDRIVER.amd64.Delfiles,ICM.Delfiles
ICMProfiles="sRGB Color Space Profile.icm"
RegisterDlls=SCANNER.PushApRegisterDlls

[SCANNER.WIA2.0DRIVER.ntamd64.Services]
Include=sti.inf
Needs=STI.USBSection.Services

;------------------------------------------------------------- Events ------------------------------------------------------------
[WIADRIVER.Events]
;not support
%ScanButton.Desc%=%ScanButton.Desc%,{C00EB795-8C6E-11d2-977A-0000F87A926F},*

;----------------------------------------------------------- DeviceData ----------------------------------------------------------
[SCANNER.WIA1.0DRIVER.DeviceData]
Server=local
;LLDPath=%10%\twain_32\Pantum\ptm6550\ptm6500lld.dll
TwainDS=%SCANNER.WIA1.0.DeviceDesc%
ADFAttached=1
FilePrifix=ptm6500

[SCANNER.WIA1.0DRIVER.amd64.DeviceData]
Server=local
;LLDPath=%10%\twain_64\Pantum\ptm6550\ptm6500lld.dll
TwainDS=%SCANNER.WIA1.0.DeviceDesc%
ADFAttached=1
FilePrifix=ptm6500

[SCANNER.WIA2.0DRIVER.DeviceData]
Server=local
UI Class ID={35546DDF-0CFC-4d57-860E-5B28B99649EA}
;LLDPath=%10%\twain_32\Pantum\ptm6550\ptm6500lld.dll
TwainDS=%SCANNER.WIA2.0.DeviceDesc%
ADFAttached=1
FilePrifix=ptm6500

[SCANNER.WIA2.0DRIVER.amd64.DeviceData]
Server=local
UI Class ID={35546DDF-0CFC-4d57-860E-5B28B99649EA}
;LLDPath=%10%\twain_64\Pantum\ptm6550\ptm6500lld.dll
TwainDS=%SCANNER.WIA2.0.DeviceDesc%
ADFAttached=1
FilePrifix=ptm6500

;-------------------------------------------------------- Add Register --------------------------------------------------------


[SCANNER.WIA1.0DRIVER.AddReg]
HKR,,USDClass,,%WIA1_GUID%
HKR,,FriendlyName,,%SCANNER.WIA1.0.DeviceDesc%  ; add friendlyname 
;HKR,,DeviceID,0, "USB\VID_232B&PID_0E20&MI_01" ;add deviceid 
HKR,,DeviceInterfaceGUIDs, 0x10000,"{6bdd1fc6-810f-11d0-bec7-08002be2092f}"

HKCR,CLSID\%WIA1_GUID%,,,"Pantum M6550 Series WIA 1.0 Minidriver"
HKCR,CLSID\%WIA1_GUID%\InProcServer32,,,%11%\ptm6550wia.dll
HKCR,CLSID\%WIA1_GUID%\InProcServer32,ThreadingModel,,Both


[SCANNER.WIA2.0DRIVER.AddReg]
HKR,,HardwareConfig,1,1
HKR,,USDClass,,%WIA2_GUID%
HKR,,FriendlyName,,%SCANNER.WIA2.0.DeviceDesc%  ; add friendlyname 
;HKR,,DeviceID,0, "USB\VID_232B&PID_0E20&MI_01" ;add deviceid 
HKR,,DeviceInterfaceGUIDs, 0x10000,"{6bdd1fc6-810f-11d0-bec7-08002be2092f}"

HKCR,CLSID\%WIA2_GUID%,,,"Pantum M6550 Series WIA 2.0 Minidriver"
HKCR,CLSID\%WIA2_GUID%\InProcServer32,,,%11%\ptm6550wiasec.dll
HKCR,CLSID\%WIA2_GUID%\InProcServer32,ThreadingModel,,"Both"

HKCR,CLSID\{35546DDF-0CFC-4d57-860E-5B28B99649EA},,,"WIA Driver UI Extension"


[SCANNER.PushApRegisterDlls]
11,,ptm6500ApReg.dll,1

;-------------------------------------------------------- Delete Register --------------------------------------------------------


;=================== ControlFlags ===========================
[ControlFlags]
; Remove comment from this line if all devices are PnP.
ExcludeFromSelect=*

;-------------------------------------------------------- Copy Files --------------------------------------------------------

[INI.CopyFiles]
ptm6500.ini

[SCANNER.WIA1.0DRIVER.CopyFiles]
ptm6550wia.dll
ptm6500lld.dll
ptm6500ImgEffect.dll
ptm6500ApReg.dll


[SCANNER.WIA2.0DRIVER.CopyFiles]
ptm6550wiasec.dll
ptm6500lld.dll
ptm6500ImgEffect.dll
ptm6500ApReg.dll

[TWAINDRIVER.CopyFiles]

ptm6500ds.ds
ptm6500ImgEffect.dll
ptm6500lld.dll


ptm6500twrczhcn.dll
ptm6500twrczhtw.dll
ptm6500twrcenus.dll
ptm6500twrcru.dll

ptm6500twrcja.dll 
ptm6500twrcesmx.dll 
ptm6500twrcfr.dll 
ptm6500twrcit.dll 
ptm6500twrcde.dll 
ptm6500twrctr.dll
ptm6500twrcpt.dll

ptm6500twzhcn.chm
ptm6500twzhtw.chm
ptm6500twenus.chm
ptm6500twru.chm
ptm6500twja.chm 
ptm6500twesmx.chm 
ptm6500twfr.chm 
ptm6500twit.chm 
ptm6500twde.chm 
ptm6500twtr.chm
ptm6500twpt.chm

[TWAINDRIVER.amd64.CopyFiles]

ptm6500ds.ds
ptm6500ImgEffect.dll
ptm6500lld.dll


ptm6500twrczhcn.dll
ptm6500twrczhtw.dll
ptm6500twrcenus.dll
ptm6500twrcru.dll

ptm6500twrcja.dll 
ptm6500twrcesmx.dll 
ptm6500twrcfr.dll 
ptm6500twrcit.dll 
ptm6500twrcde.dll 
ptm6500twrctr.dll 
ptm6500twrcpt.dll

ptm6500twzhcn.chm
ptm6500twzhtw.chm
ptm6500twenus.chm
ptm6500twru.chm

ptm6500twja.chm 
ptm6500twesmx.chm 
ptm6500twfr.chm 
ptm6500twit.chm 
ptm6500twde.chm 
ptm6500twtr.chm 
ptm6500twpt.chm

[ICM.CopyFiles]


;-------------------------------------------------------- Delete Files --------------------------------------------------------



[SCANNER.WIA1.0DRIVER.Delfiles]
ptm6550wia.dll
ptm6500lld.dll
ptm6500ImgEffect.dll
ptm6500ApReg.dll

[SCANNER.WIA2.0DRIVER.Delfiles]
ptm6550wiasec.dll
ptm6500lld.dll
ptm6500ImgEffect.dll
ptm6500ApReg.dll

[TWAINDRIVER.Delfiles]

ptm6500ds.ds
ptm6500ImgEffect.dll
ptm6500lld.dll



ptm6500twrczhcn.dll
ptm6500twrczhtw.dll
ptm6500twrcenus.dll
ptm6500twrcru.dll

ptm6500twrcja.dll 
ptm6500twrcesmx.dll 
ptm6500twrcfr.dll 
ptm6500twrcit.dll 
ptm6500twrcde.dll 
ptm6500twrctr.dll 
ptm6500twrcpt.dll

ptm6500twzhcn.chm
ptm6500twzhtw.chm
ptm6500twenus.chm
ptm6500twru.chm
ptm6500twja.chm 
ptm6500twesmx.chm 
ptm6500twfr.chm 
ptm6500twit.chm 
ptm6500twde.chm 
ptm6500twtr.chm 
ptm6500twpt.chm

[TWAINDRIVER.amd64.Delfiles]
ptm6500ds.ds
ptm6500ImgEffect.dll
ptm6500lld.dll



ptm6500twrczhcn.dll
ptm6500twrczhtw.dll
ptm6500twrcenus.dll
ptm6500twrcru.dll

ptm6500twrcja.dll 
ptm6500twrcesmx.dll 
ptm6500twrcfr.dll 
ptm6500twrcit.dll 
ptm6500twrcde.dll 
ptm6500twrctr.dll 
ptm6500twrcpt.dll

ptm6500twzhcn.chm
ptm6500twzhtw.chm
ptm6500twenus.chm
ptm6500twru.chm

ptm6500twja.chm 
ptm6500twesmx.chm 
ptm6500twfr.chm 
ptm6500twit.chm 
ptm6500twde.chm 
ptm6500twtr.chm 
ptm6500twpt.chm


[ICM.Delfiles]


[Strings]
Company ="Pantum"
ProviderName="Pantum"
DISK = "Pantum M6550 Series Setup Disc"
Location="Pantum M6550 Series Setup Disc"
SCANNER.WIA1.0.DeviceDesc="Pantum M6550 Series Scanner"
SCANNER.WIA2.0.DeviceDesc="Pantum M6550 Series Scanner"
ScanButton.Desc="Scan Button"
RunOnce="SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"
SCAN64 = "SCAN_AMD64" 
SCAN32 = "SCAN_X86" 
M6550_VIDPID   = "USB\VID_232B&PID_3E20&MI_01" ; M6550
M6550N_VIDPID  = "USB\VID_232B&PID_4E20&MI_01" ; M6550N
M6550NW_VIDPID = "USB\VID_232B&PID_5E20&MI_01" ; M6550NW
M6550W_VIDPID  = "USB\VID_232B&PID_4E21&MI_01" ; M6550W
WIA1_GUID = "{D411FB0D-0C9C-4a59-8683-B8C5DAA6F6CE}"
WIA2_GUID = "{CD1EE532-32D5-41f3-9D8E-844FA6BB27C5}"