/* Copyright (c) Oracle Corporation 1997. All Rights Reserved */ /*************************************************************** NAME net23.vrf DESCRIPTION Verify script for Oracle Networking pseudo-product. OWNER NT SQL*Net Group within Server Technologies. MODIFIED MM/DD/YY Reason nevans 05/30/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) { /*** Set the VRF script ratchet variable, guaranteeing a match between VRF and INS version numbers. ***/ vrf_ratchet = "2.3.4.0.2"; /*** 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. ***/ total_size = 0; /*** NT installs SQL*Net Server, Oracle Names Server, and SQL*Net Client (Adapters autodetected by client) Windows 95 installs SQL*Net Client (Adapters will be autodetected) ***/ if(platform() == "nt") { { total_size = total_size + verify(ntnetsrv23); } [ 'DEFAULT: continue(); ] { total_size = total_size + verify(w32netclt23); } [ 'DEFAULT: continue(); ] { total_size = total_size + verify(ntnames20); } [ 'DEFAULT: continue(); ] return(total_size); } else /* win95 */ { { total_size = total_size + verify(w95netsrv23); } [ 'DEFAULT: continue(); ] { total_size = total_size + verify(w32netclt23); } [ 'DEFAULT: continue(); ] return(total_size); } } else { refresh_map_file = FALSE; /*** Don't bother checking MAP file, as installation will not proceed. ***/ return(0); } }