;=======================================================================
;  Lenovo Setup File
;  Copyright (c)  2011 Lenovo (Beijing) Limited
;  Copyright (c)  2011 Brother Industries,LTD.
;  FileName   :   leimm10a.inf
;  Function   :   Scanner(Image)
;  I/F        :   USB
;  OS         :   Windows 2000 / XP / Vista / 7
;  Model      :   M7400
;		  M7600D
;                 M7450F
;                 M7650DF
;                 M7650DNF
;=======================================================================
[Version]
Signature="$Windows NT$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%Provider%
DriverPackageType=PlugAndPlay
DriverPackageDisplayName=%DriverPackageDisplayName%
DriverVer=11/17/2010,01.00.00.00
CatalogFile= leimm10a.cat

[Manufacturer]
%Manufact%=MODEL,NTx86.5.1.1,NTamd64.5.2.1,NTx86.6.0.1,NTamd64.6.0.1,NTx86.5.1,NTamd64.5.2

[MODEL]
%M7400.USB.SCN%	   = M7400.USB.SCN.W2K,      USB\VID_04F9&PID_5607&MI_01
%M7600D.USB.SCN%   = M7600D.USB.SCN.W2K,     USB\VID_04F9&PID_5608&MI_01
%M7450F.USB.SCN%   = M7450F.USB.SCN.W2K,     USB\VID_04F9&PID_5609&MI_01
%M7650DF.USB.SCN%  = M7650DF.USB.SCN.W2K,    USB\VID_04F9&PID_560A&MI_01
%M7650DNF.USB.SCN% = M7650DNF.USB.SCN.W2K,   USB\VID_04F9&PID_560B&MI_01

[MODEL.NTx86.5.1.1]
%M7400.USB.SCN%    = M7400.USB.SCN.WXP32,    USB\VID_04F9&PID_5607&MI_01
%M7600D.USB.SCN%   = M7600D.USB.SCN.WXP32,   USB\VID_04F9&PID_5608&MI_01
%M7450F.USB.SCN%   = M7450F.USB.SCN.WXP32,   USB\VID_04F9&PID_5609&MI_01
%M7650DF.USB.SCN%  = M7650DF.USB.SCN.WXP32,  USB\VID_04F9&PID_560A&MI_01
%M7650DNF.USB.SCN% = M7650DNF.USB.SCN.WXP32, USB\VID_04F9&PID_560B&MI_01

[MODEL.NTamd64.5.2.1]
%M7400.USB.SCN%    = M7400.USB.SCN.WXP64,    USB\VID_04F9&PID_5607&MI_01
%M7600D.USB.SCN%   = M7600D.USB.SCN.WXP64,   USB\VID_04F9&PID_5608&MI_01
%M7450F.USB.SCN%   = M7450F.USB.SCN.WXP64,   USB\VID_04F9&PID_5609&MI_01
%M7650DF.USB.SCN%  = M7650DF.USB.SCN.WXP64,  USB\VID_04F9&PID_560A&MI_01
%M7650DNF.USB.SCN% = M7650DNF.USB.SCN.WXP64, USB\VID_04F9&PID_560B&MI_01

[MODEL.NTx86.6.0.1]
%M7400.USB.SCN%    = M7400.USB.SCN,          USB\VID_04F9&PID_5607&MI_01
%M7600D.USB.SCN%   = M7600D.USB.SCN,         USB\VID_04F9&PID_5608&MI_01
%M7450F.USB.SCN%   = M7450F.USB.SCN,         USB\VID_04F9&PID_5609&MI_01
%M7650DF.USB.SCN%  = M7650DF.USB.SCN,        USB\VID_04F9&PID_560A&MI_01
%M7650DNF.USB.SCN% = M7650DNF.USB.SCN,       USB\VID_04F9&PID_560B&MI_01

[MODEL.NTamd64.6.0.1]
%M7400.USB.SCN%    = M7400.USB.SCN,          USB\VID_04F9&PID_5607&MI_01
%M7600D.USB.SCN%   = M7600D.USB.SCN,	     USB\VID_04F9&PID_5608&MI_01
%M7450F.USB.SCN%   = M7450F.USB.SCN, 	     USB\VID_04F9&PID_5609&MI_01
%M7650DF.USB.SCN%  = M7650DF.USB.SCN, 	     USB\VID_04F9&PID_560A&MI_01
%M7650DNF.USB.SCN% = M7650DNF.USB.SCN, 	     USB\VID_04F9&PID_560B&MI_01

[MODEL.NTx86.5.1]
; XP and later (Server & DomainControler)

[MODEL.NTamd64.5.2]
; XP and later (Server & DomainControler)

[ControlFlags]
;ExcludeFromSelect=*

;----------------------------------------
; M7400
;----------------------------------------
;----------------------------------------
; 2000
;----------------------------------------
[M7400.USB.SCN.W2K.NT]
SubClass = StillImage
DeviceType = 1
DeviceSubType = 0x1
Capabilities = 0x1
Events = BrEvents.W2K
DeviceData=M7400.USB.SCN.W2K.DeviceData
ICMProfiles = "sRGB Color Space Profile.icm"
CopyFiles = BrStiMiniDrv.CopyFiles,BrScnUsb.CopyFiles,BrTwdsFe.M7400.CopyFiles,BrTwdsMain.CopyFiles,BrTwdsLang.CopyFiles
AddReg = BrStiUSB.AddReg,BrScnUsb.AddReg,BrModel.FB.AddReg

