;
; Common Variables
; * Directories *
;     <MainTarget>      = main target directory of the main installer
;     <MainLink>        = main link directory
;     <ProgramFiles>    = program files folder (ex. c:\Program Files)
;     <WindowsDir>      = Windows folder (ex. c:\Winnt)
;     <SystemDir>       = Windows System folder (ex. c:\Windows\system for Win9x, c:\Windows\system32 for NT platform)
;     <ColorDir>        = Windows ICM folder (ex. c:\Windows\system\Color for 9x, c:\Windows\system32\spool\drivers\Color for 2K/XP)
;     <TempDir>         = System Temporary folder
;     <CurrentDir>      = Current folder
;     <Desktop>         = Windows desktop folder
;     <StartMenu>       = Windows Start->Program Menu folder
;     <StartUp>         = Startup folder under Windows Start Menu folder
;     <DefaultTarget>   = Default target folder in this package installer
;     <WinSetupPath>    = Windows Setup Source Path (ex. c:\Windows\Options\Win98) usually Win9x only
;     <BootDisk>        = Root directory of the boot disk (ex. "c:")
;     <ModelKey>        = Model specific key (ex. FS-1010, KM-1820, FS-1118MFP, etc.)
;     <UserStartMenu>	= User's Start->Program menu folder
;
; * Install Section *
;   [Install] is the default install section
;   [Install.<MODEL_KEY>] is the install section of the specific model
;                 ex. [FS-1010,FS-1118MFP] <- This section will be a install section for FS-1010 and FS-1118MFP
;   [Remove] is the default uninstall section. Only needed when any additional remove commands exist.
;
; * OS decoration
;   .9x         = Win9x
;   .nt         = NT platform
;   .nt4        = NT 4.0
;   .nt5        = 2K or later
;   .ntamd64    = AMD 64 machine (XP or later)
;   .ntia64     = IA 64 machine (XP or later)
;

[Version]
Provider = Kyocera
Version  = 11/06/2013,5.3.7106.5

[Information]
Default = .
TargetPath = <MainTarget>

[SourcePath]
;changed “KYOCERA Net Viewer” and “KNV” in place of “KMnet Viewer” and “KMNV”
ZIPDIR = KNV\knv.zip
AUTHSAVE_OLD = <ProgramFiles>\Kyocera\KMnet Viewer\KMNV\conf
AUTHSAVE = <MainTarget>\KNV\conf
AUTHRESTORE = <TempDir>\NetViewer
OEM_RENAMECONFIG = <MainTarget>\KNV\bin
RENAME_OEM_EXE = <MainTarget>\KNV\bin
OVERWRITE_EXE = KNV
BMP = Files

[TargetPath]
ZIPDIR = <MainTarget>\KNV
AUTHSAVE_OLD = <TempDir>\NetViewer
AUTHSAVE = <TempDir>\NetViewer
AUTHRESTORE = <MainTarget>\KNV\conf
OEM_RENAMECONFIG = <MainTarget>\KNV\bin
OEM_DELETECONFIG = <MainTarget>\KNV\bin
OEM_DELETEOEMCONFIG = <MainTarget>\KNV\bin
RENAME_OEM_EXE = <MainTarget>\KNV\bin
DELETE_OLD_OEM_EXE = <MainTarget>\KNV\bin
BMP = <MainTarget>\Files
OVERWRITE_EXE = <MainTarget>\KNV\bin

;INSTALL =========================================================================
[Install]
CopyDirs = ZIPDIR
CopyFiles = SEC1,BMP
AddLinks = LINK1
AddItemARP = ARP
ExecFiles = AppInstall
DelDirs = TEMP_LICENSE_DIR
CopyFiles = OVERWRITE_EXE

