;================================================================
;
;  OEMSETUP.INF
;
;  KYOCERA Document Solutions Printing System Installation Script
;  Windows Vista x64 and newer (Multi Language excluding Japanese)
;  Point & Print Version
;  
;  (C) 2022 KYOCERA Corporation, KYOCERA Document Solutions Inc.
;
;  06/28/2021
;
;================================================================

[Version]
Signature  = "$Windows NT$"
Class      = Printer
ClassGUID  = {4D36E979-E325-11CE-BFC1-08002BE10318}
Provider   = %KMC%
CatalogFile= KYOMITA.CAT
DriverVer  = 06/28/2021,8.0.3028.0
DriverIsolation=2

[ClassInstall]
AddReg=ClassAddReg
DelReg=ClassDelReg

[ClassAddReg]
HKR,,,,%CLASSNAME%
HKR,,Installer,,MSPRINT.DLL
HKR,,Icon,,-4
HKR,,NoDisplayClass,,1

[ClassDelReg]
HKLM,"System\CurrentControlSet\Services\Class\Printer","NoUseClass"

[Environment]
UpdateInis=EnvUpdateInis
AddReg=EnvAddReg

[EnvUpdateInis]
win.ini,Ports,"LPT1.DOS=",
win.ini,Ports,"LPT2.DOS=",
win.ini,Ports,"LPT3.DOS=",
win.ini,Ports,"LPT1.OS2=",
win.ini,Ports,"LPT2.OS2=",
win.ini,Ports,"LPT3.OS2=",
win.ini,windows,"Spooler=",
win.ini,windows,"DosPrint=",
win.ini,windows,"DeviCENotSelectedTimeout=",
win.ini,windows,"TransmissionRetryTimeout=",

[EnvAddReg]
;HKLM,"System\CurrentControlSet\Control\Print\Environments\Windows 4.0","Directory",,"CHICAGO"
;HKLM,"System\CurrentControlSet\Control\Print\Environments\Windows 4.0\Drivers",,,
;HKLM,"System\CurrentControlSet\Control\Print\Environments\Windows 4.0\Print Processors",,,
HKLM,"System\CurrentControlSet\Control\Print\Monitors",,,
HKLM,"System\CurrentControlSet\Control\Print\Printers",,,
HKLM,"System\CurrentControlSet\Control\Print\Printers","StartOnBoot",1,01,00,00,00
HKLM,"System\CurrentControlSet\Control\Print\Providers",,,

;----------------------------------------------------------------
; Manufacturer Section
;----------------------------------------------------------------
[Manufacturer]
Kyocera=Kyocera,NTx86.6.0,NTamd64.6.0


;----------------------------------------------------------------
; Model Sections
;----------------------------------------------------------------

[Kyocera.NTx86.6.0]
"Kyocera TASKalfa 5054ciG KX"	= TASKalfa_5054ciG,WSDPRINT\KyoceraTASKalfa_5054AF90,TASKalfa 5054ciG
"Kyocera TASKalfa 5054ciG KX"	= TASKalfa_5054ciG,USBPRINT\KyoceraTASKalfa_5054AF90,TASKalfa 5054ciG
"Kyocera TASKalfa 4054ciG KX"	= TASKalfa_4054ciG,WSDPRINT\KyoceraTASKalfa_4054BF10,TASKalfa 4054ciG
"Kyocera TASKalfa 4054ciG KX"	= TASKalfa_4054ciG,USBPRINT\KyoceraTASKalfa_4054BF10,TASKalfa 4054ciG
"Kyocera TASKalfa 3554ciG KX"	= TASKalfa_3554ciG,WSDPRINT\KyoceraTASKalfa_3554C95C,TASKalfa 3554ciG
"Kyocera TASKalfa 3554ciG KX"	= TASKalfa_3554ciG,USBPRINT\KyoceraTASKalfa_3554C95C,TASKalfa 3554ciG
"Kyocera TASKalfa 2554ciG KX"	= TASKalfa_2554ciG,WSDPRINT\KyoceraTASKalfa_2554185D,TASKalfa 2554ciG
"Kyocera TASKalfa 2554ciG KX"	= TASKalfa_2554ciG,USBPRINT\KyoceraTASKalfa_2554185D,TASKalfa 2554ciG
"Kyocera TASKalfa 5004iG KX"	= TASKalfa_5004iG,WSDPRINT\KyoceraTASKalfa_5004976D,TASKalfa 5004iG
"Kyocera TASKalfa 5004iG KX"	= TASKalfa_5004iG,USBPRINT\KyoceraTASKalfa_5004976D,TASKalfa 5004iG

