[Version]
Signature="$CHICAGO$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%MFGName%
DriverVer=11/28/2011,1.0.0.6
CatalogFile=PSGWT.cat

[SourceDisksNames]
1=%DISKName%,,,

[SourceDisksFiles]
G16BW6T.ds = 1
G18BW6T.ds = 1
PSGT.chm = 1
PSGT.dll = 1
DrvInfo.ini = 1
SetupScan.dll = 1
Uninstscan.exe = 1
Uninstscan.dll = 1
ScanCoInstall.dll = 1

;XP
G16BW6W1.dll=1
G18BW6W1.dll=1

;Vista
G16BW6W2.dll=1
G18BW6W2.dll=1

[ControlFlags]
ExcludeFromSelect=*

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

;2000
[PSGWT]
%MODELNameG16BW6%=G16BW6WVM11, USB\VID_132B&PID_20A3&MI_00
%MODELNameG18BW6%=G18BW6WVM11, USB\VID_132B&PID_20A4&MI_00

;XP
[PSGWT.NTamd64.5.1]
%MODELNameG16BW6%=G16BW6WVM11.NTamd64.5.1, USB\VID_132B&PID_20A3&MI_00
%MODELNameG18BW6%=G18BW6WVM11.NTamd64.5.1, USB\VID_132B&PID_20A4&MI_00

;Vista
[PSGWT.NTamd64.6.0]
%MODELNameG16BW6%=G16BW6WVM11.NTamd64.6.0, USB\VID_132B&PID_20A3&MI_00
%MODELNameG18BW6%=G18BW6WVM11.NTamd64.6.0, USB\VID_132B&PID_20A4&MI_00



[DestinationDirs]
ScannerDSG16BW6.CopyFiles = 10,twain_32\G16BW6T
ScannerDSG18BW6.CopyFiles = 10,twain_32\G18BW6T
WIADriverG16BW6.CopyFiles=11
WIADriverG18BW6.CopyFiles=11
WIA20DriverG16BW6.CopyFiles=11
WIA20DriverG18BW6.CopyFiles=11
CoInstall.CopyFiles=11


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

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

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

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

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

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


;2000
[G16BW6WVM11]
Include=sti.inf
Needs=STI.USBSection
CopyFiles=ScannerDSG16BW6.CopyFiles
AddReg=G16BW6WVM11.AddReg
;2000
[G18BW6WVM11]
Include=sti.inf
Needs=STI.USBSection
CopyFiles=ScannerDSG18BW6.CopyFiles
AddReg=G18BW6WVM11.AddReg

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


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

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

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




;2000
[G16BW6WVM11.Services]
Include=sti.inf
Needs=STI.USBSection.Services
[G18BW6WVM11.Services]
Include=sti.inf
Needs=STI.USBSection.Services

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



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

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

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

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


;WIA1.0
[WIADriverG16BW6.AddReg]
HKR,,HardwareConfig,1,4
HKR,,USDClass,,"{B8D1F031-C20B-46c4-AA21-67D711BEBC91}"
HKCR,CLSID\{B8D1F031-C20B-46c4-AA21-67D711BEBC91},,,"Generic G16BW6 Scanner WIA1.0 Driver"
HKCR,CLSID\{B8D1F031-C20B-46c4-AA21-67D711BEBC91}\InProcServer32,,,%11%\G16BW6W1.dll
HKCR,CLSID\{B8D1F031-C20B-46c4-AA21-67D711BEBC91}\InProcServer32,ThreadingModel,,Both

;WIA1.0
[WIADriverG18BW6.AddReg]
HKR,,HardwareConfig,1,4
HKR,,USDClass,,"{5D673368-39B8-4385-A892-6DCF6EABCCB4}"
HKCR,CLSID\{5D673368-39B8-4385-A892-6DCF6EABCCB4},,,"Generic G18BW6 Scanner WIA1.0 Driver"
HKCR,CLSID\{5D673368-39B8-4385-A892-6DCF6EABCCB4}\InProcServer32,,,%11%\G18BW6W1.dll
HKCR,CLSID\{5D673368-39B8-4385-A892-6DCF6EABCCB4}\InProcServer32,ThreadingModel,,Both

;WIA2.0
[WIA20DriverG16BW6.AddReg]
HKR,,HardwareConfig,1,4
HKR,,USDClass,,"{E36DDFDF-27A7-40bd-BA62-C45A1D61A788}"
HKCR,CLSID\{E36DDFDF-27A7-40bd-BA62-C45A1D61A788},,,"Generic G16BW6 Scanner WIA2.0 Driver"
HKCR,CLSID\{E36DDFDF-27A7-40bd-BA62-C45A1D61A788}\InProcServer32,,,%11%\G16BW6W2.dll
HKCR,CLSID\{E36DDFDF-27A7-40bd-BA62-C45A1D61A788}\InProcServer32,ThreadingModel,,"Both"

;WIA2.0
[WIA20DriverG18BW6.AddReg]
HKR,,HardwareConfig,1,4
HKR,,USDClass,,"{4FFCA05A-5EF3-41bf-9B81-89B2A6623DE4}"
HKCR,CLSID\{4FFCA05A-5EF3-41bf-9B81-89B2A6623DE4},,,"Generic G18BW6 Scanner WIA2.0 Driver"
HKCR,CLSID\{4FFCA05A-5EF3-41bf-9B81-89B2A6623DE4}\InProcServer32,,,%11%\G18BW6W2.dll
HKCR,CLSID\{4FFCA05A-5EF3-41bf-9B81-89B2A6623DE4}\InProcServer32,ThreadingModel,,"Both"

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


[ScannerDSG16BW6.CopyFiles]
G16BW6T.ds
PSGT.dll
PSGT.chm
DrvInfo.ini
SetupScan.dll
Uninstscan.exe
Uninstscan.dll

[ScannerDSG18BW6.CopyFiles]
G18BW6T.ds
PSGT.dll
PSGT.chm
DrvInfo.ini
SetupScan.dll
Uninstscan.exe
Uninstscan.dll



;XP
[WIADriverG16BW6.CopyFiles]
G16BW6W1.dll
[WIADriverG18BW6.CopyFiles]
G18BW6W1.dll

;Vista
[WIA20DriverG16BW6.CopyFiles]
G16BW6W2.dll

[WIA20DriverG18BW6.CopyFiles]
G18BW6W2.dll

[CoInstall.CopyFiles]
ScanCoInstall.dll
DrvInfo.ini

[Strings]
MFGName="Generic"
MODELNameG16BW6="Generic 16BW-6 Scanner"
MODELNameG18BW6="Generic 18BW-6 Scanner"
DISKName="Generic 16BW-6/18BW-6 Scanner"

