home *** CD-ROM | disk | FTP | other *** search
/ Oracle Video Server 3.0.3.1 / OVS_3031_NT.iso / win32 / sqlnet / net23 / tcp / tcp23.dei < prev    next >
Encoding:
Text File  |  1997-10-06  |  2.8 KB  |  73 lines

  1. /* Copyright (c) Oracle Corporation 1992, 1996.  All Rights Reserved */
  2. /*****************************************************************************
  3.   NAME
  4.    tcp23.dei
  5.  
  6.   DESCRIPTION
  7.     This script removes the Windows 32 TCP/IP files and un-registers the
  8.     product.
  9.  
  10.   OWNER
  11.     Tony Rodgers
  12.  
  13.   MODIFIED     DD-MMM-YY  Reason
  14.   mmckerle     03-OCT-97  Removed deinstallation of Client and Server since adapters no longer force install these
  15.   mhclau       22-SEP-97  Remove NLS resources.
  16.   dstiefel     22-FEB-96  Merge NT/95 for 2.3.2
  17.   dlau         07-AUG-95  Modified for SQLNET 2.2
  18.   eflores      06-APR-94  Modified for Windows NT.
  19.   zkhan        11-AUG-93  Modified for SQLNET and for using V3.0.9.3.2 or later
  20.                            of the installer.
  21.   trodgers     28-JAN-92  Created.
  22. ******************************************************************************/
  23. {
  24.   {
  25.   /* OS variables */
  26.    if (platform() == "nt")
  27.          prefix = "nt";
  28.    else
  29.          prefix = "w95";
  30.  
  31.   /* Check Product Dependencies */
  32.    doit = execute("%installer_home%\%operating_system%.dei");
  33.   }
  34.    [
  35.     'UNBOUND_VARIABLE: signal('failure,instantiate(nls("instver_too_early2", "The version of the Installer currently running is %%installer_version%%. The product(s) you have chosen to deinstall were installed with a later version of the Installer. Please use a later version of the Installer to deinstall these product(s).")));
  36.    ]
  37.  
  38.   if (doit)
  39.    {
  40.     net2_deinstall_registry = nls("net2_deinstall_registry","Unregistering %%registry_label%%...");
  41.     net2_deinstall_script = nls("net2_deinstall_script","Deinstalling %%registry_label%% Installation Scripts...");
  42.     net2_deinstall_dll = nls("net2_deinstall_dll","Deinstalling %%registry_label%% DLL's...");
  43.  
  44.     /* Unregister Product */
  45.     ui_product(registry_label);
  46.  
  47.     /* Remove Files */
  48.     ui_action(instantiate(net2_deinstall_dll));
  49.  
  50.     app_prompt = instantiate( nls("app_prompt","Stop all Oracle applications that are using %%registry_label%% before continuing with deinstallation."));
  51.     app_content = nls("app_content","Stop Applications");
  52.     app_help = instantiate(nls("app_help","%%registry_label%% is being used. Stop all Oracle applications that are using %%registry_label%% before continuing with deinstallation."));
  53.  
  54.     { remove(dll); }
  55.     ['PERMISSION_DENIED:{
  56.             information_dialog(app_prompt, app_content,
  57.             app_help);
  58.             signal('FAILURE,instantiate("Deinstallation terminated.  Please stop all Oracle applications that are using %%registry_label%%."));
  59.             }
  60.     ]
  61.  
  62.     ui_action(instantiate(net2_deinstall_registry));
  63.     unregister(current_registry);
  64.  
  65.     ui_action(instantiate(net2_deinstall_script));
  66.     remove(deinstl, nls_abbreviation);
  67.   }
  68. }
  69.  
  70.  
  71.  
  72.  
  73.