[Kyocera.NTamd64.6.0]
"Kyocera TASKalfa 5054ciG KX"	= TASKalfa_5054ciG,WSDPRINT\KyoceraTASKalfa_5054AF90,TASKalfa 5054ciG
"Kyocera TASKalfa 5054ciG KX"	= TASKalfa_5054ciG,USBPRINT\KyoceraTASKalfa_5054AF90,TASKalfa 5054ciG
"Kyocera TASKalfa 4054ciG KX"	= TASKalfa_4054ciG,WSDPRINT\KyoceraTASKalfa_4054BF10,TASKalfa 4054ciG
"Kyocera TASKalfa 4054ciG KX"	= TASKalfa_4054ciG,USBPRINT\KyoceraTASKalfa_4054BF10,TASKalfa 4054ciG
"Kyocera TASKalfa 3554ciG KX"	= TASKalfa_3554ciG,WSDPRINT\KyoceraTASKalfa_3554C95C,TASKalfa 3554ciG
"Kyocera TASKalfa 3554ciG KX"	= TASKalfa_3554ciG,USBPRINT\KyoceraTASKalfa_3554C95C,TASKalfa 3554ciG
"Kyocera TASKalfa 2554ciG KX"	= TASKalfa_2554ciG,WSDPRINT\KyoceraTASKalfa_2554185D,TASKalfa 2554ciG
"Kyocera TASKalfa 2554ciG KX"	= TASKalfa_2554ciG,USBPRINT\KyoceraTASKalfa_2554185D,TASKalfa 2554ciG
"Kyocera TASKalfa 5004iG KX"	= TASKalfa_5004iG,WSDPRINT\KyoceraTASKalfa_5004976D,TASKalfa 5004iG
"Kyocera TASKalfa 5004iG KX"	= TASKalfa_5004iG,USBPRINT\KyoceraTASKalfa_5004976D,TASKalfa 5004iG

;----------------------------------------------------------------
; Install Sections
;----------------------------------------------------------------
[TASKalfa_5054ciG]
CopyFiles	= @KMK13520.XML,PCXML,WINXP,ALLPDL,KM_AGFA,3D_365,KC_HELP,KXPJLMN_DLL,AUTOCONFIG,KACT2
DataFile	= KMK13520.XML
DataSection	= XPCORE
AddReg		= ND_ADDREG_KCMV3D
LanguageMonitor	= %KXPJLMN%

[TASKalfa_4054ciG]
CopyFiles	= @KMK13420.XML,PCXML,WINXP,ALLPDL,KM_AGFA,3D_365,KC_HELP,KXPJLMN_DLL,AUTOCONFIG,KACT2
DataFile	= KMK13420.XML
DataSection	= XPCORE
AddReg		= ND_ADDREG_KCMV3D
LanguageMonitor	= %KXPJLMN%

[TASKalfa_3554ciG]
CopyFiles	= @KMK13320.XML,PCXML,WINXP,ALLPDL,KM_AGFA,3D_365,KC_HELP,KXPJLMN_DLL,AUTOCONFIG,KACT2
DataFile	= KMK13320.XML
DataSection	= XPCORE
AddReg		= ND_ADDREG_KCMV3D
LanguageMonitor	= %KXPJLMN%

[TASKalfa_2554ciG]
CopyFiles	= @KMK13220.XML,PCXML,WINXP,ALLPDL,KM_AGFA,3D_365,KC_HELP,KXPJLMN_DLL,AUTOCONFIG,KACT2
DataFile	= KMK13220.XML
DataSection	= XPCORE
AddReg		= ND_ADDREG_KCMV3D
LanguageMonitor	= %KXPJLMN%

[TASKalfa_5004iG]
CopyFiles	= @KMK13920.XML,PCXML,WINXP,ALLPDL,KM_AGFA,3D_363,KC_HELP,KXPJLMN_DLL,AUTOCONFIG,KACT2
DataFile	= KMK13920.XML
DataSection	= XPCORE
AddReg		= ND_ADDREG_KCMV3D
LanguageMonitor	= %KXPJLMN%

;----------------------------------------------------------------
; Copy Sections
;----------------------------------------------------------------

; This should be used for NT User Mode Driver

[WINXP]
KMUC80US.DLL
KMUU80US.DLL
KMFS80US.DLL
KMRF80US.DLL
KMRC80US.DLL
KMCR80US.DLL
KM3D80US.DLL
KM3M80US.DLL
KMPE80US.DLL
KMWM80US.DLL
KMPF80US.DLL
KMPO80US.DLL
KMSP80US.DLL
KMCO80US.DLL
KMPC80US.DLL
KMPLSW02.DLL
KMPLSWIP.DLL
KMPLID01.DLL
KMIEDIT.DLL
KCMV3D.INI
CONFIDENTIAL.MIE
NOCOPY.MIE
KMPRPVW.EXE
KMPOPUPMGR.EXE
PMCLIENT2.DLL
PMCLIENT3.DLL
;KMDISCOVER2.DLL
KMDISCOVER.DLL
KDSInst.exe

[ALLPDL]
KMXL80US.DLL
KM5E80US.DLL
KM5C80US.DLL
KMPS80US.DLL
KMPD80US.DLL

[PCL5E]
KM5E80US.DLL

