home *** CD-ROM | disk | FTP | other *** search
/ Oracle Video Server 3.0.3.1 / OVS_3031_NT.iso / nt_x86 / pkg / prog.ins < prev    next >
Encoding:
Text File  |  1997-08-13  |  1.3 KB  |  49 lines

  1. /*****************************************************************************
  2.   Copyright (c) Oracle Corporation 1996.  All Rights Reserved
  3.  
  4.   NAME
  5.     prog.ins - Package installation script - single selection
  6.  
  7.   OWNER
  8.     David Tom
  9.  
  10.   MODIFIED    DD-MMM-YY  Reason
  11.     mmckerle     AUG-97  Modified for 7.3.4 production release of Prog/2000 package
  12.     dtom      21-AUG-95  Install all selected children products not just chosen
  13.                          product (may have been chosen in another package)
  14.                          Children installs must complete before parent.
  15.                          See installer bug 293928.
  16.     dtom      01-AUG-95  Created
  17. *****************************************************************************/
  18.  
  19. {
  20.   if (doit)
  21.   {
  22.     /*----Setup-------------------------------------------------------------*/
  23.  
  24.     ins_ratchet = "1.0.0.0.0";
  25.  
  26.     execute("%installer_home%\%operating_system%.ins");
  27.  
  28.     /*----Install selected products-----------------------------------------*/
  29.  
  30.     tmp_products = products;
  31.  
  32.     while (not(empty(tmp_products)))
  33.     {
  34.       prod = first(tmp_products);
  35.  
  36.       if (member(selected_products,prod))
  37.       {
  38.         install(prod);
  39.  
  40.         { reference(prod); }
  41.         [ 'UNREGISTERED_PRODUCT: continue();]
  42.       }
  43.  
  44.       tmp_products = rest(tmp_products);
  45.     }
  46.  
  47.   }
  48. }
  49.