//
// Version Spec
// X.AA.BB 
// AA: Model Version BB: Data file Version 
//
// Installer command file V 2.00.01
//
/*

  
 1) 2006.06.01 :
	  - Version : V2.00.01
	  - Description :
	  	. change "Guide.pdf" => %USER_GUIDE_NAME%
	  	
*/

//////////////////////////////////////////////////////////////////////////////////////////////////////////
//																										//
//												Command Section											//			
//																										//
//////////////////////////////////////////////////////////////////////////////////////////////////////////


//////////////////////////////////////////
// 		Install Start command			//
//////////////////////////////////////////

[INST_STRART_CMD]
CT_DELETE_FILE = DEVICEINFO_DELETE

[INST_STRART_CMD.END]


//////////////////////////////////////////
//		Installing command			//
//////////////////////////////////////////
[INST_INSTALLING_CMD]
CT_ADDREG = ADD_REG.USER_GUIDE
//CT_ADDREG = ADD_REG.WSP
[INST_INSTALLING_CMD.END]

//////////////////////////////////////////
//		Install End  command			//
//////////////////////////////////////////
[INST_END_CMD]
//CT_ADDREG = ADD_REG.PRINTER119_DELETE_ALL

CT_EXE_FILE_NOWAIT = %XREG_CMD%, %XREG_PARAM%

[INST_END_CMD.END]



//////////////////////////////////////////
// 		Restall Start command			//
//////////////////////////////////////////

[REINST_STRART_CMD]

[REINST_STRART_CMD.END]

//////////////////////////////////////////
// 		Restall installing command				//
//////////////////////////////////////////

[REINST_INSTALLING_CMD]

[REINST_INSTALLING_CMD.END]


//////////////////////////////////////////
// 		Restall End command				//
//////////////////////////////////////////

[REINST_END_CMD]

[REINST_END_CMD.END]



//////////////////////////////////////////
// 		Unstall Start command			//
//////////////////////////////////////////

[UNINST_STRART_CMD]

[UNINST_STRART_CMD.END]


//////////////////////////////////////////
// 		Unstall installing command				//
//////////////////////////////////////////

[UNINST_INSTALLING_CMD]
[UNINST_INSTALLING_CMD.END]


//////////////////////////////////////////
// 		Unstall End command				//
//////////////////////////////////////////

[UNINST_END_CMD]
[UNINST_END_CMD.END]



//////////////////////////////////////////////////////////////////////
//																	//		
// 							Copy file section						//
//																	//
//////////////////////////////////////////////////////////////////////
[COPY_FILE_INFO]

COPYFILE_DATA
COPYFILE_SETUP

COPYFILE_DR_PRINTER_ICON
COPYFILE_MANUAL
COPYFILE_MANUAL_VIEWER
COPYFILE_ACROBAT

COPYFILE_SPANEL
COPYFILE_SPANEL_PANELMGR
COPYFILE_SPANEL_SETLANG
COPYFILE_SPANEL_SHARED
COPYFILE_SPANEL_SPANEL
COPYFILE_SPANEL_SPANEL_LANG
COPYFILE_SPANEL_SPANEL_PSU
COPYFILE_SPANEL_SPANEL_HELP_FLASH
COPYFILE_SPANEL_SPANEL_HELP_HELP

COPYFILE_SPANEL_SPANEL_RCP

COPYFILE_HTML_GUIDE_COMMON
COPYFILE_HTML_GUIDE

[COPY_FILE_INFO_END]


[COPYFILE_DATA]
DESCRIPTION = @FILE_COPY.INSTALLATION@
SOURCE = $SRC_DIR$\data
DESTINATION = $DEST_INST_DIR$\data
COPY_SUBDIR = 1

[COPYFILE_SETUP]
DESCRIPTION = @FILE_COPY.INSTALLATION@
SOURCE = $SRC_DIR$
DESTINATION = $DEST_INST_DIR$
COPY_SUBDIR = 0

[COPYFILE_DR_PRINTER_ICON]
DESCRIPTION = @FILE_COPY.INSTALLATION@
SOURCE = $SRC_DIR$\data\Dr. Printer Icon.ico
DESTINATION = $WIN_DIR$\Dr. Printer Icon.ico
DELETE = 0

//[COPYFILE_MANUAL]
//DESCRIPTION = @FILE_COPY.MANUAL@
//SOURCE = %USER_GUIDE_DIR%
//DESTINATION = $DEST_INST_DIR$\MANUAL\$ORG_LANG_DIR$