[KM_AGFA]
KMAGFA1.FDF
KMPRE2.FDF

[3D_364]
KDS336410.DAT

[3D_365]
KDS336510.DAT

[3D_362]
KDS336210.DAT

[3D_363]
KDS336310.DAT

[KC_HELP]
KMGKEN55.chm

[KXPJLMN_DLL]
KXPLM64.DLL

[PCXML]
KMBASE2.XML

[AUTOCONFIG]
kmautoc13.INI
kmquery13.XML

[KACT2]
KACT2.EXE


;----------------------------------------------------------------
; Data Sections
;
; These sections contain data that is shared between devices.
;
;----------------------------------------------------------------
;
[XPCORE]
DriverFile=KMUC80US.DLL
ConfigFile=KMUU80US.DLL
HelpFile=KMGKEN55.chm

[XPCORE_NOPOST]
DriverFile=KMUC80US.DLL
ConfigFile=KMUU80US.DLL
HelpFile=KMGKEN55.chm

;[ENABLE3D]
;HKLM,"SOFTWARE\Kyocera Mita\Shared Files","Install Path",0,"%11%\spool\drivers\w32x86\2"

[ND_ADDREG_KCMV3D]
HKLM,"SOFTWARE\Kyocera Mita\Shared Files","Install Path",0,"%11%\spool\drivers\w32x86\2"

;
; Call SetupSetDirectoryId with 66000 to set the target directory at runtime
; (depending on which environment drivers are getting installed)
;

[PrinterPackageInstallation.x86]
PackageAware=TRUE

[PrinterPackageInstallation.amd64]
PackageAware=TRUE

;----------------------------------------------------------------
; Destination Information
;----------------------------------------------------------------
[DestinationDirs]
DefaultDestDir=66000
POSTINSTALL=11
KMPMKNT_DLL=11
KMPJLMN_DLL=11


;----------------------------------------------------------------
; Source Information
;----------------------------------------------------------------
;
[SourceDisksNames.x86]
1 = %CDROM%,,,""

[SourceDisksNames.amd64]
1 = %CDROM%,,,""

[SourceDisksFiles]
KMUC80US.DLL  = 1
KMUU80US.DLL    = 1
KMFS80US.DLL  = 1
KMRF80US.DLL  = 1
KMRC80US.DLL     = 1
KMCR80US.DLL     = 1
KMXL80US.DLL   = 1
KM5E80US.DLL   = 1
KM5C80US.DLL   = 1
KMPS80US.DLL   = 1
KMPD80US.DLL    = 1
KMSP80US.DLL	= 1
KMPE80US.DLL	= 1
KMWM80US.DLL		= 1
KMPF80US.DLL	= 1
KMPO80US.DLL	= 1
KM3D80US.DLL		= 1
KM3M80US.DLL		= 1
KMCO80US.DLL	= 1
KMPLSW02.DLL	= 1
KMPLSWIP.DLL	= 1
KMPLID01.DLL	= 1
KMIEDIT.DLL	= 1
KMAGFA1.FDF  	= 1
KMPRE2.FDF		= 1
KMPRPVW.EXE	= 1
KMPC80US.DLL = 1
PMCLIENT2.DLL	= 1
PMCLIENT3.DLL	= 1

KMK13720.XML	= 1
KMK13620.XML	= 1
KMK13520.XML	= 1
KMK13420.XML	= 1
KMK13320.XML	= 1
KMK13220.XML	= 1
KMK14120.XML	= 1
KMK14020.XML	= 1
KMK13920.XML	= 1
KMK13820.XML	= 1

KDS336410.DAT	= 1
KDS336510.DAT	= 1
KDS336210.DAT	= 1
KDS336310.DAT	= 1

KXPLM64.DLL		= 1
KMBASE2.XML	= 1
KMGKEN55.chm	= 1
KMFLEN27.chm	= 1
KCMV3D.INI		= 1
kmautoc13.INI	= 1
kmquery13.XML	= 1
KACT2.EXE	= 1
; Status Monitor
;KMSTMNW.EXE	= 1
;KMSTMVM.EXE	= 1
;KMSTMNET.EXE	= 1
;KMSTMNWS.INI	= 1
;KMSTMNET.INI	= 1
;KcMV3Da.DLL	= 1
KMPOPUPMGR.EXE	= 1
NOCOPY.MIE	= 1
CONFIDENTIAL.MIE	= 1

;UPD
;KMDISCOVER2.DLL  = 1
KMDISCOVER.DLL	= 1

; UNIXML
KDSInst.exe = 1
;----------------------------------------------------------------
; Localizable Strings
;----------------------------------------------------------------
[Strings]
KXPJLMN	= "KX Language Monitor,KXPLM64.DLL"
KMPMKNT   	= "KM USB Port,KM-PMKN.DLL"
CDROM		= "Kyocera"
CLASSNAME = "Printers"
KMC	= "KYOCERA Document Solutions Inc."
