/* Copyright (c) Oracle Corporation 1994. All Rights Reserved */ /**************************************************************************** NAME d2lc.ins - installation script for Load Balancer Client. DESCRIPTION This script installs Load Balancer Client. OWNER Thomas C. Jose MODIFIED MM/DD/YY Reason tjose 06/08/99 Created *****************************************************************************/ { if (doit) { /***************************** Set the VRF-INS script ratchet ******************************/ ins_ratchet = "6.0.0.0.0"; execute("%installer_home%%dir_separator%%operating_system%.ins"); permit_ignore_operations = TRUE; permit_process_operations= TRUE; win32_register_OCSM_product(); permit_retry_operations = FALSE; if((configureProcesses)||member(selected_products,w32rmts60)) { temp_var=current_directory(); change_directory("%ORACLE_HOME%\bin"); {spawnerror = spawn("d2lc60 -remove Oracle_Load_Balancer_60_Client%oracle_home_group1%");} [ 'INVALID_FILE_NAME, 'OS_ERROR: continue(); ] change_directory("%temp_var%"); } permit_retry_operations = TRUE; /****************** Install the product *******************/ ui_product(instantiate(display_product_label)); ui_action(instantiate(install_files)); copy(deinst); ui_action(instantiate(install_exe)); copy(exe); /******************/ /* permit_retry_operations = TRUE; modify("ORACLE_D2LC", ORACLE_D2LC, ora_config, product_filename(current_product)); win32_register_key("$ORACLE","","ORACLE_D2LC",'REPLICATE); */ /********************************* Register and Reference the product and remove delold **********************************/ EXECUTE_SCRIPT = "REGISTER_REFERENCE_PRODUCT"; execute("%installer_home%%dir_separator%d2kr2ins.usr"); permit_retry_operations = FALSE; if((configureProcesses)||member(selected_products,w32rmts60)) { temp_var=current_directory(); change_directory("%ORACLE_HOME%\bin"); spawnerror = spawn("d2lc60 -install -autostart Oracle_Load_Balancer_60_Client%oracle_home_group1% %data_host% %data_port% 0 4 ifweb60"); change_directory("%temp_var%"); service_startup_message = nls("service_startup_message", "[INFO] NT service Oracle_Load_Balancer_60_Client%oracle_home_group1% has been created and started for the Load Balancer Client. "); modify("",service_startup_message,forms_config_instruction_file); } } /*END if doit*/ [ 'UNREGISTERED_PRODUCT: continue(); 'CANCEL: signal('FAILURE, instantiate(halt_installation)); ] } /*END d2lc.ins*/