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

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