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

[Version]
Signature  = "$Windows NT$"
Class      = Printer
ClassGUID  = {4D36E979-E325-11CE-BFC1-08002BE10318}
Provider   = %KMC%
CatalogFile= KYOMITA.CAT
DriverVer  = 06/23/2021,8.2.0623.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


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

[Kyocera.NTx86.6.0]
"Kyocera ECOSYS MA2100cfx KX"	= ECOSYS_MA2100cfx,WSDPRINT\KyoceraECOSYS_MA21007A64,ECOSYS MA2100cfx
"Kyocera ECOSYS MA2100cfx KX"	= ECOSYS_MA2100cfx,USBPRINT\KyoceraECOSYS_MA21007A64,ECOSYS MA2100cfx
"Kyocera ECOSYS MA2100cwfx KX"	= ECOSYS_MA2100cwfx,WSDPRINT\KyoceraECOSYS_MA21006C22,ECOSYS MA2100cwfx
"Kyocera ECOSYS MA2100cwfx KX"	= ECOSYS_MA2100cwfx,USBPRINT\KyoceraECOSYS_MA21006C22,ECOSYS MA2100cwfx
"Kyocera ECOSYS MA2100cx KX"	= ECOSYS_MA2100cx,WSDPRINT\KyoceraECOSYS_MA2100EC5E,ECOSYS MA2100cx
"Kyocera ECOSYS MA2100cx KX"	= ECOSYS_MA2100cx,USBPRINT\KyoceraECOSYS_MA2100EC5E,ECOSYS MA2100cx
"Kyocera ECOSYS PA2100cwx KX"	= ECOSYS_PA2100cwx,WSDPRINT\KyoceraECOSYS_PA21007AFD,ECOSYS PA2100cwx
"Kyocera ECOSYS PA2100cwx KX"	= ECOSYS_PA2100cwx,USBPRINT\KyoceraECOSYS_PA21007AFD,ECOSYS PA2100cwx
"Kyocera ECOSYS PA2100cx KX"	= ECOSYS_PA2100cx,WSDPRINT\KyoceraECOSYS_PA2100799E,ECOSYS PA2100cx
"Kyocera ECOSYS PA2100cx KX"	= ECOSYS_PA2100cx,USBPRINT\KyoceraECOSYS_PA2100799E,ECOSYS PA2100cx

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

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

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

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

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


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

; This should be used for NT User Mode Driver

[WINXP]
KMUC826N.DLL
KMUU826N.DLL
KMFS826N.DLL
KMRF826N.DLL
KMRC826N.DLL
KMCR826N.DLL
KM3D826N.DLL
KM3M826N.DLL
KMPE826N.DLL
KMWM826N.DLL
KMPF826N.DLL
KMPO826N.DLL
KMSP826N.DLL
KMCO826N.DLL
KMPC826N.DLL
KMPLSW02.DLL
KMPLSW03.DLL
KMPLSWIP.DLL
KMPLID01.DLL
KMIEDIT.DLL
KMIEDITRES.DLL
KCMV3D.INI
CONFIDENTIAL.MIE
NOCOPY.MIE
KMPRPVW.EXE
KMPOPUPMGR.EXE
PMCLIENT2.DLL
PMCLIENT3.DLL
;KMDISCOVER2.DLL
KMDISCOVER.DLL
KDSInst.exe

[ALLPDL]
KMXL826N.DLL
KM5E826N.DLL
KM5C826N.DLL
KMPS826N.DLL
KMPD826N.DLL

[PCL5E]
KM5E826N.DLL

[KM_AGFA]
KMAGFA1.FDF
KMPRE2.FDF

[AGFA14]
KMAGF14.FDF
KMPRE2.FDF

[AGFAPCL]
KMAGFPCL.FDF
KMPRE2.FDF

[KMJPNS]
KMJPNS.FDF

[KMAGJP]
KMAGJP.FDF

[3D_282]
KDS328210.DAT

[3D_283]
KDS328310.DAT

[KC_HELP]
KMGKEN82.CHM