[COPYFILE_MANUAL]
DESCRIPTION = @FILE_COPY.MANUAL@
//SOURCE = %USER_GUIDE_DIR%
SOURCE = %USER_GUIDE_DIR%\%MODEL_NAME%\%USER_GUIDE_MANUAL_DIR%
//DESTINATION = $DEST_INST_DIR$\MANUAL\$ORG_LANG_DIR$
//DESTINATION = $DEST_INST_DIR$\MANUAL\%USER_GUIDE_MANUAL_DIR%
DESTINATION = $DEST_INST_DIR$\MANUAL\%MODEL_NAME%\%USER_GUIDE_MANUAL_DIR%

[COPYFILE_MANUAL_VIEWER]
DESCRIPTION = @FILE_COPY.MANUAL@
SOURCE = $SRC_DIR$\DATA\Ssopen.exe
DESTINATION = $DEST_INST_DIR$\DATA\Ssopen.exe

[COPYFILE_ACROBAT]
DESCRIPTION = @FILE_COPY.ACROBATREADER@
SOURCE = $SRC_DIR$\@ACROBATREADER_PATH@
DESTINATION = $DEST_INST_DIR$\@ACROBATREADER_PATH@

[COPYFILE_SM]
DESCRIPTION = @COMPONENT.SM@
SOURCE = %SM_DIR%
DESTINATION = $DEST_INST_DIR$\Application\SM
COPY_SUBDIR = 1

[COPYFILE_RCP]
DESCRIPTION = @COMPONENT.RCP@
SOURCE = %RCP_DIR%
DESTINATION = $DEST_INST_DIR$\Application\RCP
COPY_SUBDIR = 1


/////////////////////// COPYFILE_SPANEL //////////////////////////

[COPYFILE_SPANEL]
DESCRIPTION = @COMPONENT.SP@
SOURCE = %SPANEL_DIR%
DESTINATION = $DEST_INST_DIR$\Application\SPANEL
COPY_SUBDIR = 0

[COPYFILE_SPANEL_PANELMGR]
DESCRIPTION = @COMPONENT.SP@
SOURCE = %SPANEL_DIR%\PanelMgr
DESTINATION = $DEST_INST_DIR$\Application\SPANEL\PanelMgr
COPY_SUBDIR = 1

[COPYFILE_SPANEL_SETLANG]
DESCRIPTION = @COMPONENT.SP@
SOURCE = %SPANEL_DIR%\Setlang
DESTINATION = $DEST_INST_DIR$\Application\SPANEL\Setlang
COPY_SUBDIR = 1

[COPYFILE_SPANEL_SHARED]
DESCRIPTION = @COMPONENT.SP@
SOURCE = %SPANEL_DIR%\Shared
DESTINATION = $DEST_INST_DIR$\Application\SPANEL\Shared
COPY_SUBDIR = 1


[COPYFILE_SPANEL_SPANEL]
DESCRIPTION = @COMPONENT.SP@
SOURCE = %SPANEL_DIR%\SPanel
DESTINATION = $DEST_INST_DIR$\Application\SPANEL\SPanel
COPY_SUBDIR = 0

[COPYFILE_SPANEL_SPANEL_LANG]
DESCRIPTION = @COMPONENT.SP@
SOURCE = %SPANEL_DIR%\SPanel\Lang
DESTINATION = $DEST_INST_DIR$\Application\SPANEL\SPanel\Lang
COPY_SUBDIR = 1

[COPYFILE_SPANEL_SPANEL_PSU]
DESCRIPTION = @COMPONENT.SP@
SOURCE = %SPANEL_DIR%\SPanel\PSU
DESTINATION = $DEST_INST_DIR$\Application\SPANEL\SPanel\PSU
COPY_SUBDIR = 1

[COPYFILE_SPANEL_SPANEL_HELP_FLASH]
DESCRIPTION = @COMPONENT.SP@
SOURCE = %SPANEL_DIR%\SPanel\Help\Flash_Shockwave_Full.exe
DESTINATION = $DEST_INST_DIR$\Application\SPANEL\SPanel\Help\Flash_Shockwave_Full.exe
COPY_SUBDIR = 0