[M7400.USB.SCN.W2K.NT.Services]
Addservice = BrScnUsb, 0x00000002, BrScnUsb.AddService

[M7400.USB.SCN.W2K.DeviceData]
TwainDS=%TWAINDS.Prefix.W2k%%M7400.USB.SCN%
Model=0-GENERAL
STIFILE=%StiCoreFileName%

;----------------------------------------
; XP32
;----------------------------------------
[M7400.USB.SCN.WXP32.NT]
SubClass      = StillImage
DeviceType    = 1
DeviceSubType = 0x1
Capabilities  = 0x39
PortSelect    = NO
Events        = BrEvents
DeviceData    = M7400.USB.SCN.WXP32.DeviceData
AddReg        = BrWia10USB.AddReg,BrModel.FB.AddReg
CopyFiles     = BrWia10MiniDrv.CopyFiles,BrScnUsb.CopyFiles,BrTwdsFe.M7400.CopyFiles,BrTwdsMain.CopyFiles,BrTwdsLang.CopyFiles
ICMProfiles   = "sRGB Color Space Profile.icm"

[M7400.USB.SCN.WXP32.NT.Services]
AddService = BrScnUsb, 0x00000002, BrScnUsb.AddService

[M7400.USB.SCN.WXP32.DeviceData]
Server=local
UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}
TwainDS=%TWAINDS.Prefix%%M7400.USB.SCN%
Model=0-GENERAL
STIFILE=%StiCoreFileName%

;----------------------------------------
; XP64
;----------------------------------------
[M7400.USB.SCN.WXP64.NT]
Include       = sti.inf
Needs         = STI.USBSection
SubClass      = StillImage
DeviceType    = 1
DeviceSubType = 0x1
Capabilities  = 0x39
PortSelect    = NO
Events        = BrEvents
DeviceData    = M7400.USB.SCN.WXP64.DeviceData
AddReg        = BrWia10USB.AddReg,BrModel.FB.AddReg
CopyFiles     = BrWia10MiniDrv.CopyFiles,BrTwdsFe.M7400.CopyFiles,BrTwdsMain.CopyFiles,BrTwdsLang.CopyFiles
ICMProfiles   = "sRGB Color Space Profile.icm"

[M7400.USB.SCN.WXP64.NT.Services]
Include = sti.inf
Needs   = STI.USBSection.Services

[M7400.USB.SCN.WXP64.DeviceData]
Server=local
UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}
TwainDS=%TWAINDS.Prefix%%M7400.USB.SCN%
Model=0-GENERAL
STIFILE=%StiCoreFileName%

;----------------------------------------
; Vista / 7
;----------------------------------------
[M7400.USB.SCN.NT]
Include       = sti.inf
Needs         = STI.USBSection
SubClass      = StillImage
DeviceType    = 1
DeviceSubType = 0x1
Capabilities  = 0x39
PortSelect    = NO
Events        = BrEvents
DeviceData    = M7400.USB.SCN.DeviceData
AddReg        = BrWia20USB.AddReg,BrModel.FB.AddReg
CopyFiles     = BrWia20MiniDrv.CopyFiles,BrTwdsFe.M7400.CopyFiles,BrTwdsMain.CopyFiles,BrTwdsLang.CopyFiles
ICMProfiles   = "sRGB Color Space Profile.icm"

[M7400.USB.SCN.NT.Services]
Include = sti.inf
Needs   = STI.USBSection.Services

[M7400.USB.SCN.DeviceData]
Server=local
UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}
TwainDS=%TWAINDS.Prefix%%M7400.USB.SCN%
Model=0-GENERAL
STIFILE=%StiCoreFileName%
ChangePaperSize=0

;----------------------------------------
; M7600D
;----------------------------------------
;----------------------------------------
; 2000
;----------------------------------------
[M7600D.USB.SCN.W2K.NT]
SubClass = StillImage
DeviceType = 1
DeviceSubType = 0x1
Capabilities = 0x1
Events = BrEvents.W2K
DeviceData=M7600D.USB.SCN.W2K.DeviceData
ICMProfiles = "sRGB Color Space Profile.icm"
CopyFiles = BrStiMiniDrv.CopyFiles,BrScnUsb.CopyFiles,BrTwdsFe.M7600D.CopyFiles,BrTwdsMain.CopyFiles,BrTwdsLang.CopyFiles
AddReg = BrStiUSB.AddReg,BrScnUsb.AddReg,BrModel.FB.AddReg

[M7600D.USB.SCN.W2K.NT.Services]
Addservice = BrScnUsb, 0x00000002, BrScnUsb.AddService

[M7600D.USB.SCN.W2K.DeviceData]
TwainDS=%TWAINDS.Prefix.W2k%%M7600D.USB.SCN%
Model=0-GENERAL
STIFILE=%StiCoreFileName%

;----------------------------------------
; XP32
;----------------------------------------
[M7600D.USB.SCN.WXP32.NT]
SubClass      = StillImage
DeviceType    = 1
DeviceSubType = 0x1
Capabilities  = 0x39
PortSelect    = NO
Events        = BrEvents
DeviceData    = M7600D.USB.SCN.WXP32.DeviceData
AddReg        = BrWia10USB.AddReg,BrModel.FB.AddReg
CopyFiles     = BrWia10MiniDrv.CopyFiles,BrScnUsb.CopyFiles,BrTwdsFe.M7600D.CopyFiles,BrTwdsMain.CopyFiles,BrTwdsLang.CopyFiles
ICMProfiles   = "sRGB Color Space Profile.icm"

