/* Copyright (c) Oracle Corporation 1992. All Rights Reserved */ /***************************************************************************** NAME cgenrx61.vrf - V3.1.2 version analysis/product configuration script for Oracle Designer/2000 Generator for Reports 6.5 (Reports 6.0 Support) DESCRIPTION This script checks dependencies and environment settings for the installation of Oracle Designer/2000 Generator for Reports 6.5 (Reports 6.0 Support) OWNER Jeremy Williams MODIFIED DD-MMM-YY Reason jewillia 03-NOV-94 Created *****************************************************************************/ { filename = current_script; start_vrf_list = list(filename, 'DEBUG_CGENRX61); EXECUTE_SCRIPT = "START.VRF"; if (perform_start_vrf) execute("%product_home%\des2k_72.vrf"); /***************************************************************************** Check Installer and Product version *****************************************************************************/ /* sets the doit flag and calls .vrf */ patch_installation = PATCHSET_RELEASE; EXECUTE_SCRIPT = "INSTVER.VRF"; execute("%product_home%\des2k_72.vrf"); /***************************************************************************** Local variables... *****************************************************************************/ /* local install flags and variables */ total_size = 0; verify_list = list(); reference_list = list(); install_list = list(); children_install_list = list(); /***************************************************************************** Start main logic... *****************************************************************************/ if (doit) { /***************************************************************************** Dependencies and configuration variables *****************************************************************************/ /* verify_list = list(creq72_product, repadm61_product, sysdes61_product, chelp72_product); */ verify_list = cgenrx61_dependency_list; rw60_variable = "RW60"; rw60_variable_default = "%ORACLE_HOME%\REPORT60"; home_variable = "CGENRX61"; home_variable_default = "%%%rw60_variable%%%"; case_map_variables = list('DES2K_R61_BULLETINS); /***************************************************************************** NLS Prompt strings... *****************************************************************************/ display_product_label = nls("ui_product", "%product_label% Version %display_version%"); installing_product = nls("installing_product","Starting Installation of %%product_label%%"); installing_deinstl = nls("installing_deinstl","Installing %%product_label%% Installation scripts..."); installing_patchset = nls("installing_patchset","Installing %%product_label%% patchset file..."); installing_msb = nls("installing_msb","Installing %%product_label%% Message files..."); installing_ini = nls("installing_ini","Installing %%product_label%% Configuration files..."); installing_bin = nls("installing_bin","Installing %%product_label%% Executable files..."); installing_main = nls("installing_main","Installing %%product_label%% Product files..."); installing_patches = nls("installing_patches","Installing %%product_label%% Patch files..."); installing_registry = nls("installing_registry","Installing %%product_label%% Registry files..."); installing_admin = nls("installing_admin","Installing %%product_label%% Administration files..."); removing_old = nls("removing_old","Removing obsolete files from previous versions of %%product_label%%..."); registering_product = nls("registering_product","Registering %%product_label%%..."); modify_environment = nls("modify_environment","Modifying %%product_label%% Environment Variables..."); analyze_variables = nls("analyze_variables","Analyzing installed product %%analyze_variables_label%%..."); analyze_verify = nls("analyze_verify","Analyzing %%product_label%% dependent products..."); analyze_children = nls("analyze_children","Analyzing %%product_label%% child products..."); analyze_paths = nls("analyze_paths","Analyzing %%product_label%% Install Paths..."); analyze_strategy = nls("analyze_strategy","Analyzing %%product_label%% Install Strategy..."); rw60_variable_prompt = nls("rw60_variable_prompt","Enter the path for the Reports Runtime files"); home_variable_prompt = nls("home_variable_prompt","Enter the path for the %%product_label%% files"); case_dependency_msg_message = nls("case_dependency_msg_message","In order to use all the functionality of %product_label% you must also install %%dependency_msg_product_string%% into the Oracle Home %%oracle_home_name%%"); /***************************************************************************** Set the VRF-INS script ratchet *****************************************************************************/ vrf_ratchet = "7.2.96.5.6"; /***************************************************************************** Verify parents and dependencies (except children) *****************************************************************************/ EXECUTE_SCRIPT = "VERIFY_DEPENDENCIES.VRF"; execute("%product_home%\des2k_72.vrf"); /***************************************************************************** Install paths and configuration variables *****************************************************************************/ ui_product(product_label); ui_action(instantiate(analyze_paths)); /* can look here for RW60 registry variable as Reports vrf modifies the registry */ case_home_list = list(instantiate(rw60_variable),instantiate(rw60_variable_default),instantiate(rw60_variable_prompt),TRUE); EXECUTE_SCRIPT = "DES2_HOME.VRF"; RW60 = execute("%product_home%\des2k_72.vrf"); /* accept the default */ case_home_list = list(instantiate(home_variable),instantiate(home_variable_default),instantiate(home_variable_prompt),TRUE); EXECUTE_SCRIPT = "DES2_HOME.VRF"; CGENRX61 = execute("%product_home%\des2k_72.vrf"); /***************************************************************************** Verify children *****************************************************************************/ EXECUTE_SCRIPT = "VERIFY_CHILDREN.VRF"; if (not(empty(children_verify_list))) execute("%product_home%\des2k_72.vrf"); /***************************************************************************** Return sum including this prodct *****************************************************************************/ script_size = sum(deinstl,product,regfile); product_size = sum(msb,"%language_subgroup%",ini,bin,ldll,main,admin,"%language_subgroup%", reports); patchset_size = sum(patchset,bin,ldll); install_size = 0; install_size = install_size + script_size; if (patch_installation) { install_size = install_size + patchset_size; } else if (not(case_registry_only_install)) { install_size = install_size + product_size; } total_size = total_size + install_size; EXECUTE_SCRIPT = "END_VERIFY_DEPENDENCIES.VRF"; execute("%product_home%\des2k_72.vrf"); } /***************************************************************************** End main logic... *****************************************************************************/ EXECUTE_SCRIPT = "END.VRF"; if (perform_end_vrf) execute("%product_home%\des2k_72.vrf"); return(total_size); }