[Components]
LeadTool

[Defines]
CUR_VERSION=1.0
USER=AllUsers
APPFOLDER_NAME=%AppFolder%
SOURCE_DIR=$CD_ROOT_DIR$\$APPFOLDER_NAME$\AIOC
SOURCE_NOT_EXISTS=<ExistFile,$SOURCE_DIR$\iptk.dl_>
ALT_SOURCE_DIR=$CD_ROOT_DIR$\$APPFOLDER_NAME$\EZPRINT
ALTSOURCE_NOT_EXISTS=<ExistFile,$ALT_SOURCE_DIR$\iptk.dl_>
FAX3_SOURCE_DIR=$CD_ROOT_DIR$\FAX
FAX3_SOURCE_EXISTS=<ExistFile,$FAX3_SOURCE_DIR$\FaxCtr.exe>
FAX3_Leadtool_EXISTS=<ExistFile,$FAX3_SOURCE_DIR$\Leadtool>
ERROR_PATHNOTFOUND=%ErrorMsg.FilePathNotFound%
MODEL_NAME=%ModelName%
MODEL_CODE=%ModelCode%
FOLDER_NAME=$OEM$ $MODEL_NAME$
INSTALL_DIR=$PROGRAMFILES_DIR$\$FOLDER_NAME$
INSTALL_DIR64=$PROGRAMFILES_DIR$ (x86)\$FOLDER_NAME$
FAX_NAME=%FaxName%
FAX3_INSTALL_DIR=$PROGRAMFILES_DIR$\$OEM$ $FAX_NAME$
FAX3_INSTALL_DIR64=$PROGRAMFILES_DIR$ (x86)\$OEM$ $FAX_NAME$
PRINTER_ONLY=%PrinterOnly%
IS_PRINTER_ONLY=<SetLabel,$PRINTER_ONLY$,EQ,true>
IS_PRINTER_AIO=<SetLabel,$PRINTER_ONLY$,EQ,false>
TEST_DIR=$PROGRAMFILES_DIR$\$OEM$ System Test
IS_FAX3=<SetLabel,$FAX3_SOURCE_EXISTS$,EQ,true>
FAX3_NO_LEADTOOL=<SetLabel,$FAX3_Leadtool_EXISTS$,EQ,false>
SYSTEST_INSTALL=<SetLabel,$MODEL_NAME$,EQ,System Test>
PRODUCT_INSTALL=<SetLabel,$MODEL_NAME$,NE,System Test>

#Macros for Fax34
FAX34_FAX3_SOURCE_DIR=$CD_ROOT_DIR$\FAX3
FAX34_FAX3_SOURCE_EXISTS=<ExistFile,$FAX34_FAX3_SOURCE_DIR$\FaxCtr.exe>
FAX34_FAX3_Leadtool_EXISTS=<ExistFile,$FAX34_FAX3_SOURCE_DIR$\Leadtool>
IS_FAX34_FAX3=<SetLabel,$FAX34_FAX3_SOURCE_EXISTS$,EQ,true>
FAX34_FAX3_NO_LEADTOOL=<SetLabel,$FAX34_FAX3_Leadtool_EXISTS$,EQ,false>



[LeadTool]
Platform=9X,2K_VISTA
OEMCommon=FALSE
Version=$CUR_VERSION$

[LeadTool_EXTREQ]
$SOURCE_NOT_EXISTS$,eq,false
$ALTSOURCE_NOT_EXISTS$,eq,false
ERROR:$ERROR_PATHNOTFOUND$

[LeadTool_Actions]
[$PRODUCT_INSTALL$]GotoSection,PRODUCT_INSTALL
[$SYSTEST_INSTALL$]GotoSection,SYSTEM TEST

[PRODUCT_INSTALL]
[$IS_PRINTER_ONLY$]GotoSection,Printer_LeadTool_Actions
[$IS_PRINTER_AIO$]GotoSection,AIO_LeadTool_Actions
[$IS_FAX3$,$IS_FAX34_FAX3$]GotoSection,FAX3_LeadTool_Actions

[SYSTEM TEST]
File,Copy,$SOURCE_DIR$\lf*.dl_,$TEST_DIR$\
File,Copy,$SOURCE_DIR$\lt*.dl_,$TEST_DIR$\
File,Copy,$SOURCE_DIR$\lv*.dl_,$TEST_DIR$\
File,Copy,$SOURCE_DIR$\iptk.dl_,$TEST_DIR$\
File,Copy,$SOURCE_DIR$\pcdlib32.dl_,$TEST_DIR$\

