/* Copyright (c) Oracle Corporation 1994. All Rights Reserved */ /**************************************************************************** NAME d2ls.ins - installation script for Load Balancer Server. DESCRIPTION This script installs Load Balancer Server. 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; permit_retry_operations = FALSE; if((configureProcesses)||member(selected_products,w32rmts60)) { temp_var=current_directory(); change_directory("%ORACLE_HOME%\bin"); {spawnerror = spawn("d2ls60 -remove Oracle_Load_Balancer_60_Server%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_D2LS", ORACLE_D2LS, ora_config, product_filename(current_product)); win32_register_key("$ORACLE","","ORACLE_D2LS",'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("d2ls60 -remove Oracle_Load_Balancer_60_Server%oracle_home_group1%"); spawnerror = spawn("d2ls60 -install -autostart Oracle_Load_Balancer_60_Server%oracle_home_group1% %data_port% %request_port%"); change_directory("%temp_var%"); service_startup_message = nls("service_startup_message", "[INFO] NT service Oracle_Load_Balancer_60_Server has been created and started for the Load Balancer Server. "); modify("",service_startup_message,forms_config_instruction_file); } } /*END if doit*/ [ 'UNREGISTERED_PRODUCT: continue(); 'CANCEL: signal('FAILURE, instantiate(halt_installation)); ] } /*END d2ls.ins*/