[M7600D.USB.SCN.WXP32.NT.Services]
AddService = BrScnUsb, 0x00000002, BrScnUsb.AddService

[M7600D.USB.SCN.WXP32.DeviceData]
Server=local
UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}
TwainDS=%TWAINDS.Prefix%%M7600D.USB.SCN%
Model=0-GENERAL
STIFILE=%StiCoreFileName%

;----------------------------------------
; XP64
;----------------------------------------
[M7600D.USB.SCN.WXP64.NT]
Include       = sti.inf
Needs         = STI.USBSection
SubClass      = StillImage
DeviceType    = 1
DeviceSubType = 0x1
Capabilities  = 0x39
PortSelect    = NO
Events        = BrEvents
DeviceData    = M7600D.USB.SCN.WXP64.DeviceData
AddReg        = BrWia10USB.AddReg,BrModel.FB.AddReg
CopyFiles     = BrWia10MiniDrv.CopyFiles,BrTwdsFe.M7600D.CopyFiles,BrTwdsMain.CopyFiles,BrTwdsLang.CopyFiles
ICMProfiles   = "sRGB Color Space Profile.icm"

[M7600D.USB.SCN.WXP64.NT.Services]
Include = sti.inf
Needs   = STI.USBSection.Services

[M7600D.USB.SCN.WXP64.DeviceData]
Server=local
UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}
TwainDS=%TWAINDS.Prefix%%M7600D.USB.SCN%
Model=0-GENERAL
STIFILE=%StiCoreFileName%

;----------------------------------------
; Vista / 7
;----------------------------------------
[M7600D.USB.SCN.NT]
Include       = sti.inf
Needs         = STI.USBSection
SubClass      = StillImage
DeviceType    = 1
DeviceSubType = 0x1
Capabilities  = 0x39
PortSelect    = NO
Events        = BrEvents
DeviceData    = M7600D.USB.SCN.DeviceData
AddReg        = BrWia20USB.AddReg,BrModel.FB.AddReg
CopyFiles     = BrWia20MiniDrv.CopyFiles,BrTwdsFe.M7600D.CopyFiles,BrTwdsMain.CopyFiles,BrTwdsLang.CopyFiles
ICMProfiles   = "sRGB Color Space Profile.icm"

[M7600D.USB.SCN.NT.Services]
Include = sti.inf
Needs   = STI.USBSection.Services

[M7600D.USB.SCN.DeviceData]
Server=local
UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}
TwainDS=%TWAINDS.Prefix%%M7600D.USB.SCN%
Model=0-GENERAL
STIFILE=%StiCoreFileName%
ChangePaperSize=0

;----------------------------------------
; M7450F
;----------------------------------------
;----------------------------------------
; 2000
;----------------------------------------
[M7450F.USB.SCN.W2K.NT]
SubClass = StillImage
DeviceType = 1
DeviceSubType = 0x1
Capabilities = 0x1
Events = BrEvents.W2K
DeviceData=M7450F.USB.SCN.W2K.DeviceData
ICMProfiles = "sRGB Color Space Profile.icm"
CopyFiles = BrStiMiniDrv.CopyFiles,BrScnUsb.CopyFiles,BrTwdsFe.M7450F.CopyFiles,BrTwdsMain.CopyFiles,BrTwdsLang.CopyFiles
AddReg = BrStiUSB.AddReg,BrScnUsb.AddReg,BrModel.ADF.FB.AddReg

[M7450F.USB.SCN.W2K.NT.Services]
Addservice = BrScnUsb, 0x00000002, BrScnUsb.AddService

[M7450F.USB.SCN.W2K.DeviceData]
TwainDS=%TWAINDS.Prefix.W2k%%M7450F.USB.SCN%
Model=0-GENERAL
STIFILE=%StiCoreFileName%

;----------------------------------------
; XP32
;----------------------------------------
[M7450F.USB.SCN.WXP32.NT]
SubClass      = StillImage
DeviceType    = 1
DeviceSubType = 0x1
Capabilities  = 0x39
PortSelect    = NO
Events        = BrEvents
DeviceData    = M7450F.USB.SCN.WXP32.DeviceData
AddReg        = BrWia10USB.AddReg,BrModel.ADF.FB.AddReg
CopyFiles     = BrWia10MiniDrv.CopyFiles,BrScnUsb.CopyFiles,BrTwdsFe.M7450F.CopyFiles,BrTwdsMain.CopyFiles,BrTwdsLang.CopyFiles
ICMProfiles   = "sRGB Color Space Profile.icm"

[M7450F.USB.SCN.WXP32.NT.Services]
AddService = BrScnUsb, 0x00000002, BrScnUsb.AddService

[M7450F.USB.SCN.WXP32.DeviceData]
Server=local
UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}
TwainDS=%TWAINDS.Prefix%%M7450F.USB.SCN%
Model=0-GENERAL
STIFILE=%StiCoreFileName%

