
[Version]
Provider = Kyocera
Version  = 10/14/2016,2.2.1013

[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>\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_INF_DATE,"kmwiadrv.inf"

[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_INF_DATE,"kmwiadrv.inf"
