home *** CD-ROM | disk | FTP | other *** search
/ Winzipper / Winzipper_ISO.iso / programming / oracle7 7.2 / INSTALL / WIN95.SHD < prev    next >
Encoding:
Text File  |  1995-09-29  |  2.5 KB  |  73 lines

  1. /* Copyright (c) Oracle Corporation 1993.  All Rights Reserved */
  2. /*****************************************************************************
  3.   NAME
  4.     win95.shd - V3 Shutdown script for Windows products.
  5.  
  6.   DESCRIPTION
  7.     This script performs shutdown functionality.  In particular, it scans
  8.     the remind list and displays a message reminding users to perform post-
  9.     installation actions.
  10.  
  11.   OWNER
  12.     Zakia Zerhouni
  13.  
  14.   MODIFIED    DD-MMM-YY  Reason
  15.     sagarwal  26-SEP-95  Added code to bring up rebooting information
  16.     sagarwal  11-JUL-95  Modified for Windows 95 from nt.shd.
  17.     zzerhoun  28-DEC-94  Added remind_list and remind_helps
  18.     zzerhoun  14-Jul-94  Created from windows.shd
  19. *****************************************************************************/
  20.  
  21. {
  22.   {
  23.     if (not(empty(remind_list)))
  24.     {
  25.       remind_text = implode(remind_list,"%carriage_return%%carriage_return%");
  26.       remind_help_text = implode(remind_helps,
  27.                                  "%carriage_return%%carriage_return%");
  28.       if (empty(remind_helps))
  29.         information_dialog(remind_text, 'NO_CANCEL);
  30.       else
  31.         information_dialog(remind_text,remind_content,remind_help_text, 'NO_CANCEL);
  32.     }
  33.   }[ 'UNBOUND_VARIABLE: continue(); ] /* 'remind' may not be bound */      
  34.   {  
  35.     if ( problem_reboot )
  36.       information_dialog(path_problem_prompt,
  37.                   path_problem_content,
  38.                  path_problem_help);
  39.  
  40.     if ( autoexec_reboot )
  41.       information_dialog(autoexec_changed_message,
  42.                          autoexec_changed_content,
  43.                          autoexec_changed_help);
  44.  
  45.     if ( not(empty(reboot)) || not(empty(reboot_hints)))
  46.     {
  47.       if (member(reboot,'config) || member(reboot,'autoexec))
  48.         reboot_text = reboot_prompt1;
  49.       else
  50.         reboot_text = reboot_prompt2;
  51.  
  52.       if (member(reboot,'config))
  53.         reboot_text = "%reboot_text%  CONFIG.SYS";
  54.       if (member(reboot,'autoexec))
  55.         reboot_text = "%reboot_text%  AUTOEXEC.BAT";
  56.       while (not(empty(reboot_hints)))
  57.       {
  58.         hint = first(reboot_hints);
  59.  
  60.         reboot_text = "%reboot_text%%carriage_return%%carriage_return%%hint%";
  61.  
  62.         reboot_hints = rest(reboot_hints);
  63.       }
  64.  
  65.       reboot_help_text = "%reboot_text%%carriage_return%%carriage_return%%reboot_help%";
  66.  
  67.       information_dialog(reboot_text,reboot_content,reboot_help_text,'NO_CANCEL);
  68.     }
  69.   }[ 'UNBOUND_VARIABLE: continue(); ] /* 'reboot' may not be bound */  
  70. }
  71.  
  72.  
  73.