;----------------------------------------
; XP64
;----------------------------------------
[M7450F.USB.SCN.WXP64.NT]
Include       = sti.inf
Needs         = STI.USBSection
SubClass      = StillImage
DeviceType    = 1
DeviceSubType = 0x1
Capabilities  = 0x39
PortSelect    = NO
Events        = BrEvents
DeviceData    = M7450F.USB.SCN.WXP64.DeviceData
AddReg        = BrWia10USB.AddReg,BrModel.ADF.FB.AddReg
CopyFiles     = BrWia10MiniDrv.CopyFiles,BrTwdsFe.M7450F.CopyFiles,BrTwdsMain.CopyFiles,BrTwdsLang.CopyFiles
ICMProfiles   = "sRGB Color Space Profile.icm"

[M7450F.USB.SCN.WXP64.NT.Services]
Include = sti.inf
Needs   = STI.USBSection.Services

[M7450F.USB.SCN.WXP64.DeviceData]
Server=local
UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}
TwainDS=%TWAINDS.Prefix%%M7450F.USB.SCN%
Model=0-GENERAL
STIFILE=%StiCoreFileName%

;----------------------------------------
; Vista / 7
;----------------------------------------
[M7450F.USB.SCN.NT]
Include       = sti.inf
Needs         = STI.USBSection
SubClass      = StillImage
DeviceType    = 1
DeviceSubType = 0x1
Capabilities  = 0x39
PortSelect    = NO
Events        = BrEvents
DeviceData    = M7450F.USB.SCN.DeviceData
AddReg        = BrWia20USB.AddReg,BrModel.ADF.FB.AddReg
CopyFiles     = BrWia20MiniDrv.CopyFiles,BrTwdsFe.M7450F.CopyFiles,BrTwdsMain.CopyFiles,BrTwdsLang.CopyFiles
ICMProfiles   = "sRGB Color Space Profile.icm"

[M7450F.USB.SCN.NT.Services]
Include = sti.inf
Needs   = STI.USBSection.Services

[M7450F.USB.SCN.DeviceData]
Server=local
UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}
TwainDS=%TWAINDS.Prefix%%M7450F.USB.SCN%
Model=0-GENERAL
STIFILE=%StiCoreFileName%
ChangePaperSize=0

;----------------------------------------
; M7650DF
;----------------------------------------
;----------------------------------------
; 2000
;----------------------------------------
[M7650DF.USB.SCN.W2K.NT]
SubClass = StillImage
DeviceType = 1
DeviceSubType = 0x1
Capabilities = 0x1
Events = BrEvents.W2K
DeviceData=M7650DF.USB.SCN.W2K.DeviceData
ICMProfiles = "sRGB Color Space Profile.icm"
CopyFiles = BrStiMiniDrv.CopyFiles,BrScnUsb.CopyFiles,BrTwdsFe.M7650DF.CopyFiles,BrTwdsMain.CopyFiles,BrTwdsLang.CopyFiles
AddReg = BrStiUSB.AddReg,BrScnUsb.AddReg,BrModel.ADF.FB.AddReg

[M7650DF.USB.SCN.W2K.NT.Services]
Addservice = BrScnUsb, 0x00000002, BrScnUsb.AddService

[M7650DF.USB.SCN.W2K.DeviceData]
TwainDS=%TWAINDS.Prefix.W2k%%M7650DF.USB.SCN%
Model=0-GENERAL
STIFILE=%StiCoreFileName%

;----------------------------------------
; XP32
;----------------------------------------
[M7650DF.USB.SCN.WXP32.NT]
SubClass      = StillImage
DeviceType    = 1
DeviceSubType = 0x1
Capabilities  = 0x39
PortSelect    = NO
Events        = BrEvents
DeviceData    = M7650DF.USB.SCN.WXP32.DeviceData
AddReg        = BrWia10USB.AddReg,BrModel.ADF.FB.AddReg
CopyFiles     = BrWia10MiniDrv.CopyFiles,BrScnUsb.CopyFiles,BrTwdsFe.M7650DF.CopyFiles,BrTwdsMain.CopyFiles,BrTwdsLang.CopyFiles
ICMProfiles   = "sRGB Color Space Profile.icm"

[M7650DF.USB.SCN.WXP32.NT.Services]
AddService = BrScnUsb, 0x00000002, BrScnUsb.AddService

[M7650DF.USB.SCN.WXP32.DeviceData]
Server=local
UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}
TwainDS=%TWAINDS.Prefix%%M7650DF.USB.SCN%
Model=0-GENERAL
STIFILE=%StiCoreFileName%

;----------------------------------------
; XP64
;----------------------------------------
[M7650DF.USB.SCN.WXP64.NT]
Include       = sti.inf
Needs         = STI.USBSection
SubClass      = StillImage
DeviceType    = 1
DeviceSubType = 0x1
Capabilities  = 0x39
PortSelect    = NO
Events        = BrEvents
DeviceData    = M7650DF.USB.SCN.WXP64.DeviceData
AddReg        = BrWia10USB.AddReg,BrModel.ADF.FB.AddReg
CopyFiles     = BrWia10MiniDrv.CopyFiles,BrTwdsFe.M7650DF.CopyFiles,BrTwdsMain.CopyFiles,BrTwdsLang.CopyFiles
ICMProfiles   = "sRGB Color Space Profile.icm"

[M7650DF.USB.SCN.WXP64.NT.Services]
Include = sti.inf
Needs   = STI.USBSection.Services

[M7650DF.USB.SCN.WXP64.DeviceData]
Server=local
UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}
TwainDS=%TWAINDS.Prefix%%M7650DF.USB.SCN%
Model=0-GENERAL
STIFILE=%StiCoreFileName%

