/* Copyright (c) Oracle Corporation . All Rights Reserved */ /*************************************************************** NAME jsf.vrf DESCRIPTION verification for jsf OWNER Lin Bin Xu MODIFIED MM/DD/YY Reason kpotter 3/98 version update for 805 EE lxu 05/12/97 created ****************************************************************/ { /*** First, execute the .vrf script, which returns a boolean, doit, indicating whether installation should proceed or not. ***/ { doit = execute("%installer_home%\%operating_system%.vrf"); } [ 'UNBOUND_VARIABLE: { required_version = product_version(osinstver); 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."))); } ] /*** The body of this script is contained within this "if" statement. ***/ if(doit) { JRE11 = "%oracle_home%\jre11\classes"; /*** Set the VRF script ratchet variable, guaranteeing a match between VRF and INS version numbers. ***/ vrf_ratchet = "8.0.5.0.0"; /*** Bind MAP File Variables and NLS Strings here... ***/ modifying_variables = nls("modifying_variables","Modifying %%product_label%% Environment Variables..."); registering_product = nls("registering_product","Registering %%product_label%%..."); installing_scripts = nls("installing_scripts","Installing %%product_label%% Scripts..."); installing_class = nls("installing_class","Installing %%product_label%% class files..."); installing_dll = nls("installing_dll","Installing %%product_label%% dll files..."); /*** Ask user questions pertaining to installation... ***/ /*** Compute and return size requirements for the current product and its dependent products. The verify() function calls the .vrf script for the given product, returning its size. ***/ return(sum(deinstl, class, dll)); } else { refresh_map_file = FALSE; /*** Don't bother checking MAP file, as installation will not proceed. ***/ return(0); } }