/* Copyright (c) Oracle Corporation 1994. All Rights Reserved */ /***************************************************************************** NAME alllang.vrf - Installs all the lang suppliments DESCRIPTION This script checks dependencies and environment settings for the installation of all the lang components OWNER MODIFIED MM-DD-YY Reason JMADHAVI 10/19/00 modified installation paths VEYUNNI 10/02/2000 created ******************************************************************************/ { SHARED_ORACLE_COMPLIANT = TRUE; {doit = execute("%installer_home%%dir_separator%%operating_system%.vrf");} [ 'UNBOUND_VARIABLE: { required_version = product_version(instver_product); temp = explode(required_version, "."); required_version = implode(list(first(temp),first(rest(temp)), first(rest(rest(temp))), first(rest(rest(rest(temp))))), "."); signal('FAILURE, instantiate(nls("instver_too_early1", "The version of the Installer currently running is %%installer_version%%. The installation you have chosen requires version %%required_version%% or later. Please run version %%required_version%% or later in order to perform this installation."))); } ] /* This FAILURE will cause 3.0.x.x installer to exit gracefully. */ /****************************************************************************************************** START MAIN LOGIC *******************************************************************************************************/ if (doit) { /***************************** Set the VRF-INS script ratchet ******************************/ vrf_ratchet = "6.0.8.11.6"; /********************************/ /************************************************ Create a label with the product name, and version *************************************************/ EXECUTE_SCRIPT = "CREATE_LABEL"; execute("%installer_home%%dir_separator%d2kr2vrf.usr"); /***********************************************/ /************************************************** Determine installation path ***************************************************/ install_variable = "ALLLANG"; default_home = "%oracle_home%%dir_separator%ALLLANG"; ALLLANG = execute("%product_home%%dir_separator%instloc.usr"); BROWSER60 = "%ORACLE_HOME%%dir_separator%BROWSE60"; CA_GPREFS = "%ORACLE_HOME%"; DOC60 = "%TOOLS_HOME%%dir_separator%DOC60"; DE60 = "%ORACLE_HOME%%dir_separator%TOOLS%dir_separator%COMMON60"; FORMS60 = "%oracle_home%%dir_separator%FORMS60"; GRAPHICS60 = "%oracle_home%%dir_separator%GRAPH60"; MM60 = "%ORACLE_HOME%%dir_separator%TOOLS%dir_separator%COMMON60"; OCL60 = GRAPHICS60; OIN60 = "%ORACLE_HOME%%dir_separator%OIN60"; ORAINFONAV_DOCPATH = "%ORACLE_HOME%%dir_separator%OIN60"; PJ60 = "%oracle_home%%dir_separator%PJ60"; RW60 = "%oracle_home%%dir_separator%REPORT60"; VGS60 = "%ORACLE_HOME%%dir_separator%TOOLS%dir_separator%COMMON60"; make_directory("%oracle_home%\olap"); GSINSTALLDIR = "%ORACLE_HOME%%dir_separator%olap%dir_separator%ece620"; /**************************************************/ modify("ALLLANG", ALLLANG, ora_config, product_filename(current_product)); win32_register_key("$ORACLE","","ALLLANG",'REPLICATE); /*************************************************************************** Initialize total size of files ****************************************************************************/ total_sum = 0; total_sum = total_sum + sum(All, deinst); return(total_sum); /***************************************************************************/ } else { refresh_map_file = FALSE; return(0); } }