home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1996 February / PCWK0296.iso / po7_win / install / user.pin < prev    next >
Text File  |  1995-01-11  |  1KB  |  40 lines

  1. /* Copyright (c) Oracle Corporation 1994.  All Rights Reserved */
  2.  
  3. /*****************************************************************************
  4.   NAME
  5.     user.pin - custom post-install script
  6.  
  7.   DESCRIPTION
  8.     This script is a post-install script for scripters' use
  9.  
  10.   MODIFIED      MM/DD/YY    Reason
  11.   zzerhoun      12/30/94    Remove user.pin after use
  12.   zzerhoun      12/28/94    Executes shut down script if not custom install
  13.   akelley       09/29/94    Added "In case of floppy" section from MINg's file
  14.   bsabol        08/17/94    Modified
  15.   bsabol        04/23/94    Created
  16. *****************************************************************************/
  17. {
  18.   if (user_action == 'install)
  19.   {
  20.     { install_type = install_type; }
  21.     ['UNBOUND_VARIABLE: install_type = "Custom Install";]
  22.  
  23.     { execute("%installer_home%\%operating_system%.pin");}
  24.     ['success:
  25.       {
  26.         if (install_type == "Custom Install")
  27.           signal('success,instantiate(installation_successful));
  28.         else 
  29.           information_dialog(instantiate(installation_successful),'NO_CANCEL);
  30.       }
  31.     ]
  32.  
  33.     if (install_type != "Custom Install")
  34.     { execute("%installer_home%\%operating_system%.shd");}
  35.     [ 'default: continue();]
  36.  
  37.     remove_file("%installer_home%\user.pin");
  38.   }
  39. }
  40.