[Printer_LeadTool_Actions]
File,Copy,$ALT_SOURCE_DIR$\lf*.dl_,$INSTALL_DIR$\
File,Copy,$ALT_SOURCE_DIR$\lt*.dl_,$INSTALL_DIR$\
File,Copy,$ALT_SOURCE_DIR$\lv*.dl_,$INSTALL_DIR$\
File,Copy,$ALT_SOURCE_DIR$\iptk.dl_,$INSTALL_DIR$\
File,Copy,$ALT_SOURCE_DIR$\pcdlib32.dl_,$INSTALL_DIR$\

[AIO_LeadTool_Actions]
File,Copy,$SOURCE_DIR$\lf*.dl_,$INSTALL_DIR$\
File,Copy,$SOURCE_DIR$\lt*.dl_,$INSTALL_DIR$\
File,Copy,$SOURCE_DIR$\lv*.dl_,$INSTALL_DIR$\
File,Copy,$SOURCE_DIR$\iptk.dl_,$INSTALL_DIR$\
File,Copy,$SOURCE_DIR$\pcdlib32.dl_,$INSTALL_DIR$\

[FAX3_LeadTool_Actions]
[$FAX3_NO_LEADTOOL$,$FAX34_FAX3_NO_LEADTOOL$]File,Copy,$SOURCE_DIR$\lf*.dl_,$FAX3_INSTALL_DIR$\
[$FAX3_NO_LEADTOOL$,$FAX34_FAX3_NO_LEADTOOL$]File,Copy,$SOURCE_DIR$\lt*.dl_,$FAX3_INSTALL_DIR$\
[$FAX3_NO_LEADTOOL$,$FAX34_FAX3_NO_LEADTOOL$]File,Copy,$SOURCE_DIR$\lv*.dl_,$FAX3_INSTALL_DIR$\
[$FAX3_NO_LEADTOOL$,$FAX34_FAX3_NO_LEADTOOL$]File,Copy,$SOURCE_DIR$\iptk.dl_,$FAX3_INSTALL_DIR$\
[$FAX3_NO_LEADTOOL$,$FAX34_FAX3_NO_LEADTOOL$]File,Copy,$SOURCE_DIR$\pcdlib32.dl_,$FAX3_INSTALL_DIR$\

[LeadTool_Actions_64]
[$PRODUCT_INSTALL$]GotoSection,PRODUCT_INSTALL_64

[PRODUCT_INSTALL_64]
[$IS_PRINTER_ONLY$]GotoSection,Printer_LeadTool_Actions_64
[$IS_PRINTER_AIO$]GotoSection,AIO_LeadTool_Actions_64
[$IS_FAX3$,$IS_FAX34_FAX3$]GotoSection,FAX3_LeadTool_Actions_64

[Printer_LeadTool_Actions_64]
File,Copy,$ALT_SOURCE_DIR$\lf*.dl_,$INSTALL_DIR64$\
File,Copy,$ALT_SOURCE_DIR$\lt*.dl_,$INSTALL_DIR64$\
File,Copy,$ALT_SOURCE_DIR$\lv*.dl_,$INSTALL_DIR64$\
File,Copy,$ALT_SOURCE_DIR$\iptk.dl_,$INSTALL_DIR64$\
File,Copy,$ALT_SOURCE_DIR$\pcdlib32.dl_,$INSTALL_DIR64$\

[AIO_LeadTool_Actions_64]
File,Copy,$SOURCE_DIR$\lf*.dl_,$INSTALL_DIR64$\
File,Copy,$SOURCE_DIR$\lt*.dl_,$INSTALL_DIR64$\
File,Copy,$SOURCE_DIR$\lv*.dl_,$INSTALL_DIR64$\
File,Copy,$SOURCE_DIR$\iptk.dl_,$INSTALL_DIR64$\
File,Copy,$SOURCE_DIR$\pcdlib32.dl_,$INSTALL_DIR64$\

[FAX3_LeadTool_Actions_64]
[$FAX3_NO_LEADTOOL$,$FAX34_FAX3_NO_LEADTOOL$]File,Copy,$SOURCE_DIR$\lf*.dl_,$FAX3_INSTALL_DIR64$\
[$FAX3_NO_LEADTOOL$,$FAX34_FAX3_NO_LEADTOOL$]File,Copy,$SOURCE_DIR$\lt*.dl_,$FAX3_INSTALL_DIR64$\
[$FAX3_NO_LEADTOOL$,$FAX34_FAX3_NO_LEADTOOL$]File,Copy,$SOURCE_DIR$\lv*.dl_,$FAX3_INSTALL_DIR64$\
[$FAX3_NO_LEADTOOL$,$FAX34_FAX3_NO_LEADTOOL$]File,Copy,$SOURCE_DIR$\iptk.dl_,$FAX3_INSTALL_DIR64$\
[$FAX3_NO_LEADTOOL$,$FAX34_FAX3_NO_LEADTOOL$]File,Copy,$SOURCE_DIR$\pcdlib32.dl_,$FAX3_INSTALL_DIR64$\