[KXPJLMN_DLL]
KXPLM32.DLL

[KMPMKNT_DLL]
KM-PMKN.DLL

[PCXML]
KMBASE2.XML

[AUTOCONFIG]
kmautoc12.INI
kmquery12.XML

[KACT]
KACT.EXE
KCBIDI.DLL
KCCODE32.DLL
KCCOMM32.DLL
KCDVEX.DLL
KCDVMON.DLL
KCLANG32.DLL
KCNS32.DLL
KCNW32.DLL
KCNW32N.DLL
KCPORT32.DLL
KCSIPX32.DLL
KCSOCK32.DLL
LANGDATA.DLL
;mfc42.DLL
;msvcrt.DLL
;msvcrt40.DLL

[KACT2]
KACT2.EXE


;----------------------------------------------------------------
; Data Sections
;
; These sections contain data that is shared between devices.
;
;----------------------------------------------------------------
;
[XPCORE]
DriverFile=KMUC826N.DLL
ConfigFile=KMUU826N.DLL
HelpFile=KMGKEN82.CHM 

[XPCORE_NOPOST]
DriverFile=KMUC826N.DLL
ConfigFile=KMUU826N.DLL
HelpFile=KMGKEN82.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

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


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

[SourceDisksFiles]
KMUC826N.DLL  = 1
KMUU826N.DLL    = 1
KMFS826N.DLL  = 1
KMRF826N.DLL  = 1
KMRC826N.DLL     = 1
KMCR826N.DLL     = 1
KMXL826N.DLL   = 1
KM5E826N.DLL   = 1
KM5C826N.DLL   = 1
KMPS826N.DLL   = 1
KMPD826N.DLL   = 1
KMSP826N.DLL	= 1
KMPE826N.DLL	= 1
KMWM826N.DLL		= 1
KMPF826N.DLL	= 1
KMPO826N.DLL	= 1
KM3D826N.DLL		= 1
KM3M826N.DLL		= 1
KMCO826N.DLL	= 1
KMPLSW02.DLL	= 1
KMPLSW03.DLL	= 1
KMPLSWIP.DLL	= 1
KMPLID01.DLL	= 1
KMIEDIT.DLL	= 1
KMIEDITRES.DLL	= 1
KMAGFA1.FDF  	= 1
KMAGF14.FDF	= 1
KMAGFPCL.FDF 	= 1
KMPRE2.FDF		= 1
KMJPNS.FDF		= 1
KMAGJP.FDF	= 1
KMPRPVW.EXE	= 1
KMPC826N.DLL = 1
PMCLIENT2.DLL	= 1
PMCLIENT3.DLL	= 1

KMF22820.XML	= 1
KMF22720.XML	= 1
KMF22920.XML	= 1
KMF23020.XML	= 1
KMF23120.XML	= 1

KDS328210.DAT	= 1
KDS328310.DAT	= 1

KXPLM32.DLL		= 1
KMBASE2.XML	= 1
KMGKEN82.CHM       = 1
KCMV3D.INI		= 1
KMPJLMN.DLL		= 1
KM-PMKN.DLL		= 1
kmautoc12.INI	= 1
kmquery12.XML	= 1
KACT.EXE	= 1,\KACT
KCBIDI.DLL	= 1,\KACT
KCCODE32.DLL	= 1,\KACT
KCCOMM32.DLL	= 1,\KACT
KCDVEX.DLL	= 1,\KACT
KCDVMON.DLL	= 1,\KACT
KCLANG32.DLL	= 1,\KACT
KCNS32.DLL	= 1,\KACT
KCNW32.DLL	= 1,\KACT
KCNW32N.DLL	= 1,\KACT
KCPORT32.DLL	= 1,\KACT
KCSIPX32.DLL	= 1,\KACT
KCSOCK32.DLL	= 1,\KACT
LANGDATA.DLL	= 1,\KACT
;mfc42.DLL	= 1,\KACT
;msvcrt.DLL	= 1,\KACT
;msvcrt40.DLL	= 1,\KACT
KACT2.EXE	= 1,\KACT2
; 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

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