/* Copyright (c) Oracle Corporation 1992.  All Rights Reserved */
/*****************************************************************************
  NAME
    util70.ins - NetWare V3 installation script for the ORACLE version 7 utils

  DESCRIPTION
    This script installs the ORACLE version 7 utils by copying the appropriate
    files.

  OWNER
    Tony Rodgers

  MODIFIED    DD-MMM-YY Reason
    kschrait  02/26/93 - Created
*****************************************************************************/
{
/*****************************************************************************
  Start processing ...
*****************************************************************************/
  if (doit)
  {
    ui_product(product_label);

    ui_action( instantiate(installing_scripts) );
    copy(deinstl);

    ui_action( instantiate(installing_nlms) );
    copy(nlm);

    ui_action( instantiate(installing_msbs) );
    copy(msg,nls_abbreviation);

    ui_action( instantiate(installing_res) );
    copy(res);

    ui_action( instantiate(installing_demo) );
    copy(demo);

    ui_action( instantiate(modifying_server_config) );
    modify("RDBMS70",RDBMS70,"%server%/%ora_config%","=");
    modify("API",RDBMS70,"%server%/%ora_config%","=");
    modify("UTILITY_MSG",RDBMS70,"%server%/%ora_config%","=");
    modify("DBA_AUTHORIZATION","BYPASS","%server%/%ora_config%","=");
    modify("NLS_LANG",nls_language,"%server%/%ora_config%","=");

    ui_action( instantiate(registering) );
    register(product);
  }

  if (not(internally_called))
    reference(product);
}
