level 1
bladdck
楼主
// Include header files
#include "ifx.h"
////////////////////// string defines ////////////////////////////
#define DLGTITLE_SETUP "Vision-X Setup"
#define MSG_SETUP_BEGIN "The Vision-X Setup Wizard will install "
// ----- SdShowDlg_AskDSN -----------------//
#define DISPLAY_ASK_DSN "Please input DB connection informaton for installation"
//----Process_CheckDSN----//
#define DISPLAY_DSN_TESTING "Setup is checking the DB availability ..."
#define DISPLAY_DSN_TESTING_END "Setup has ended the DB availability check"
#define DISPLAY_DSN_LOGIN_UNKNOWNERROR "Setup reminder: an unknown error occurred while validating the database information."
#define DISPLAY_DSN_LOGIN_INVALID "Setup reminder: could not login by specified DB Host,username or password."
#define DISPLAY_DSN_LOADDLL_FAILED "Setup reminder: Failed to load DB Dll for DB accessing"
//---- message title to popup during the course ----//
#define MSG_DSN_TITLE_VALIDATE_FAILED "DB ACCESS ERROR "
#define MSG_DSN_TITLE_CREATE_DB_FAILED "CREATE DB FAILED "
// message to popup during the course
#define MSG_DSN_NOTEXIST "DSN does not exist, could not access database"
#define MSG_DB_SCRIPT_NOTEXIST "DB script does not exist"
//----Process_ExecuteDBScript----//
#define DISPLAY_DB_CREATING "Setup is creating the databases: "
#define DISPLAY_DB_CREATING_END "Setup has ended the Vision-X databases creation"
#define MSG_DB_TITLE_CREATE_FAILED "CREATE DB FAILED "
#define MSG_DB_DISPLAY_SCRIPT_NOTEXIST "DB script does not exist, could not setup Vision-X databases"
#define MSG_DB_UNKNOWNERROR "An unknown error occurred while creating database"
#define DISPLAY_ASKPATH_JAVAHOME "The path to JAVA_HOME is required for configuration"
#define DISPLAY_ASKPATH_TOMCATHOME "The path to Tomcat is required for configuration"
#define MSG_FailedtoModifyFile_Telephony_INI "Error occurred while trying to modify the ini file of Telephony server configuration"
// --------------------------- on End ----------------------------------//
#define DLG_TITLE_END "Vision-X Setup"
#define MSG_Install_End "Thank you for choosing Vision-X products. Setup has been succeed to install Vision-X components on you computer."
#define MSG_Maintain_End "Thank you for choosing Vision-X products. Setup has successfully completed Vision-X components maintenance on you computer."
#define MSG_Exception_End "The Vision-X setup has to be ended because of the exception occurred during setup."
#define MSG_End_Click_Quit "Click Finish to quit setup."
////////////////////// end of string defines ////////////////////////////
//////////////////// installation declarations ///////////////////
2011年12月15日 08点12分
1
#include "ifx.h"
////////////////////// string defines ////////////////////////////
#define DLGTITLE_SETUP "Vision-X Setup"
#define MSG_SETUP_BEGIN "The Vision-X Setup Wizard will install "
// ----- SdShowDlg_AskDSN -----------------//
#define DISPLAY_ASK_DSN "Please input DB connection informaton for installation"
//----Process_CheckDSN----//
#define DISPLAY_DSN_TESTING "Setup is checking the DB availability ..."
#define DISPLAY_DSN_TESTING_END "Setup has ended the DB availability check"
#define DISPLAY_DSN_LOGIN_UNKNOWNERROR "Setup reminder: an unknown error occurred while validating the database information."
#define DISPLAY_DSN_LOGIN_INVALID "Setup reminder: could not login by specified DB Host,username or password."
#define DISPLAY_DSN_LOADDLL_FAILED "Setup reminder: Failed to load DB Dll for DB accessing"
//---- message title to popup during the course ----//
#define MSG_DSN_TITLE_VALIDATE_FAILED "DB ACCESS ERROR "
#define MSG_DSN_TITLE_CREATE_DB_FAILED "CREATE DB FAILED "
// message to popup during the course
#define MSG_DSN_NOTEXIST "DSN does not exist, could not access database"
#define MSG_DB_SCRIPT_NOTEXIST "DB script does not exist"
//----Process_ExecuteDBScript----//
#define DISPLAY_DB_CREATING "Setup is creating the databases: "
#define DISPLAY_DB_CREATING_END "Setup has ended the Vision-X databases creation"
#define MSG_DB_TITLE_CREATE_FAILED "CREATE DB FAILED "
#define MSG_DB_DISPLAY_SCRIPT_NOTEXIST "DB script does not exist, could not setup Vision-X databases"
#define MSG_DB_UNKNOWNERROR "An unknown error occurred while creating database"
#define DISPLAY_ASKPATH_JAVAHOME "The path to JAVA_HOME is required for configuration"
#define DISPLAY_ASKPATH_TOMCATHOME "The path to Tomcat is required for configuration"
#define MSG_FailedtoModifyFile_Telephony_INI "Error occurred while trying to modify the ini file of Telephony server configuration"
// --------------------------- on End ----------------------------------//
#define DLG_TITLE_END "Vision-X Setup"
#define MSG_Install_End "Thank you for choosing Vision-X products. Setup has been succeed to install Vision-X components on you computer."
#define MSG_Maintain_End "Thank you for choosing Vision-X products. Setup has successfully completed Vision-X components maintenance on you computer."
#define MSG_Exception_End "The Vision-X setup has to be ended because of the exception occurred during setup."
#define MSG_End_Click_Quit "Click Finish to quit setup."
////////////////////// end of string defines ////////////////////////////
//////////////////// installation declarations ///////////////////