
[Version]
Provider = Kyocera
Version  = 1/18/2010,1.4.1318

[Information]
SourcePath = .
TargetPath = <MainTarget>

[SourcePath]

[TargetPath]

[Install]
;AddPrinterDriver = AddPrnDrv

[Remove]
RemoveDriver = RMDRV
IsAnyDriverExist = <% IF RMDRV THEN DRVEXIST %>
RemoveDriverPackage = <% IF RMDRV & !DRVEXIST THEN RMPKG %>
DelDirs = <% IF RMDRV & !DRVEXIST THEN CLEANUP_WIA %>
Return = RMDRV

[CLEANUP_WIA]
"<ProgramFiles>\Kyocera\WIA SCANNER",REMOVE_ALL

[RMDRV]
DriverName = REG_DB,"<ProductRegKey>"
Return = #1

[DRVEXIST]
DriverClass = Image
Return = #1

[RMPKG]
Package = REG_DB,Image,"<ProductRegKey>"
Return = #1

[Verify]
VerifyDriver = WiaVer

[AddPrnDrv]
;AddPrinterDriver = 

[WiaVer]

[WiaVer.nt6]
; CompareVersion = COMMAND,"INF file for the driver"
;			COMMAND = VERIFY_PRN_CONFIG,VERIFY_PRN_DATA
;     TARGET_FILE = DRV_DRIVER,DRV_CONFIG
;CompareVersion = VERIFY_PRN_CONFIG,"Win2K_XP\OEMSETUP.INF"
CompareVersion = VERIFY_FILE,"Scanner\WIA\callgui.exe","<ProgramFiles>\Kyocera\WIA Scanner\USB2\callgui.exe"

[WiaVer.nt6.x64]
; CompareVersion = COMMAND,"INF file for the driver"
;			COMMAND = VERIFY_PRN_CONFIG,VERIFY_PRN_DATA
;     TARGET_FILE = DRV_DRIVER,DRV_CONFIG
;CompareVersion = VERIFY_PRN_CONFIG,"Win2K_XP\OEMSETUP.INF"
CompareVersion = VERIFY_FILE,"Scanner\WIA\callgui.exe","<ProgramFiles>\Kyocera\WIA Scanner\USB2\callgui.exe"
