home *** CD-ROM | disk | FTP | other *** search
Wrap
/* Copyright (c) Oracle Corporation 1992. All Rights Reserved */ /***************************************************************************** NAME plus31.vrf - V3.0.10.3.1 version analysis/product configuration script for Sql*Plus for Windows 3.1 DESCRIPTION This script checks dependencies and environment settings for the installation of Sql*Plus for Windows 3.1 OWNER Edan Kabatchnik MODIFIED DD-MMM-YY Reason LMurphy 08-SEP-94 Modified for Windows SQL*Plus 3.1.3.5.x LMurphy 23-MAY-94 Modified for Windows SQL*Plus 3.1.2.2.6 shall 04-FEB-93 Created from RSF 7 vrf file *****************************************************************************/ /***************************************************************************** Bind string variables & prompt strings... *****************************************************************************/ { { doit = execute("%installer_home%\windows.vrf"); } [ 'UNBOUND_VARIABLE: { required_version = product_version(windowsinstver); 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."))); } ] if (doit) { vrf_ratchet = "3.1.3.5.4A"; { set_plus31 = FALSE; plus31 = v7_translate("PLUS31"); if (not(exists(plus31))) signal('UNBOUND_ENVIRONMENT_VARIABLE); } [ 'OS_ERROR, 'INVALID_FILE_NAME, 'PERMISSION_DENIED, 'UNBOUND_ENVIRONMENT_VARIABLE: { plus31 = "%oracle_home%\PLUS31"; set_plus31 = TRUE; } ] { set_mshelp = FALSE; mshelp = v7_translate("MSHELP"); if (not(exists(mshelp))) signal('UNBOUND_ENVIRONMENT_VARIABLE); } [ 'OS_ERROR,'INVALID_FILE_NAME, 'PERMISSION_DENIED,'UNBOUND_ENVIRONMENT_VARIABLE: { mshelp = "%oracle_home%\MSHELP"; set_mshelp = TRUE; } ] { install_type = install_type; } [ 'UNBOUND_VARIABLE: install_type = "Custom Install"; ] if (install_type == "Custom Install") { newplus31 = choose_directory_dialog(nls("which_directory", "Where do you wish to install SQL*Plus?"), plus31); pathify(newplus31); if (plus31 != newplus31) set_plus31 = TRUE; plus31 = newplus31; } { set_sqlpath = FALSE; sqlpath = v7_translate("SQLPATH"); if (not(exists(sqlpath))) signal('UNBOUND_ENVIRONMENT_VARIABLE); } [ 'OS_ERROR, 'INVALID_FILE_NAME, 'PERMISSION_DENIED, 'UNBOUND_ENVIRONMENT_VARIABLE: { sqlpath = "%ORACLE_HOME%\dbs"; set_sqlpath = true; } ] installing_scripts = nls("installing_scripts", "Installing %%product_label%% Installation Scripts..."); installing_exec = nls("installing_exec", "Installing %%product_label%% Executable..."); installing_msbs = nls("installing_msbs", "Installing %%product_label%% Message Files..."); installing_sql = nls("installing_sql", "Installing %%product_label%% SQL Scripts..."); registering = nls("registering", "Registering %%product_label%%..."); prod_label = nls("prod_label", "Modifying %%product_label%% Environment Variables..."); installing_help = nls("installing_help", "Installing %%product_label%% Help Files..."); return(sum(msg,nls_abbreviation,sql,deinstl,exe,help) + verify(winrsf71)); } else refresh_map_file = FALSE; return(0); }