/* Copyright (c) Oracle Corporation 1992.  All Rights Reserved */
/*****************************************************************************
  NAME
    util70.ins - DOS V3 installation script for database utilities.

  DESCRIPTION
    This script performs the installation tasks for the ORACLE database
    utilities product.

  OWNER
    Tony Rodgers

  MODIFIED    DD-MMM-YY Reason
    trodgers  23-MAR-92 Created.
    trodgers  16-APR-92 Copied from CDROM for V7.
*****************************************************************************/
{
  if (doit)
  {
    install(dosrsf70);

    ui_product(product_label);

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

    ui_action( instantiate(installing_pme) );
    copy(pxe);

    ui_action( instantiate(installing_msbs) );
    if ( not( registered( "dosinstall" ) ) )
      copy(uiusmsg);
    copy(msg, nls_abbreviation);

    ui_action( instantiate(installing_resource) );
    copy(res);

    ui_action( instantiate(installing_init) );
    copy(init);

    ui_action( instantiate(installing_sql) );
    copy(sql);

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

    ui_action( instantiate(modifying_config) );
    modify("RDBMS70",rdbms70,ora_config);
    /* Add RDBMS_DFLT to config.ora for multi-version install */
    modify("RDBMS_DFLT","RDBMS70",ora_config);

    ui_action( instantiate(creating_stubs) );
    dos_stubify("RDBMS",pxe);

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

    reference(dosrsf70, product);
  }

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