[Components]
warsaw

[Defines]
CUR_VERSION=1.0
MODELCODE=%ModelCode%
WARSAW_SOURCE=$CD_ROOT_DIR$\DRIVERS
WARSAW_EXE=$SYSTEM_DIR$\$MODELCODE$coms.exe
WARSAW_EXE64=$WINDOWS_DIR$\SysWOW64\$MODELCODE$coms.exe
WARSAW_EXISTS=<ExistReg,HKLM,Software\$OEM$InkJet\LCS\local\$MODELCODE$\runtime>
WARSAW32_EXISTS=<ExistReg,HKLM,Software\Wow6432Node\$OEM$InkJet\LCS\local\$MODELCODE$\runtime>
WARSAW_NEW=<SetLabel,$WARSAW_EXISTS$,NE,TRUE>
WARSAW32_NEW=<SetLabel,$WARSAW32_EXISTS$,NE,TRUE>
8CLANG=%LANG%
DRIVER_PATH=$CD_ROOT_DIR$\%WARSAW_PATH%
COMM_PATH=$CD_ROOT_DIR$\%WARSAW_COMM%
NETSUP_DLL=$CD_ROOT_DIR$\Install\x86\NetSupp.dll
NETSUP_DLL_64=$CD_ROOT_DIR$\Install\x64\NetSupp.dll

[warsaw]
VERSION=$CUR_VERSION$
Platform=2K_VISTA
OEMCommon=FALSE
SourceLocation=$WARSAW_SOURCE$

[warsaw_PreInstall]
[$WARSAW_EXISTS$]RunProgram,$WARSAW_EXE$,TRUE,10,-suspend

[warsaw_Actions]
File,Copy,$WARSAW_SOURCE$\Win_XP2K\common\$MODELCODE$.loc,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\i386\$MODELCODE$cfg.*,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\i386\$MODELCODE$comc.dl_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\i386\$MODELCODE$comm.dl_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\i386\$MODELCODE$coms.ex_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\i386\$MODELCODE$cu.dl_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\i386\$8CLANG$\$MODELCODE$cur.dl_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\i386\$MODELCODE$cub.dl_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\i386\$MODELCODE$gf.dl_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\i386\$8CLANG$\$MODELCODE$grd.dl*,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\i386\$MODELCODE$hbn3.dl_,$SYSTEM_DIR$\
#File,Copy,$WARSAW_SOURCE$\Win_XP2K\common\$8CLANG$\$MODELCODE$help.cn_,$SYSTEM_DIR$\
#File,Copy,$WARSAW_SOURCE$\Win_XP2K\common\$8CLANG$\$MODELCODE$help.hl_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\common\$8CLANG$\$MODELCODE$help.ch_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\i386\$MODELCODE$ih.ex_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\i386\$MODELCODE$ins.dl_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\i386\$8CLANG$\$MODELCODE$insr.dl_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\i386\$MODELCODE$insb.dl_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\i386\$8CLANG$\$MODELCODE$jswr.dl_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\i386\$MODELCODE$lmpm.dl_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\i386\$MODELCODE$pmui.dl_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\i386\$MODELCODE$pplc.dl_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\i386\$MODELCODE$prox.dl_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\i386\$MODELCODE$serv.dl_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\i386\$MODELCODE$usb1.dl_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\i386\$MODELCODE$util.dl_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\i386\$ModelCode$iesc.dl_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\i386\$ModelCode$inpa.dl_,$SYSTEM_DIR$\
File,Copy,$CD_ROOT_DIR$\Common\x86\$ModelCode$hcp.dl*,$SYSTEM_DIR$\
File,Copy,$CD_ROOT_DIR$\Common\x86\$ModelCode$inst.dl*,$SYSTEM_DIR$\
[$WARSAW_NEW$]RunProgram,$WARSAW_EXE$,TRUE,10,-install
[XPSP2,2K3SP1,VISTA]RunLibFunction,$NETSUP_DLL$,AddFirewallException,"Local"
[$WARSAW_NEW$]RunProgram,$WARSAW_EXE$,TRUE,10,-addmonitor
RegistryEntry,Add,HKLM,Software\$OEM$Inkjet\DriverOverrides,ForceRender,NUM,4,,SP_PERMIT

[warsaw_PostInstall]
[$WARSAW_EXISTS$]RunProgram,$WARSAW_EXE$,TRUE,10,-resume

[warsaw_PreInstall_64]
[$WARSAW_EXISTS$]RunProgram,$WARSAW_EXE$,TRUE,10,-suspend

