/* Copyright (c) Oracle Corporation 1994. All Rights Reserved */ /***************************************************************************** NAME acrobat.vrf - analysis/product configuration script for the JDK Applet Viewer Version 1.1 DESCRIPTION This script checks dependencies and environment settings for the installation of the JDK Applet Viewer OWNER Amanda Harrison MODIFIED MM-DD-YY Reason rbchen 04/07/97 Modified for JDK aharriso 06/13/96 Created JMADHAVI 12/08/99 Modified for domestic & export versions ******************************************************************************/ { 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 = "1.1.8.7o"; ORACLE_JDK ="%ORACLE_HOME%\JDK\"; modify("ORACLE_JDK", ORACLE_JDK, ora_config, product_filename(current_product)); win32_register_key("$ORACLE","","ORACLE_JDK",'REPLICATE); /*************** 04/21/95 *********************** Create a label with the product name, and version *************************************************/ EXECUTE_SCRIPT = "CREATE_LABEL"; execute("%installer_home%%dir_separator%d2kr2vrf.usr"); /********** End - 04/21/95 **********************/ /************************** Determine installation path ***************************/ install_variable = "ORACLE_JDK"; default_home = "%oracle_home%%dir_separator%JDK"; ORACLE_JDK = execute("%product_home%%dir_separator%instloc.usr"); /**************************/ /*************************************************************************** Initialize total size of files ****************************************************************************/ total_sum = 0; total_sum = total_sum + sum(exe, deinst); return(total_sum); /***************************************************************************/ } else { refresh_map_file = FALSE; return(0); } }