[COPYFILE_SPANEL_SPANEL_HELP_HELP]
DESCRIPTION = @COMPONENT.SP@
SOURCE = %SPANEL_DIR%\SPanel\Help\help_$LANG_ABBR$.chm
DESTINATION = $DEST_INST_DIR$\Application\SPANEL\SPanel\Help\help_$LANG_ABBR$.chm
COPY_SUBDIR = 0

[COPYFILE_SPANEL_SPANEL_RCP]
DESCRIPTION = @COMPONENT.SP@
SOURCE = %SPANEL_DIR%\SPanel\RCP
DESTINATION = $DEST_INST_DIR$\Application\SPANEL\SPanel\RCP
COPY_SUBDIR = 1

[COPYFILE_HTML_GUIDE_COMMON]
DESCRIPTION = @FILE_COPY.MANUAL@
SOURCE = $SRC_DIR$\MANUAL\%MODEL_NAME%\common
DESTINATION = $DEST_INST_DIR$\MANUAL\%MODEL_NAME%\common
COPY_SUBDIR = 1

[COPYFILE_HTML_GUIDE]
DESCRIPTION = @FILE_COPY.MANUAL@
SOURCE = $SRC_DIR$\MANUAL\%MODEL_NAME%\$ORG_LANG_DIR$
DESTINATION = $DEST_INST_DIR$\MANUAL\%MODEL_NAME%\$ORG_LANG_DIR$
COPY_SUBDIR = 1


//////////////////////////////////////////////////
//
// Copy Network Monitor File
//
////////////////////////////////////////////////////
[NET_MON_9X_FILE]
SUPPORTED_OS = WIN95,WIN98,WINME
FILE = $SRC_DIR$\DATA\NetMon\Xermon_9x.dll,$SYS_DIR$\Xermon.dll
FILE = $SRC_DIR$\DATA\NetMon\ini\$LANG_DIR$\Xermon.ini,$SYS_DIR$\Xermon.ini,0
FILE = $SRC_DIR$\DATA\NetMon\SecSNMP.dll,$SYS_DIR$\SecSNMP.dll,0
[NET_MON_9X_FILE_END]

[NET_MON_NT_FILE]
SUPPORTED_OS = WINNT
FILE = $SRC_DIR$\DATA\NetMon\Xermon_NT.dll,$SYS_DIR$\Xermon.dll
FILE = $SRC_DIR$\DATA\NetMon\ini\$LANG_DIR$\Xermon.ini,$SYS_DIR$\Xermon.ini,0
FILE = $SRC_DIR$\DATA\NetMon\SecSNMP.dll,$SYS_DIR$\SecSNMP.dll,0
[NET_MON_NT_FILE_END]

////////////////////////////////////////////////
//
// Shortcut information
//
///////////////////////////////////////////////
[UNINST_SHORTCUT]
NAME = @COMMON.SHORTCUT_MAINT@
GROUP = START
TARGET = $DEST_INST_DIR$\$INSTALLER_EXE$
ARGUMENT = /R
ICON_FILE = $DEST_INST_DIR$\$INSTALLER_EXE$
ICON_INDEX = 0
PERMISSION = 
//FOLDER_NAME = @UNINST_SHORTCUT.FOLDER_NAME@
FOLDER_NAME = @SHORTCUT_MAINT.COMMON_FOLDER_NAME@
//DESCRIPTION = @UNINST_SHORTCUT.DESC@
MUI_RES_ID = 100

[MANUAL_SHORTCUT]
NAME = @WELCOME.MANUAL@
GROUP = START
TARGET = $DEST_INST_DIR$\MANUAL\%MODEL_NAME%\%USER_GUIDE_NAME%
//ARGUMENT = /T..\MANUAL\$ORG_LANG_DIR$\%USER_GUIDE_NAME% /I..\@ACROBATREADER_PATH@ /N %MODEL_NAME%
//ARGUMENT = /T..\MANUAL\%MODEL_NAME%\%USER_GUIDE_NAME% /I..\@ACROBATREADER_PATH@ /N %MODEL_NAME%
ICON_FILE = $DEST_INST_DIR$\DATA\Html Guide Icon.ico
ICON_INDEX = 0
PERMISSION = 
FOLDER_NAME = @SHORTCUT_MAINT.COMMON_FOLDER_NAME@
DESCRIPTION = @WELCOME.MANUAL@
MUI_RES_ID = 105