[Install.OEM]
CopyDirs = ZIPDIR
CopyFiles = SEC1
AddLinks = OEM_LINK1
AddItemARP = OEM_ARP
ExecFiles = AppInstall
DelFiles = OEM_DELETECONFIG
CopyFiles = OEM_RENAMECONFIG
DelFiles = OEM_DELETEOEMCONFIG
CopyFiles = OVERWRITE_EXE
CopyFiles = RENAME_OEM_EXE
DelFiles = DELETE_OLD_OEM_EXE
DelDirs = TEMP_LICENSE_DIR

[Upgrade]
CopyFiles = AUTHSAVE_OLD,AUTHSAVE
DelItemARP = OLD_ARP
DelItemARP = ARP
DelDirs = DIRS2
DelDirs = DIRS_OLD
DelFiles = SEC1,BMP,BMP_OLD
DelFiles = PNF
DelLinks = LINK1
CopyDirs = ZIPDIR
CopyFiles = SEC1,BMP
CopyFiles = OVERWRITE_EXE
AddLinks = LINK1
AddItemARP = ARP
ExecFiles = AppInstall
CopyFiles = AUTHRESTORE
DelFiles = AUTHSAVE

[Upgrade.OEM]
CopyFiles = AUTHSAVE
DelLinks = OEM_LINK1
DelItemARP = OEM_ARP,OLD_OEM_ARP
DelDirs = DIRS2
DelDirs = DIRS_OLD_OEM
DelFiles = SEC1
DelFiles = PNF
CopyDirs = ZIPDIR
CopyFiles = SEC1
AddLinks = OEM_LINK1
AddItemARP = OEM_ARP
ExecFiles = AppInstall
CopyFiles = AUTHRESTORE
DelFiles = AUTHSAVE
DelFiles = OEM_DELETECONFIG
CopyFiles = OEM_RENAMECONFIG
CopyFiles = OVERWRITE_EXE
DelFiles = OEM_DELETEOEMCONFIG
CopyFiles = RENAME_OEM_EXE
DelFiles = DELETE_OLD_OEM_EXE

[Remove]
ExecFiles = AppRemove
DelLinks = LINK1
DelItemARP = ARP
DelDirs = DIRS
DelFiles = SEC1,BMP,BMP_OLD
DelFiles = PNF
DelDirs = DIR1

[Remove.OEM]
ExecFiles = AppRemove
DelLinks = OEM_LINK1
DelItemARP = OEM_ARP
DelDirs = DIRS_OEM
DelFiles = SEC1
DelFiles = PNF
DelDirs = DIR1

[Verify]
VerifyApps = verApp

[Verify.OEM]
VerifyApps = verApp_oem

[verApp]
CompareVersion = VERIFY_FILE,"KNV\knv.zip|bin/Netviewer.exe","<ProgramFiles>\Kyocera\KMnet Viewer\KMNV\bin\Netviewer.exe",PRODUCTVERSION
CompareVersion = VERIFY_FILE,"KNV\knv.zip|bin/Netviewer.exe","<MainTarget>\KNV\bin\Netviewer.exe",PRODUCTVERSION

[verApp_oem]
CompareVersion = VERIFY_FILE,"KNV\knv.zip|bin/Netviewer.exe","<ProgramFiles>\NETWORK  PRINT  MONITOR\KMNV\bin\NetPrintMonitor.exe",PRODUCTVERSION
CompareVersion = VERIFY_FILE,"KNV\knv.zip|bin/Netviewer.exe","<MainTarget>\KNV\bin\NetPrintMonitor.exe",PRODUCTVERSION

[BMP]
kxLogo.png
;wizardbitmap.bmp

[BMP_OLD]
kxLogo.png,,kxLogo.png,IGNORE_FAILED
wizardbitmap.bmp,,wizardbitmap.bmp,IGNORE_FAILED

[RENAME_OEM_EXE]
NetPrintMonitor.exe,,Netviewer.exe

[OEM_DELETECONFIG]
Netviewer.exe.config

[OEM_RENAMECONFIG]
NetPrintMonitor.exe.config,,AppOem.config

[OEM_DELETEOEMCONFIG]
AppOem.config

