/* Copyright (c) Oracle Corporation 1996. All Rights Reserved */ /***************************************************************************** NAME ca60.ins - V3 installation script for the Tools Utilities 6.0 DESCRIPTION This script installs the Tools Utilities 6.0 MODIFIED MM/DD/YY Reason *****************************************************************************/ { if (doit) { /***************************** Set the VRF-INS script ratchet ******************************/ ins_ratchet = "6.0.0.0.0"; execute("%installer_home%%dir_separator%%operating_system%.ins"); permit_retry_operations = TRUE; permit_ignore_operations = TRUE; permit_process_operations= TRUE; win32_register_OCSM_product(); /******************************************** Rename preferences files if already installed *********************************************/ if (rename_prefs) { copy_file("%ORACLE_HOME%%dir_separator%CAUPREFS.ORA", "%ORACLE_HOME%%dir_separator%CAUPREFS.OLD"); if(exists("%ORACLE_HOME%%dir_separator%CAGPREFS.ORA")) copy_file("%ORACLE_HOME%%dir_separator%CAGPREFS.ORA", "%ORACLE_HOME%%dir_separator%CAGPREFS.OLD"); } /********************************************/ /****************** Install the product *******************/ ui_product(instantiate(display_product_label)); ui_action(instantiate(install_dei)); copy(deinstl); ui_action(instantiate(install_pref)); copy(usrpref); ui_action(instantiate(install_pref)); copy(grppref); ui_action(instantiate(install_dll)); copy(dll); /******************/ permit_retry_operations = FALSE; /************************** Modify Config Variables.... ***************************/ ui_action(instantiate(modify_variables)); if (set_ca_gprefs) { modify("CA_GPREFS", CA_GPREFS, ora_config, product_filename(current_product)); /* add CA_GPREFS in Registry */ win32_register_key("$ORACLE","","CA_GPREFS",'REPLICATE); } if (set_ca_uprefs) { modify("CA_UPREFS", CA_UPREFS, ora_config, product_filename(current_product)); /* add CA_UPREFS in Registry */ win32_register_key("$ORACLE","","CA_UPREFS",'REPLICATE); } /**************************/ /*************************************************************** Registering map variables except Installer_home and oracle_home ****************************************************************/ win32_register_map_variable("CA_UPREFS"); win32_register_map_variable("CA_GPREFS"); /************* Install Parent **************/ if(install_parent) /* Install parent first, if necessary */ install(product_parent(current_product)); /*************/ permit_retry_operations = TRUE; /********************************* Register and Reference the product **********************************/ ui_product(instantiate(display_product_label)); ui_action( instantiate(install_register) ); register(current_product); reference(current_product); /*********************************/ /********************* Reference dependencies **********************/ ui_action(instantiate(reference_dependencies)); {reference(current_product,product_parent(current_product));} /* reference parent */ ['UNREGISTERED_PRODUCT: continue();] /*********************/ remove(delold); permit_retry_operations = TRUE; permit_retry_operations = FALSE; } [ 'UNREGISTERED_PRODUCT: continue(); 'CANCEL: signal('FAILURE, instantiate(halt_installation)); ] }