/* Copyright (c) Oracle Corporation 1992. All Rights Reserved */ /***************************************************************************** NAME sch60.ins - V3 installation script for Schema Builder DESCRIPTION This script installs Schema Builder. OWNER MODIFIED MM/DD/YY Reason anmanian 01/25/99 Modified to incorporate language support files. *****************************************************************************/ { 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(); /****************** Install the product *******************/ ui_product(instantiate(display_product_label)); ui_action(instantiate(install_files)); copy(deinst); /************************************************************ Delete the Old Program Group if present and Install the new Program Group *************************************************************/ if(exists("%ORACLE_HOME%/bin/obs60.exe")) { D2K60_GROUP = D2K60_GROUP_OLD; windows_delete_icons(exe); D2K60_GROUP = D2K60_GROUP_NEW; } /************************************************************/ ui_action(instantiate(install_exe)); copy(exe); /******************/ permit_retry_operations = FALSE; /********************************* Install Query Builder, if required **********************************/ if(install_component) install(COMPONENT_PRODUCT); /*********************************/ /******************* Install dependencies ********************/ EXECUTE_SCRIPT = "INSTALL_DEPENDENCIES"; execute("%installer_home%%dir_separator%d2kr2ins.usr"); /******************************************/ permit_retry_operations = FALSE; /************************************* Set the install_variable in Registry **************************************/ modify(install_variable, BROWSER60, ora_config, product_filename(current_product)); win32_register_key("$ORACLE","",install_variable,'REPLICATE); /*************************************************************** Registering map variables except Installer_home and oracle_home ****************************************************************/ win32_register_map_variable("BROWSER60"); win32_register_map_variable("D2K60_GROUP"); /**************************** Registering map file groups *****************************/ win32_register_OCSM_group(deinst,'MINMODE); win32_register_OCSM_group(exe,'MEDMODE); /********************************* Register and Reference the product and remove delold. **********************************/ EXECUTE_SCRIPT = "REGISTER_REFERENCE_PRODUCT"; execute("%installer_home%%dir_separator%d2kr2ins.usr"); /********************* Reference component **********************/ ui_action(instantiate(reference_dependencies)); {reference(COMPONENT_PRODUCT, current_product);} /* reference Query Builder */ ['UNREGISTERED_PRODUCT: continue();] /*********************/ /********************* Reference dependencies **********************/ ui_action(instantiate(reference_dependencies)); {reference(TUTIL_PRODUCT, current_product);} /* reference Tools Utilities */ ['UNREGISTERED_PRODUCT: continue();] while(not(empty(dependency_list))) { current_dependency = first(dependency_list); dependency_list = rest(dependency_list); {reference(current_dependency, current_product);} ['UNREGISTERED_PRODUCT: continue();] } /*********************/ permit_retry_operations = FALSE; } [ 'UNREGISTERED_PRODUCT: continue(); 'CANCEL: signal('FAILURE, instantiate(halt_installation)); ] }