;----------------------------------------
; Vista / 7
;----------------------------------------
[M7650DF.USB.SCN.NT]
Include       = sti.inf
Needs         = STI.USBSection
SubClass      = StillImage
DeviceType    = 1
DeviceSubType = 0x1
Capabilities  = 0x39
PortSelect    = NO
Events        = BrEvents
DeviceData    = M7650DF.USB.SCN.DeviceData
AddReg        = BrWia20USB.AddReg,BrModel.ADF.FB.AddReg
CopyFiles     = BrWia20MiniDrv.CopyFiles,BrTwdsFe.M7650DF.CopyFiles,BrTwdsMain.CopyFiles,BrTwdsLang.CopyFiles
ICMProfiles   = "sRGB Color Space Profile.icm"

[M7650DF.USB.SCN.NT.Services]
Include = sti.inf
Needs   = STI.USBSection.Services

[M7650DF.USB.SCN.DeviceData]
Server=local
UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}
TwainDS=%TWAINDS.Prefix%%M7650DF.USB.SCN%
Model=0-GENERAL
STIFILE=%StiCoreFileName%
ChangePaperSize=0

;----------------------------------------
; M7650DNF
;----------------------------------------
;----------------------------------------
; 2000
;----------------------------------------
[M7650DNF.USB.SCN.W2K.NT]
SubClass = StillImage
DeviceType = 1
DeviceSubType = 0x1
Capabilities = 0x1
Events = BrEvents.W2K
DeviceData=M7650DNF.USB.SCN.W2K.DeviceData
ICMProfiles = "sRGB Color Space Profile.icm"
CopyFiles = BrStiMiniDrv.CopyFiles,BrScnUsb.CopyFiles,BrTwdsFe.M7650DNF.CopyFiles,BrTwdsMain.CopyFiles,BrTwdsLang.CopyFiles
AddReg = BrStiUSB.AddReg,BrScnUsb.AddReg,BrModel.ADF.FB.AddReg

[M7650DNF.USB.SCN.W2K.NT.Services]
Addservice = BrScnUsb, 0x00000002, BrScnUsb.AddService

[M7650DNF.USB.SCN.W2K.DeviceData]
TwainDS=%TWAINDS.Prefix.W2k%%M7650DNF.USB.SCN%
Model=0-GENERAL
STIFILE=%StiCoreFileName%

;----------------------------------------
; XP32
;----------------------------------------
[M7650DNF.USB.SCN.WXP32.NT]
SubClass      = StillImage
DeviceType    = 1
DeviceSubType = 0x1
Capabilities  = 0x39
PortSelect    = NO
Events        = BrEvents
DeviceData    = M7650DNF.USB.SCN.WXP32.DeviceData
AddReg        = BrWia10USB.AddReg,BrModel.ADF.FB.AddReg
CopyFiles     = BrWia10MiniDrv.CopyFiles,BrScnUsb.CopyFiles,BrTwdsFe.M7650DNF.CopyFiles,BrTwdsMain.CopyFiles,BrTwdsLang.CopyFiles
ICMProfiles   = "sRGB Color Space Profile.icm"

[M7650DNF.USB.SCN.WXP32.NT.Services]
AddService = BrScnUsb, 0x00000002, BrScnUsb.AddService

[M7650DNF.USB.SCN.WXP32.DeviceData]
Server=local
UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}
TwainDS=%TWAINDS.Prefix%%M7650DNF.USB.SCN%
Model=0-GENERAL
STIFILE=%StiCoreFileName%

;----------------------------------------
; XP64
;----------------------------------------
[M7650DNF.USB.SCN.WXP64.NT]
Include       = sti.inf
Needs         = STI.USBSection
SubClass      = StillImage
DeviceType    = 1
DeviceSubType = 0x1
Capabilities  = 0x39
PortSelect    = NO
Events        = BrEvents
DeviceData    = M7650DNF.USB.SCN.WXP64.DeviceData
AddReg        = BrWia10USB.AddReg,BrModel.ADF.FB.AddReg
CopyFiles     = BrWia10MiniDrv.CopyFiles,BrTwdsFe.M7650DNF.CopyFiles,BrTwdsMain.CopyFiles,BrTwdsLang.CopyFiles
ICMProfiles   = "sRGB Color Space Profile.icm"

[M7650DNF.USB.SCN.WXP64.NT.Services]
Include = sti.inf
Needs   = STI.USBSection.Services

[M7650DNF.USB.SCN.WXP64.DeviceData]
Server=local
UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}
TwainDS=%TWAINDS.Prefix%%M7650DNF.USB.SCN%
Model=0-GENERAL
STIFILE=%StiCoreFileName%

;----------------------------------------
; Vista / 7
;----------------------------------------
[M7650DNF.USB.SCN.NT]
Include       = sti.inf
Needs         = STI.USBSection
SubClass      = StillImage
DeviceType    = 1
DeviceSubType = 0x1
Capabilities  = 0x39
PortSelect    = NO
Events        = BrEvents
DeviceData    = M7650DNF.USB.SCN.DeviceData
AddReg        = BrWia20USB.AddReg,BrModel.ADF.FB.AddReg
CopyFiles     = BrWia20MiniDrv.CopyFiles,BrTwdsFe.M7650DNF.CopyFiles,BrTwdsMain.CopyFiles,BrTwdsLang.CopyFiles
ICMProfiles   = "sRGB Color Space Profile.icm"