[warsaw_Actions_64]
File,Copy,$WARSAW_SOURCE$\Win_XP2K\common\$MODELCODE$.loc,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\x64\$MODELCODE$cfg.*,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\x64\$MODELCODE$comc.dl_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\x64\$MODELCODE$comm.dl_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\x64\$MODELCODE$coms.ex_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\x64\$MODELCODE$cu.dl_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\x64\$8CLANG$\$MODELCODE$cur.dl_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\x64\$MODELCODE$cub.dl_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\x64\$MODELCODE$gf.dl_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\x64\$8CLANG$\$MODELCODE$grd.dl*,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\x64\$MODELCODE$hbn3.dl_,$SYSTEM_DIR$\
#File,Copy,$WARSAW_SOURCE$\Win_XP2K\common\$8CLANG$\$MODELCODE$help.cn_,$SYSTEM_DIR$\
#File,Copy,$WARSAW_SOURCE$\Win_XP2K\common\$8CLANG$\$MODELCODE$help.hl_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\common\$8CLANG$\$MODELCODE$help.ch_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\x64\$MODELCODE$ih.ex_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\x64\$MODELCODE$ins.dl_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\x64\$8CLANG$\$MODELCODE$insr.dl_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\x64\$MODELCODE$insb.dl_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\x64\$8CLANG$\$MODELCODE$jswr.dl_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\x64\$MODELCODE$lmpm.dl_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\x64\$MODELCODE$pmui.dl_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\x64\$MODELCODE$pplc.dl_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\x64\$MODELCODE$prox.dl_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\x64\$MODELCODE$serv.dl_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\x64\$MODELCODE$usb1.dl_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\x64\$MODELCODE$util.dl_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\x64\$ModelCode$iesc.dl_,$SYSTEM_DIR$\
File,Copy,$WARSAW_SOURCE$\Win_XP2K\x64\$ModelCode$inpa.dl_,$SYSTEM_DIR$\
File,Copy,$CD_ROOT_DIR$\Common\x64\$ModelCode$hcp.dl*,$SYSTEM_DIR$\
File,Copy,$CD_ROOT_DIR$\Common\x64\$ModelCode$inst.dl*,$SYSTEM_DIR$\
[$WARSAW_NEW$]RunProgram,$WARSAW_EXE$,TRUE,10,-install
[$WARSAW_NEW$]RunLibFunction,$NETSUP_DLL_64$,AddFirewallException,"Local"
[$WARSAW_NEW$]RunProgram,$WARSAW_EXE$,TRUE,10,-addmonitor

# Additional 32bit Resource File/Dll copy operations for LCS.
File,Copy,$COMM_PATH$\$ModelCode$.loc,$WINDOWS_DIR$\SysWOW64\
File,Copy,$DRIVER_PATH$\$ModelCode$cfg.*,$WINDOWS_DIR$\SysWOW64\
File,Copy,$DRIVER_PATH$\$ModelCode$comc.dl_,$WINDOWS_DIR$\SysWOW64\
File,Copy,$DRIVER_PATH$\$ModelCode$comm.dl_,$WINDOWS_DIR$\SysWOW64\
File,Copy,$DRIVER_PATH$\$ModelCode$coms.ex_,$WINDOWS_DIR$\SysWOW64\
#File,Copy,$DRIVER_PATH$\$ModelCode$hbn1.dl_,$WINDOWS_DIR$\SysWOW64\
File,Copy,$DRIVER_PATH$\$ModelCode$hbn3.dl_,$WINDOWS_DIR$\SysWOW64\
File,Copy,$DRIVER_PATH$\$ModelCode$ih.ex_,$WINDOWS_DIR$\SysWOW64\
File,Copy,$DRIVER_PATH$\$ModelCode$lmpm.dl_,$WINDOWS_DIR$\SysWOW64\
#File,Copy,$DRIVER_PATH$\$ModelCode$ip1.dl_,$WINDOWS_DIR$\SysWOW64\
#File,Copy,$DRIVER_PATH$\$ModelCode$par1.dl_,$WINDOWS_DIR$\SysWOW64\
File,Copy,$DRIVER_PATH$\$ModelCode$pplc.dl_,$WINDOWS_DIR$\SysWOW64\
File,Copy,$DRIVER_PATH$\$ModelCode$ppls.ex_,$WINDOWS_DIR$\SysWOW64\
File,Copy,$DRIVER_PATH$\$ModelCode$prox.dl_,$WINDOWS_DIR$\SysWOW64\
File,Copy,$DRIVER_PATH$\$ModelCode$serv.dl_,$WINDOWS_DIR$\SysWOW64\
File,Copy,$DRIVER_PATH$\$ModelCode$usb1.dl_,$WINDOWS_DIR$\SysWOW64\
File,Copy,$COMM_PATH$\$8CLANG$\$ModelCode$help.ch_,$WINDOWS_DIR$\SysWOW64\
File,Copy,$DRIVER_PATH$\$ModelCode$cu.dl_,$WINDOWS_DIR$\SysWOW64\
File,Copy,$DRIVER_PATH$\$ModelCode$cub.dl_,$WINDOWS_DIR$\SysWOW64\
File,Copy,$DRIVER_PATH$\$ModelCode$gf.dl_,$WINDOWS_DIR$\SysWOW64\
File,Copy,$DRIVER_PATH$\$ModelCode$ins.dl_,$WINDOWS_DIR$\SysWOW64\
File,Copy,$DRIVER_PATH$\$ModelCode$insb.dl_,$WINDOWS_DIR$\SysWOW64\
File,Copy,$DRIVER_PATH$\$ModelCode$pmui.dl_,$WINDOWS_DIR$\SysWOW64\
File,Copy,$DRIVER_PATH$\$ModelCode$util.dl_,$WINDOWS_DIR$\SysWOW64\
File,Copy,$DRIVER_PATH$\$8CLANG$\$ModelCode$cur.dl_,$WINDOWS_DIR$\SysWOW64\
File,Copy,$DRIVER_PATH$\$8CLANG$\$ModelCode$insr.dl_,$WINDOWS_DIR$\SysWOW64\
File,Copy,$DRIVER_PATH$\$8CLANG$\$ModelCode$jswr.dl_,$WINDOWS_DIR$\SysWOW64\
File,Copy,$DRIVER_PATH$\$ModelCode$iesc.dl_,$WINDOWS_DIR$\SysWOW64\
File,Copy,$DRIVER_PATH$\$ModelCode$inpa.dl_,$WINDOWS_DIR$\SysWOW64\
File,Copy,$CD_ROOT_DIR$\Common\x86\$ModelCode$inst.dl*,$WINDOWS_DIR$\SysWOW64\
[$WARSAW_NEW$,$WARSAW32_NEW$]RunProgram,$WARSAW_EXE64$,TRUE,10,-install

[warsaw_PostInstall_64]
[$WARSAW_EXISTS$]RunProgram,$WARSAW_EXE$,TRUE,10,-resume



