home *** CD-ROM | disk | FTP | other *** search
/ Oracle Video Server 3.0.3.1 / OVS_3031_NT.iso / win32 / sqlnet / net23 / tcp / tcp23.vrf < prev    next >
Encoding:
Text File  |  1997-10-17  |  3.5 KB  |  94 lines

  1. /* Copyright (c) Oracle Corporation 1994, 1996.  All Rights Reserved */
  2. /*****************************************************************************
  3.   NAME
  4.     tcp23.vrf
  5.  
  6.   DESCRIPTION
  7.     This script checks dependencies and environment settings for installation
  8.     of the Windows 32 TCP/IP product.
  9.  
  10.   OWNER
  11.     Tony Rodgers
  12.  
  13.   MODIFIED    DD-MMM-YY  Reason
  14.     rxfernan  10-17-97   OSM Compliance
  15.     mmckerle  08-20-97   Eliminated force installation of SQL*Net Client and/or Server
  16.     dstiefel  22-FEB-96  Merge NT/95 for 2.3.2
  17.     dlau      07-AUG-95  Modified for SQLNET 2.2
  18.     eflores   06-APR-94  Modified for Windows NT.
  19.     zkhan     11-AUG-93  Modified for SQLNET and for using V3.0.9.3.2 or later
  20.                 of the installer.
  21.     trodgers  10-APR-92  Created.
  22. *****************************************************************************/
  23. {
  24.     /* OS variables */
  25.    if (platform() == "nt")
  26.    {
  27.         prefix = "nt";
  28.         instver_name = "ntinstver";
  29.         install_name = "ntinstall";
  30.    }
  31.    else
  32.    {
  33.         prefix = "w95";
  34.         instver_name = "w95instver";
  35.         install_name = "w95install";
  36.    }
  37.  
  38.    instver_prod = evaluate(instver_name);
  39.    install_prod = evaluate(install_name);
  40.  
  41.    {
  42.       doit = execute("%installer_home%\%operating_system%.vrf");
  43.    }
  44.    [
  45.       'UNBOUND_VARIABLE:
  46.       {
  47.          required_version = product_version(instver_prod);
  48.          temp = explode(required_version,".");
  49.          required_version = implode(list(first(temp),first(rest(temp)),
  50.                                         first(rest(rest(temp))),
  51.                                         first(rest(rest(rest(temp))))),".");
  52.          signal('failure,instantiate(nls("instver_too_early1","The version of
  53. the Installer currently running is %%installer_version%%. The installation you
  54. have chosen requires version %%required_version%% or later. Please run version
  55. %%required_version%% or later in order to perform this installation.")));
  56.       }
  57.    ]
  58.  
  59.    if (doit)
  60.    {
  61.       vrf_ratchet = "2.3.4.0.0";
  62.  
  63.       /* Defined strings for install UI */
  64.       net2_register = nls("net2_register","Registering %%product_label%%...");
  65.       net2_install_script = nls("net2_install_script","Installing %%product_label%% Installation Scripts...");
  66.       net2_install_message = nls("net2_install_message","Installing %%product_label%% Message Files...");
  67.       net2_install_sample = nls("net2_install_sample","Installing %%product_label%% Sample Files...");
  68.       net2_install_dll = nls("net2_install_dll","Installing %%product_label%% DLL's...");
  69.       net2_adapter_prompt = nls("net2_adapter_prompt","Which Oracle network product are you installing?");
  70.       net2_adapter_content = nls("net2_adapter_content","Adapter");
  71.       net2_adapter_help = nls("net2_adapter_help","You need to install SQL*Net Client or SQL*Net Server in order to use an Oracle Protocol Adapter.");
  72.  
  73.       app_prompt = nls("app_prompt","Stop all Oracle applications that are using %%product_label%% before continuing with this installation.");
  74.       app_content = nls("app_content","Stop Applications");
  75.       app_help = nls("app_help","%%product_label%% is being used. Stop all Oracle applications that are using %%product_label%% before continuing with this installation.");
  76.  
  77.  
  78.  
  79.       /* Variables and logic */
  80.       total = 0;
  81.  
  82.       total = sum(dll,deinstl);
  83.       install_dependent = FALSE;
  84.       return(total);
  85.  
  86.  
  87.    }
  88.    else
  89.    {
  90.       refresh_map_file = FALSE;
  91.       return(0);
  92.    }
  93. }
  94.