[DR_PRINTER_SHORTCUT]
SUPPORTED_LANG = KR, EN, CP, RU, IT, FN, GR
NAME = @DR_PRINTER.NAME@
GROUP = DESKTOP
TARGET = @DR_PRINTER.URL@
ARGUMENT = 
ICON_FILE = $WIN_DIR$\Dr. Printer Icon.ico
ICON_INDEX = 0
PERMISSION = 
FOLDER_NAME = 
DESCRIPTION = 
DELETE = 0



[LANGUAGE_SHORTCUT]
NAME = @COMMON.SHORTCUT_LANG@
GROUP = START
TARGET = $DEST_INST_DIR$\data\SSLang.exe
ARGUMENT = SSLang.dat
ICON_FILE = $DEST_INST_DIR$\data\SSLang.exe
ICON_INDEX = 0
PERMISSION = 
FOLDER_NAME = @SHORTCUT_MAINT.COMMON_FOLDER_NAME@
DESCRIPTION = @COMMON.SHORTCUT_LANG@

[HTML_GUIDE_SHORTCUT]
NAME = @WELCOME.MANUAL@
GROUP = START
TARGET = $DEST_INST_DIR$\MANUAL\%MODEL_NAME%\$ORG_LANG_DIR$\start_here.htm
ARGUMENT = 
ICON_FILE = $DEST_INST_DIR$\DATA\Html Guide Icon.ico
ICON_INDEX = 0
PERMISSION = 
FOLDER_NAME = @SHORTCUT_MAINT.COMMON_FOLDER_NAME@
DESCRIPTION = @WELCOME.MANUAL@

[WIRELESS_SETTING_PROGRAM]
NAME = @WSP.COMMON.PROGRAM_NAME@
GROUP = START
TARGET = $DEST_INST_DIR$\DATA\Setup\bin\SSWSPExe.exe
ARGUMENT = /N"%MODEL_NAME%" /M%MFG%
ICON_FILE = $DEST_INST_DIR$\DATA\Setup\bin\Wireless.ico
ICON_INDEX = 0
PERMISSION = 
FOLDER_NAME = @SHORTCUT_MAINT.COMMON_FOLDER_NAME@
DESCRIPTION = @WSP.COMMON.PROGRAM_NAME@
MUI_RES_ID = 102

/////////////////////////////////////////////////////////////////////
//
// section of Registry to be added 
// 
// RootKey = HKLM,HKCU        Default value is HKLM
// KeyName = Created or existing key name
// Value.VALUE = type,name,data 
// - value name is value name
// - value type is registry type (REG_DWORD, REG_SZ)
// - Value is real value, if REG_DWORD and value is 0x???? ==> it is hexadecimal
//                        if REG_DWORD and Value is ????   ==> it is decimal
//                        if REG_SZ, the value must be bound with quotation mark.
/////////////////////////////////////////////////////////////////////////////////

[ADD_REG.UNINSTKEY]
ROOTKEY = HKLM
KEYNAME = Software\Microsoft\Windows\CurrentVersion\uninstall\%MODEL_NAME%
VALUE = REG_SZ,DisplayName,@REGISTRY.UNINSTALL_NAME@
VALUE = REG_SZ,UninstallString,$DEST_INST_DIR$\$INSTALLER_EXE$ /R
VALUE = REG_SZ,DisplayIcon,$DEST_INST_DIR$\$INSTALLER_EXE$
VALUE = REG_SZ,Publisher,Xerox Corporation
DELETE_KEY = 1
[ADD_REG.UNINSTKEY_END]

[ADD_REG.USER_GUIDE]
ROOTKEY = HKLM
KEYNAME = Software\%MFG%\%MODEL_NAME%\Installed
VALUE = REG_SZ,UserGuideDir,%USER_GUIDE_TROUBLESHOOTING_DEST_DIR%
VALUE = REG_SZ,UserGuideFile,%USER_GUIDE_REGNAME%
DELETE_KEY = 1
[ADD_REG.USER_GUIDE_END]

[ADD_REG.WSP]
ROOTKEY = HKLM
KEYNAME = Software\%MFG%\%MODEL_NAME%\Installed\WSP
VALUE = REG_SZ,DLL,$DEST_INST_DIR$\DATA\Setup\bin\SSWSP.dll
VALUE = REG_SZ,Param_dir,$DEST_INST_DIR$\DATA
VALUE = REG_SZ,Param_MFG,%MFG%
VALUE = REG_SZ,Param_MDL,%MDL%
VALUE = REG_SZ,Param_Lang,$LANG_ABBR$
DELETE_KEY = 1
[ADD_REG.WSP_END]
