home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 5 / 05.iso / a / a525 / 52.ddi / MIGRATE.DEI < prev    next >
Encoding:
Text File  |  1993-02-26  |  2.2 KB  |  61 lines

  1. /* Copyright (c) Oracle Corporation 1992.  All Rights Reserved */
  2. /*****************************************************************************
  3.   NAME
  4.     migrate.dei - V3 de-installation script for NetWare ORACLE migrate utility.
  5.  
  6.   DESCRIPTION
  7.     This script removes the NetWare ORACLE version 7 migrate utility and
  8.     un-registers the product.
  9.  
  10.   OWNER
  11.     Tony Rodgers
  12.  
  13.   MODIFIED    DD-MMM-YY Reason
  14.   kschrait    02/26/93 - Created
  15. *****************************************************************************/
  16. {
  17.  
  18. /****************************************************************************
  19.   Bind all variables here...
  20.  ****************************************************************************/
  21.  
  22.   registry       = registration("netwareinstall");
  23.   registry_label = registry_interface_label(registry);
  24.  
  25.   unregistering  = instantiate( nls("unregistering","Unregistering %%registry_label%%...") );
  26.   deinst_nlm     = instantiate( nls("deinst_nlm","Deinstalling %%registry_label%% NLMs...") );
  27.   deinst_msb     = instantiate( nls("deinst_msb","Deinstalling %%registry_label%% Message Files...") );
  28.   deinst_sql     = instantiate( nls("deinst_sql","Deinstalling %%registry_label%% SQL Scripts...") );
  29.   modifying_server_config = instantiate( nls("modifying_server_config",
  30.                                "Modifying %%server%%/%%ora_config%%...") ); 
  31.   deinst_script  = instantiate( nls("deinst_script","Deinstalling %%registry_label%% Installation Scripts...") );
  32.  
  33. /****************************************************************************
  34.   Proceed with deinstallation
  35.  ****************************************************************************/
  36.  
  37.   ui_product(registry_label);
  38.  
  39.   ui_action( unregistering );
  40.   unregister(registry);
  41.  
  42.   ui_action( deinst_nlm );
  43.   remove(nlm);
  44.  
  45.   ui_action( deinst_msb );
  46.   remove(msg);
  47.  
  48.   ui_action( deinst_sql );
  49.   remove(sql);
  50.  
  51.   if (not(registered("nwutil70")) && not(registered("nwrdbms70")))
  52.   {
  53.     ui_action( modifying_server_config );
  54.     modify("RDBMS70","","%server%/%ora_config%","=");
  55.     modify("DBA_AUTHORIZATION","","%server%/%ora_config%","=");
  56.   }
  57.  
  58.   ui_action( deinst_script );
  59.   remove(deinstl);
  60. }
  61.