/* Copyright (c) Oracle Corporation 1995. All Rights Reserved */ /***************************************************************************** NAME oci80.vrf - V3 version analysis/product configuration script for Windows 95 and Windows NT OCI 8.0 DESCRIPTION This script checks dependencies and environment settings for the installation of Windows 95 and Windows NT OCI 8.0 MODIFIED DD-MMM-YY Reason kpotter 3/98 version update for 805 EE mmckerle 20-NOV-97 Modified to install OTT only if bundled on EE CD kakiyama 03-JUN-97 Install OTT echien 19-APR-95 Creation for Windows 3.1 mclose 19-JUL-95 Adopted from Windows 3.1 and modified for Windows 95 *****************************************************************************/ { /*********************************************************************** Set the VRF-INS script "ratchet" ***********************************************************************/ vrf_ratchet = "8.0.5.0.0"; /* OSM Compliance */ { /* OS variables */ if (platform() == "nt") { prefix = "nt"; instver_name = "ntinstver"; install_name = "ntinstall"; } else { prefix = "w95"; instver_name = "w95instver"; install_name = "w95install"; } instver_prod = evaluate("instver_name"); install_prod = evaluate("install_name"); doit = execute("%installer_home%\%operating_system%.vrf"); } [ 'UNBOUND_VARIABLE: { required_version = product_version(instver_prod); 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."))); } ] /* end OSM */ if (doit) { /*********************************************************************** Bind path variables... ************************************************************************/ installing_scripts = nls("installing_scripts", "Installing %%product_label%% Scripts..."); installing_ocifiles = nls("installing_ocifiles", "Installing %%product_label%% Files..."); installing_ocisamples = nls("installing_ocisamples", "Installing %%product_label%% Sample Programs..."); modifying_config = nls("modifying_config", "Modifying Registry..."); registering = nls("registering","Registering %%product_label%%..."); /*********************************************************************** Return total size of files depending upon which options were selected for installation... ************************************************************************/ /*** The dependencies of OCI depend on which CD it is bundled with: The flag install_ott flag is TRUE if this is the EE CD ***/ install_ott = FALSE; { E_O8_W_NT = E_O8_W_NT; } [ 'UNBOUND_VARIABLE: E_O8_W_NT = "Oracle8 Enterprise Edition for Windows NT"; ] { bundle_name = bundle_name; } [ 'UNBOUND_VARIABLE: bundle_name = ""; ] /*** Check the bundle_name to see which CD we are on ***/ if(bundle_name == E_O8_W_NT) { install_ott = TRUE; return(sum(deinstl,ocifiles,ocisamples) + verify(w32rsf80) + verify(w32ott80)); } else return(sum(deinstl,ocifiles,ocisamples) + verify(w32rsf80)); } else { refresh_map_file = FALSE; return(0); } }