home *** CD-ROM | disk | FTP | other *** search
/ Winzipper / Winzipper_ISO.iso / programming / oracle7 7.2 / DOC / HLPDOC72 / HLPDOC72.VRF < prev    next >
Encoding:
Text File  |  1995-10-16  |  3.1 KB  |  96 lines

  1. /* Copyright (c) Oracle Corporation 1994.  All Rights Reserved */
  2.  
  3. /*****************************************************************************
  4.   NAME
  5.     hlpdoc72.vrf - V3 analysis/product configuration script for the
  6.           Windows 95 hlpdoc72 product
  7.  
  8.   DESCRIPTION
  9.     This script checks dependencies and environment settings for the
  10.     installation of the Windows 95 hlpdoc72 product
  11.     
  12.   OWNER
  13.     Bryan Sabol
  14.  
  15.   MODIFIED    MM/DD/YY    Reason
  16.     LMurphy 08/31/95    Removed parent hierarchy
  17.     LMurphy 06/01/95    Modified for use with Windows 95 doc10
  18.     LMurphy 01/24/94        Modified for use with On-Line Help
  19.       bsabol    03/21/94    Created
  20. *****************************************************************************/
  21.  
  22. {
  23.     { doit = execute("%installer_home%\win95.vrf"); }
  24.     [
  25.     'UNBOUND_VARIABLE:
  26.     {
  27.         required_version = product_version(w95instver);
  28.         temp = explode(required_version,".");
  29.         required_version = implode(list(first(temp),first(rest(temp)),
  30.                                         first(rest(rest(temp))),
  31.                                         first(rest(rest(rest(temp))))),".");
  32.         signal('failure,instantiate(nls("instver_too_early1","The version of the Installer currently running is %%installer_version%%. The installation you have chosen requires version %%required_version%% or later. Please run version %%required_version%% or later in order to perform this installation.")));
  33.     }
  34.     ]
  35.  
  36.     if (doit)
  37.     {
  38.  
  39.         /*****************************
  40.         Set the VRF-INS script ratchet
  41.         ******************************/
  42.  
  43.         vrf_ratchet = "7.2.2.3.1";
  44.  
  45.         {
  46.           set_mshelp = FALSE;
  47.           mshelp = v7_translate("MSHELP");
  48.         
  49.           if (not(exists(mshelp)))
  50.             signal('UNBOUND_ENVIRONMENT_VARIABLE);
  51.         }
  52.           [ 'OS_ERROR,'INVALID_FILE_NAME,
  53.             'PERMISSION_DENIED,'UNBOUND_ENVIRONMENT_VARIABLE:
  54.             {
  55.             mshelp = "%oracle_home%\MSHELP";
  56.             set_mshelp = TRUE;
  57.             }
  58.           ]
  59.  
  60.  
  61.         permit_retry_operations = FALSE;
  62.  
  63.         { install_type = install_type; }
  64.         ['UNBOUND_VARIABLE: install_type = nls("custom_install","Custom Install");]
  65.  
  66.         { bundle_name = bundle_name; }
  67.         ['UNBOUND_VARIABLE: bundle_name = "";]
  68.  
  69.         { oracle_group_name = oracle_group_name; }
  70.         ['UNBOUND_VARIABLE: oracle_group_name = nls("oracle_group_name","Oracle for Windows 95");] 
  71.  
  72.  
  73.                 po7_hlp_name = nls("po7_hlp_name","Personal Oracle7 Help");
  74.                 orcl7_msg_name = nls("orcl_msg_name","Oracle7 Error Messages");
  75.                 cust_support_name = nls("cust_support_name","Customer Support");
  76.         installing_scripts = nls("installing_scripts",
  77.                              "Installing %%product_label%% Scripts...");
  78.         installing_files = nls("installing_files",
  79.                              "Installing %%product_label%% Files...");
  80.         modifying_config = nls("modifying_config",
  81.                                "Modifying Windows 95 Registry...");
  82.         registering = nls("registering","Registering %%product_label%%...");
  83.  
  84.         /***************************
  85.         Return appropriate file size
  86.         ****************************/
  87.  
  88.         return(sum(deinst, doc));
  89.     }
  90.     else
  91.     {
  92.         refresh_map_file = FALSE;
  93.         return(0);
  94.     }
  95. }
  96.