home *** CD-ROM | disk | FTP | other *** search
/ Oracle Video Server 3.0.3.1 / OVS_3031_NT.iso / win32 / install / win32.shd < prev    next >
Encoding:
Text File  |  1997-05-01  |  2.3 KB  |  73 lines

  1. /* Copyright (c) Oracle Corporation 1996.  All Rights Reserved */
  2. /*****************************************************************************
  3.   NAME
  4.     win32.shd - V3 Shutdown script for Windows 32 bit 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.   CREATED
  12.     Siddhartha Agarwal, July 10, 1996
  13.  
  14.   MODIFIED    DD-MMM-YY  Reason
  15.  
  16. *****************************************************************************/
  17.  
  18. {
  19.   {
  20.     if (not(empty(remind_list)))
  21.     {
  22.       remind_text = implode(remind_list,"%carriage_return%%carriage_return%");
  23.       remind_help_text = implode(remind_helps,
  24.                                  "%carriage_return%%carriage_return%");
  25.       if (empty(remind_helps))
  26.         information_dialog(remind_text, 'NO_CANCEL);
  27.       else
  28.         information_dialog(remind_text,remind_content,remind_help_text, 
  29.                            'NO_CANCEL);
  30.     }
  31.   }
  32.   [ 'UNBOUND_VARIABLE: continue(); ] /* 'remind' may not be bound */      
  33.  
  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.         reboot_text = "%reboot_text%%carriage_return%%carriage_return%%hint%";
  60.         reboot_hints = rest(reboot_hints);
  61.       }
  62.  
  63.       reboot_help_text = "%reboot_text%%carriage_return%%carriage_return%%reboot_help%";
  64.  
  65.       information_dialog(reboot_text,reboot_content,reboot_help_text,
  66.                          'NO_CANCEL);
  67.     }
  68.   }
  69.   [ 'UNBOUND_VARIABLE: continue(); ] /* 'reboot' may not be bound */  
  70. }
  71.  
  72.  
  73.