[M7650DNF.USB.SCN.NT.Services]
Include = sti.inf
Needs   = STI.USBSection.Services

[M7650DNF.USB.SCN.DeviceData]
Server=local
UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}
TwainDS=%TWAINDS.Prefix%%M7650DNF.USB.SCN%
Model=0-GENERAL
STIFILE=%StiCoreFileName%
ChangePaperSize=0

;----------------------------------------
; Add reg DeviceData
;
[BrModel.FB.AddReg]
HKR,DeviceData,ScannerType     ,0x00000,2
HKR,DeviceData,DocHandling     ,0x00000,2
HKR,DeviceData,ResoType        ,0x00000,2
HKR,DeviceData,MaxResoNo       ,0x00000,8
HKR,DeviceData,MaxResoCatalog  ,0x00000,12
HKR,DeviceData,OpticalResoX    ,0x00000,600
HKR,DeviceData,OpticalResoY    ,0x00000,2400
HKR,DeviceData,BedDocWidth     ,0x00000,8268
HKR,DeviceData,FeederDocWidth  ,0x00000,8268
HKR,DeviceData,FeederDocHeight ,0x00000,13763
HKR,DeviceData,EventImage      ,0x00000,1
HKR,DeviceData,EventOcr        ,0x00000,1
HKR,DeviceData,EventEmail      ,0x00000,1
HKR,DeviceData,EventFile2      ,0x00000,1
HKR,DeviceData,SetupInit       ,0x00000,1
HKR,DeviceData,EnCmpJ          ,0x00000,1
HKR,DeviceData,CmpRate         ,0x00000,2
HKR,DeviceData,Command-S       ,0x00000,1
HKR,DeviceData,Command-D       ,0x00000,1
HKR,DeviceData,Command-K       ,0x00000,0
HKR,DeviceData,SkeyHandling    ,0x00000,1
HKR,DeviceData,DuplexScn       ,0x00000,0
HKR,DeviceData,BedHReg         ,0x00000,1
HKR,DeviceData,BrOemFlg	       ,0x00000,1

[BrModel.ADF.FB.AddReg]
HKR,DeviceData,ScannerType     ,0x00000,2
HKR,DeviceData,DocHandling     ,0x00000,3
HKR,DeviceData,ResoType        ,0x00000,2
HKR,DeviceData,MaxResoNo       ,0x00000,8
HKR,DeviceData,MaxResoCatalog  ,0x00000,12
HKR,DeviceData,OpticalResoX    ,0x00000,600
HKR,DeviceData,OpticalResoY    ,0x00000,2400
HKR,DeviceData,BedDocWidth     ,0x00000,8268
HKR,DeviceData,FeederDocWidth  ,0x00000,8268
HKR,DeviceData,FeederDocHeight ,0x00000,13763
HKR,DeviceData,EventImage      ,0x00000,1
HKR,DeviceData,EventOcr        ,0x00000,1
HKR,DeviceData,EventEmail      ,0x00000,1
HKR,DeviceData,EventFile2      ,0x00000,1
HKR,DeviceData,SetupInit       ,0x00000,1
HKR,DeviceData,EnCmpJ          ,0x00000,1
HKR,DeviceData,CmpRate         ,0x00000,2
HKR,DeviceData,Command-S       ,0x00000,1
HKR,DeviceData,Command-D       ,0x00000,1
HKR,DeviceData,Command-K       ,0x00000,0
HKR,DeviceData,SkeyHandling    ,0x00000,1
HKR,DeviceData,DuplexScn       ,0x00000,0
HKR,DeviceData,BedHReg         ,0x00000,1
HKR,DeviceData,BrOemFlg	       ,0x00000,1