[DELETE_OLD_OEM_EXE]
Netviewer.exe

[ZIPDIR]
*.*

[AUTHSAVE]
auth.data,,auth.data,IGNORE_FAILED

[AUTHSAVE_OLD]
auth.data,,auth.data,IGNORE_FAILED

[AUTHRESTORE]
auth.data,,auth.data,IGNORE_FAILED

[PNF]
KmNetViewer.pnf
dotnet20.pnf
KMNV_DeviceManagement.pnf
KMNV_AccountingManagement.pnf
KMNV_HostManagement.pnf
KMNVUnZip.pnf
KMNV.pnf,IGNORE_FAILED

[SEC1]
Setup.exe
KmInst32.exe
KmInst64.exe
KmInstall.ini
lang.dat
KMNVUnZip.pnf
KMNV_DeviceManagement.pnf
KMNV_AccountingManagement.pnf
KMNV_HostManagement.pnf

[AppInstall]
InstallCmd = <MainTarget>\KNV\bin\core.gac.exe -i

[AppRemove]
;InstallCmd = <MainTarget>\bin\core.gac.exe -u

[DIRS]
<MainTarget>\KNV,REMOVE_ALL
<UserAppData>\KNV,REMOVE_ALL
<MainLink>

[DIRS_OEM]
<MainTarget>\KNV,REMOVE_ALL
<UserAppData>\npm,REMOVE_ALL
<MainLink>

[DIRS2]
<MainTarget>\KNV,REMOVE_ALL
<MainLink>

[DIRS_OLD]
<ProgramFiles>\Kyocera\KMnet Viewer,REMOVE_ALL

[DIRS_OLD_OEM]
<MainTarget>\KMNV,REMOVE_ALL

[DIR1]
<MainTarget>

[OVERWRITE_EXE]
Netviewer.exe
Netviewer.exe.config

[TEMP_LICENSE_DIR]
<TempDir>\KMNVLicense,REMOVE_ALL

[ADDIN_DEV_FIRM_UPG_FOLDER]
<MainTarget>\KNV\addins\Device.FirmwareUpgrade,REMOVE_ALL

[LINK1]
%PRODUCT_NAME% = "<MainTarget>\KNV\bin\Netviewer.exe","<MainLink>","<MainTarget>\KNV\bin\Netviewer.exe","KYOCERA Net Viewer"

[OEM_LINK1]
%PRODUCT_NAME_OEM% = "<MainTarget>\KNV\bin\NetPrintMonitor.exe","<MainLink>","<MainTarget>\KNV\bin\NetPrintMonitor.exe","NETWORK PRINT MONITOR"

[ARP]
%DISPLAY_NAME%,%DISPLAY_NAME%,<MainTarget>\Setup.exe,KYOCERA Document Solutions Inc.,<MainTarget>,<MainTarget>\Setup.exe

[OLD_ARP]
"KMnet Viewer","KMnet Viewer",<MainTarget>\Setup.exe,KYOCERA Document Solutions Inc.,<MainTarget>,<MainTarget>\Setup.exe


[OEM_ARP]
%ARP_PRODUCT_NAME_OEM%,%DISPLAY_NAME_OEM%,<MainTarget>\Setup.exe,KYOCERA Document Solutions Inc.,<MainTarget>,<MainTarget>\Setup.exe

[OLD_OEM_ARP]
"NETWORK PRINT MONITOR","NETWORK PRINT MONITOR"<MainTarget>\Setup.exe,KYOCERA Document Solutions Inc.,<MainTarget>,<MainTarget>\Setup.exe

; Strings
;================================================================================================================
[Strings]
DISPLAY_NAME = "KYOCERA Net Viewer"
PRODUCT_NAME = "KYOCERA Net Viewer"
DISPLAY_NAME_OEM = "NETWORK PRINT MONITOR"
PRODUCT_NAME_OEM = "NETWORK PRINT MONITOR"
ARP_PRODUCT_NAME_OEM = "NETWORK PRINT MONITOR"

