/*****************************************************************************
  NAME
    spx11.ins - NetWare V3 installation script for SQL*Net SPX.

  DESCRIPTION
    This script performs the installation tasks for NetWare SQL*Net SPX.

  OWNER
    Tim Kelley

  MODIFIED    DD-MMM-YY Reason
    psciarra  02-FEB-93 update 
    vokamura  19-NOV-92 update
    trodgers  31-JAN-92 Created.
    trodgers  27-FEB-92 Split client/server.
    tkelley   06-MAR-92 Copied from OS/2 spxs.ins
*****************************************************************************/
{
/*****************************************************************************
   Start main logic ...
*****************************************************************************/
  if (doit)
  {
    ui_product(product_label);

    ui_action(instantiate(net1_install_scripts));
    copy(deinstl);

    ui_action(instantiate(net1_install_nlms));
    copy(nlm);

/*****************************************************************************
   Set the listener name ...
*****************************************************************************/
    ui_action(instantiate(net1_modify_config));
    modify("ORACLE_SRVNAME","%spxname%","%server%\%ora_config%");

/*****************************************************************************
   Register the product ...
*****************************************************************************/
    ui_action(instantiate(net1_register_label));
    register(product);
  }

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