;----------------------------------------
; Add reg USB
;
[BrScnUsb.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,BrScnUsb.sys

[BrStiUSB.AddReg]
HKR,,HardwareConfig,1,1
HKR,,USDClass,,"{34AC4185-B4C8-4e5b-BC39-6ECBC5083FBB}"
HKCR,CLSID\{34AC4185-B4C8-4e5b-BC39-6ECBC5083FBB} ,,,%BrStiUsd%
HKCR,CLSID\{34AC4185-B4C8-4e5b-BC39-6ECBC5083FBB}\InProcServer32,,,%11%\%StiFileName%
HKCR,CLSID\{34AC4185-B4C8-4e5b-BC39-6ECBC5083FBB}\InProcServer32,ThreadingModel,,"Both"

[BrWia10USB.AddReg]
HKR,,HardwareConfig,1,4
HKR,,USDClass,,"{9F167095-4B9C-47d0-B74A-92C97597E721}"
HKR,DeviceData,OpenTimeout,0x10001,360000
HKCR,CLSID\{9F167095-4B9C-47d0-B74A-92C97597E721} ,,,%BrWiaUsd%
HKCR,CLSID\{9F167095-4B9C-47d0-B74A-92C97597E721}\InProcServer32,,,%11%\%Wia10FileName%
HKCR,CLSID\{9F167095-4B9C-47d0-B74A-92C97597E721}\InProcServer32,ThreadingModel,,"Both"

[BrWia20USB.AddReg]
HKR,,HardwareConfig,1,4
HKR,,USDClass,,"{FA4665BD-ADC8-428f-A50B-E18425BA23AD}"
HKR,DeviceData,OpenTimeout,0x10001,360000
HKCR,CLSID\{FA4665BD-ADC8-428f-A50B-E18425BA23AD} ,,,%BrWiaUsd%
HKCR,CLSID\{FA4665BD-ADC8-428f-A50B-E18425BA23AD}\InProcServer32,,,%11%\%Wia20FileName%
HKCR,CLSID\{FA4665BD-ADC8-428f-A50B-E18425BA23AD}\InProcServer32,ThreadingModel,,"Both"

;----------------------------------------
; Add Service
;
[BrScnUsb.AddService]
DisplayName    = %BrScnUsb.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\BrScnUsb.sys
LoadOrderGroup = Base

;----------------------------------------
; Events
;
[BrEvents.W2K]
ScanToOcr   = %ScanToOcr%,{9d095b89-37d6-4877-afed-62a297dc6dbe},ControlCenter4
ScanToSpApp = %ScanToSpApp%,{a6c5a715-8c6e-11d2-977a-0000f87a926f},ControlCenter4
ScanToEmail = %ScanToEmail%,{c686dcee-54f2-419e-9a27-2fc7f2e98f9e},ControlCenter4
ScanToFile  = %ScanToFile%,{fc4767c1-c8b3-48a2-9cfa-2e90cb3d3590},ControlCenter4

[BrEvents]
ScanToOcr   = %ScanToOcr%,{9d095b89-37d6-4877-afed-62a297dc6dbe},*
ScanToSpApp = %ScanToSpApp%,{a6c5a715-8c6e-11d2-977a-0000f87a926f},*
ScanToEmail = %ScanToEmail%,{c686dcee-54f2-419e-9a27-2fc7f2e98f9e},*
ScanToFile  = %ScanToFile%,{fc4767c1-c8b3-48a2-9cfa-2e90cb3d3590},*

;----------------------------------------
; Copy Files
;
[BrScnUsb.CopyFiles]
BrScnUsb.sys

[BrStiMiniDrv.CopyFiles]
BrSti09d.dll
BrUsi09d.dll

[BrWia10MiniDrv.CopyFiles]
BrWia09d.dll
BrUsi09d.dll
BrJDec.dll

[BrWia20MiniDrv.CopyFiles]
BrWi209d.dll
BrUsi09d.dll
BrJDec.dll

[BrTwdsMain.CopyFiles]
BrTwds.dll
BrTwdsUi.dll
BrTwdScn.dll
BrScnDev.dll
BrStiIf.dll
BrScnFlt.dll
BrTwJDec.dll

[BrTwdsLang.CopyFiles]
BRScnBul.chm
BRScnChn.chm
BRScnCht.chm
BRScnCze.chm
BRScnDan.chm
BRScnDut.chm
BRScnEng.chm
BRScnFin.chm
BRScnFrc.chm
BRScnFre.chm
BRScnGer.chm
BRScnHun.chm
BRScnIta.chm
BRScnJpn.chm
BRScnKor.chm
BRScnNor.chm
BRScnPol.chm
BRScnPor.chm
BRScnPtb.chm
BRScnRom.chm
BRScnRus.chm
BRScnSpa.chm
BRScnSvk.chm
BRScnSwe.chm
BRScnTrk.chm
BRScnUsa.chm
BrTwdBul.dll
BrTwdChn.dll
BrTwdCht.dll
BrTwdCze.dll
BrTwdDan.dll
BrTwdDut.dll
BrTwdEng.dll
BrTwdFin.dll
BrTwdfrc.dll
BrTwdFre.dll
BrTwdGer.dll
BrTwdHun.dll
BrTwdIta.dll
BrTwdJpn.dll
BrTwdKor.dll
BrTwdNor.dll
BrTwdPol.dll
BrTwdPor.dll
BrTwdPtb.dll
BrTwdRom.dll
BrTwdRus.dll
BrTwdSpa.dll
BrTwdSvk.dll
BrTwdSwe.dll
BrTwdTrk.dll
BrTwdUsa.dll

[BrTwdsFe.M7400.CopyFiles]
BrTwdFe.ds
TWM7400U.ini

[BrTwdsFe.M7600D.CopyFiles]
BrTwdFe.ds
TWM7600DU.ini

[BrTwdsFe.M7450F.CopyFiles]
BrTwdFe.ds
TWM7450FU.ini

[BrTwdsFe.M7650DF.CopyFiles]
BrTwdFe.ds
TWM7650DFU.ini

[BrTwdsFe.M7650DNF.CopyFiles]
BrTwdFe.ds
TWM7650DNFU.ini

;----------------------------------------
; Destination Directories
;
[DestinationDirs]
DefaultDestDir       = 11
BrScnUsb.CopyFiles   = 12
BrTwdsMain.CopyFiles = 10,TWAIN_32\%TwainDirName%\Common
BrTwdsLang.CopyFiles = 10,TWAIN_32\%TwainDirName%\Lang

BrTwdsFe.M7400.CopyFiles    = 10,TWAIN_32\%TwainDirName%\M7400U
BrTwdsFe.M7600D.CopyFiles   = 10,TWAIN_32\%TwainDirName%\M7600DU
BrTwdsFe.M7450F.CopyFiles   = 10,TWAIN_32\%TwainDirName%\M7450FU
BrTwdsFe.M7650DF.CopyFiles  = 10,TWAIN_32\%TwainDirName%\M7650DFU
BrTwdsFe.M7650DNF.CopyFiles = 10,TWAIN_32\%TwainDirName%\M7650DNFU


;----------------------------------------
; Source Disks
;
[SourceDisksNames]
1 = %BrDrvDisk1%

[SourceDisksNames.x86]
3 = %BrDrvDisk1%,,,x86

[SourceDisksNames.amd64]
4 = %BrDrvDisk1%,,,amd64

[SourceDisksFiles]
;; System
BrScnUsb.sys = 1,,
;; Sti
BrSti09d.dll = 1,,
;; StiCore
BrUsi09d.dll = 1,,

;; Twain
BrTwdFe.ds     = 1,,
BrTwds.dll     = 1,,
BrTwdsUi.dll   = 1,,
BrTwdScn.dll   = 1,,
BrScnDev.dll   = 1,,
BrStiIf.dll    = 1,,
BrScnFlt.dll   = 1,,
BrTwJDec.dll   = 1,,
;; Twain Lang
BRScnBul.chm = 1,,
BRScnChn.chm = 1,,
BRScnCht.chm = 1,,
BRScnCze.chm = 1,,
BRScnDan.chm = 1,,
BRScnDut.chm = 1,,
BRScnEng.chm = 1,,
BRScnFin.chm = 1,,
BRScnFrc.chm = 1,,
BRScnFre.chm = 1,,
BRScnGer.chm = 1,,
BRScnHun.chm = 1,,
BRScnIta.chm = 1,,
BRScnJpn.chm = 1,,
BRScnKor.chm = 1,,
BRScnNor.chm = 1,,
BRScnPol.chm = 1,,
BRScnPor.chm = 1,,
BRScnPtb.chm = 1,,
BRScnRom.chm = 1,,
BRScnRus.chm = 1,,
BRScnSpa.chm = 1,,
BRScnSvk.chm = 1,,
BRScnSwe.chm = 1,,
BRScnTrk.chm = 1,,
BRScnUsa.chm = 1,,
BrTwdBul.dll = 1,,
BrTwdChn.dll = 1,,
BrTwdCht.dll = 1,,
BrTwdCze.dll = 1,,
BrTwdDan.dll = 1,,
BrTwdDut.dll = 1,,
BrTwdEng.dll = 1,,
BrTwdFin.dll = 1,,
BrTwdfrc.dll = 1,,
BrTwdFre.dll = 1,,
BrTwdGer.dll = 1,,
BrTwdHun.dll = 1,,
BrTwdIta.dll = 1,,
BrTwdJpn.dll = 1,,
BrTwdKor.dll = 1,,
BrTwdNor.dll = 1,,
BrTwdPol.dll = 1,,
BrTwdPor.dll = 1,,
BrTwdPtb.dll = 1,,
BrTwdRom.dll = 1,,
BrTwdRus.dll = 1,,
BrTwdSpa.dll = 1,,
BrTwdSvk.dll = 1,,
BrTwdSwe.dll = 1,,
BrTwdTrk.dll = 1,,
BrTwdUsa.dll = 1,,
;; Twain Setting
TWM7400U.ini    = 1,,
TWM7600DU.ini   = 1,,
TWM7450FU.ini   = 1,,
TWM7650DFU.ini  = 1,,
TWM7650DNFU.ini  = 1,,

[SourceDisksFiles.x86]
;; WIA 1.0
BrWia09d.dll = 3,,
;; WIA 2.0
BrWi209d.dll = 3,,
;; other
BrJDec.dll   = 3,,

[SourceDisksFiles.amd64]
;; WIA 1.0
BrWia09d.dll = 4,,
;; WIA 2.0
BrWi209d.dll = 4,,
;; StiCore
BrUsi09d.dll = 4,,
;; other
BrJDec.dll   = 4,,

;----------------------------------------
; Localizable Strings
;
[Strings]
Provider = "Lenovo"
Manufact = "Lenovo"
DriverPackageDisplayName = "M7400, M7600D, M7450F, M7650DF, M7650DNF"

BrDrvDisk1       = "Lenovo Driver Disk"
BrScnUsb.SvcDesc = "Lenovo USB Still Image driver"
BrStiUsd         = "Lenovo Sti Scanner minidriver"
BrWiaUsd         = "Lenovo Wia Scanner minidriver"

;; Events
ScanToOcr   = "Scan To OCR - Button Press"
ScanToSpApp = "Scan To Image - Button Press"
ScanToEmail = "Scan To E-mail - Button Press"
ScanToFile  = "Scan To File - Button Press"

;; 
TWAINDS.Prefix.W2k = "TW-"          ;; Prefix of Sti Device Name
TWAINDS.Prefix     = "TW-"          ;; Prefix of Wia Device Name
StiCoreFileName    = "BrUsi09d.dll"	;; STI CORE FILE NAME
Wia10FileName      = "BrWia09d.dll"	;; WIA 1.0 FILE NAME
Wia20FileName      = "BrWi209d.dll"	;; WIA 2.0 FILE NAME
StiFileName        = "BrSti09d.dll"	;; STI FILE NAME
TwainDirName       = "BrSc09d"      ;; TWAIN Directory Name

;; Device Name
M7400.USB.SCN      = "Lenovo M7400"
M7600D.USB.SCN     = "Lenovo M7600D"
M7450F.USB.SCN     = "Lenovo M7450F"
M7650DF.USB.SCN    = "Lenovo M7650DF"
M7650DNF.USB.SCN   = "Lenovo M7650DNF"
