/* Copyright (c) Oracle Corporation 1992, 1993.  All Rights Reserved */
/*****************************************************************************
  NAME
    spxs11.ins - OS/2 V3 installation script for SQL*Net SPX.

  DESCRIPTION
    This script performs the installation tasks for the OS/2 SQL*Net SPX
    product (client version).

  VERSION
    1.1.1.6

  OWNER
    Tony Rodgers

  MODIFIED    DD-MMM-YY Reason
    trodgers  10-APR-92 Created.
    Calvin    21-FEB-92 Modified for standalone install.
*****************************************************************************/
{
/*****************************************************************************
   Start main logic ...
*****************************************************************************/
  if (doit)
  {
    if (alt_remove)
    {
	ui_action(instantiate(net1_reinstall_prompt06));
	unreference(alt_registry);
	deinstall(alt_registry);
    }

    ui_product(product_label);

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

    ui_action(instantiate(net1_install_dlls));
    copy(dll);

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

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

  }
}
