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

  1. /* Copyright (c) Oracle Corporation 1992, 1996.  All Rights Reserved */
  2. /*****************************************************************************
  3.   NAME
  4.     tcp23.ins
  5.  
  6.   DESCRIPTION
  7.     This script performs the installation tasks for the Windows 32 TCP/IP
  8.     product.
  9.  
  10.   OWNER
  11.     Tony Rodgers
  12.  
  13.   MODIFIED    DD-MMM-YY  Reason
  14.     mhclau    22-SEP-97  Copy NLS resource.
  15.     mmckerle  08-20-97   Eliminated force installation of SQL*Net Client and/or Server
  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  10-APR-92  Created.
  22. *****************************************************************************/
  23. {
  24.   if (doit)
  25.   {
  26.     ins_ratchet = "2.3.4.0.0";
  27.  
  28.     execute("%installer_home%\%operating_system%.ins");
  29.  
  30.     ui_product(product_label);
  31.  
  32.     ui_action(instantiate(net2_install_script));
  33.     copy(deinstl, nls_abbreviation);
  34.  
  35.     ui_action(instantiate(net2_install_dll));
  36.     {
  37.       copy(dll);
  38.  
  39.       if( platform() == "nt")
  40.       {
  41.          if (doSmartStart)
  42.             ss_decrypt_file(product_key,
  43.                             "%s_location%v7/NET23/TCP/NTTNT.DLL",
  44.                             "%oracle_home%\bin\NTTNT.DLL");
  45.       } /* NT */
  46.     }
  47.     ['WRITE_ERROR:{
  48.             information_dialog(instantiate(app_prompt),
  49.                                app_content,
  50.                                instantiate(app_help));
  51.             signal('FAILURE,instantiate("Installation terminated.  Please stop all Oracle applications that are using %%product_label%%."));
  52.             }
  53.     ]
  54.  
  55.     /* Register Product and Dependencies */
  56.  
  57.     ui_action(instantiate(net2_register));
  58.     register(current_product);
  59.  
  60.     if(member(selected_products,current_product))
  61.       reference(current_product);
  62.  
  63.         /* OCSM Compliance */
  64.         { Win32_register_OCSM_product(); }
  65.         [ 'default: win32_ocsm_register_product(); ]
  66.  
  67.         /* Register the groups in the map file and specify which should get
  68.            copied over under the three OCSM installation modes. */
  69.         win32_register_ocsm_group(deinstl,   nls_abbreviation,  'MAXMODE);
  70.         win32_register_ocsm_group(dll,                          'MAXMODE);
  71.  
  72.         win32_register_ocsm_group(deinstl,   nls_abbreviation,  'MEDMODE);
  73.         win32_register_ocsm_group(dll,                          'MEDMODE);
  74.  
  75.         win32_register_ocsm_group(deinstl,   nls_abbreviation,  'MINMODE);
  76.         win32_register_ocsm_group(dll,                          'MINMODE);
  77.  
  78.         /* End OCSM Compliance */
  79.   }
  80. }
  81.