home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / glock20c.zip / INSTALL.DAT < prev    next >
Text File  |  1990-09-06  |  10KB  |  441 lines

  1. @DefineProject
  2.     @Name         = "Glockenspiel C++"             /* Product Textual Name:  */
  3.     @Version    = "2.0c"
  4.     @Subdir     = "\\"
  5.     @OutDrive     = C
  6.     @Group         = "EHPDS"
  7.     @Requires    @HardDisk
  8.     @Requires       1600000
  9. @EndProject
  10.  
  11. @if (@CPU < 286)
  12. @Display
  13.     @Name needs a 80286 processor at least to run.
  14.     (It runs in protected mode)
  15.     @Pause
  16.     @Abort
  17. @EndDisplay
  18. @Endif
  19.  
  20. @Display
  21.     @Cls
  22.  
  23.     This program will install @Name Version @Version 
  24.     on your system and verify the integrity of the 
  25.     distribution disk. You may press the [Esc] key at any 
  26.     time to abort the installation. INSTALL will ask you 
  27.     several questions about your computer configuration and then 
  28.     give you the option of installing only selected parts of 
  29.     @Name (such as the help system).
  30.  
  31.     Each question has a default answer. If the default answer is
  32.     correct, press the ENTER key in response to the question.
  33.     Otherwise, type an alternate answer and then press the
  34.     ENTER key.
  35.  
  36.     If you make a mistake while typing, press the BACKSPACE key
  37.     and then retype the answer.
  38.  
  39. @Pause
  40. @EndDisplay
  41.  
  42. @GetOption
  43.     @Cls
  44.     Select one of the following Install Options:
  45.  
  46.  
  47.  
  48.  
  49.  
  50.     Use Arrows to move up/down, and    ENTER to select option.
  51.  
  52.  INSTALL allows only one target drive to be selected per installation. A Full
  53.  Install will install all files associated with the selected options onto 
  54.  the target drive. If you require more control over the placement of files 
  55.  on your system use the partial install option and run install for each 
  56.  other target drive onto which you wish to install files.
  57.  
  58.  The Partial Install option allows any subset of @Name to be 
  59.  installed onto a specific drive on your system. You will need to use this
  60.  option if you want any portion of the package to be installed in an existing
  61.  directory on a drive other than the main target drive. We recommend you run
  62.  a  full  install  first  and  later  run  partial  installs  as  required. 
  63.  Alternatively  you may use the DOS COPY command to copy selected files from 
  64.  the full installation to the other drives on your system.
  65. @Option 1 = "Full Install"
  66. @Option 2 = "Partial Install"
  67. @EndOption
  68.  
  69.  
  70. @GetOutDrive
  71.     @Suppress A
  72.     @Suppress B
  73.     @Cls
  74.     @If ( 1 [= @Option )
  75.     Select disk drive on which to install @Name?
  76.     @Else
  77.     Select disk drive on which to install selected options.
  78.     @Endif
  79. @EndOutDrive
  80.  
  81. @If (2 [= @Option )
  82. @GetOption
  83.     @CheckBox
  84.     @Cls
  85.     Now indicate which portions of the package you wish to
  86.     install.
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.     Use Arrows to move up/down, SPACE to select/unselect and
  99.     ENTER to proceed.
  100.  
  101.     @Option 101 = "Glockenspiel C++"
  102.     @Option 102 = "Freestore class "
  103. @EndOption
  104. @Endif
  105.  
  106. @If ( 101 [= @Option || 102 [= @Option || 1 [= @Option )
  107. /* */
  108. @Else
  109. @Display
  110.     @Cls
  111.     No Options Selected !!!!
  112.     @Pause
  113.     @Abort
  114. @EndDisplay
  115. @Endif
  116.  
  117. @If ( 2 [= @Option )
  118. @GetOption
  119.     @CheckBox
  120.     @Cls
  121.     Now indicate which portions of the package to install on @OutDrive:
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.     Use Arrows to move up/down, SPACE to select/unselect and
  138.     ENTER to proceed.
  139.     @If ( 101 [= @Option )
  140.     @Option 201 = "Compiler Binaries"
  141.     @Option 203 = "Libraries 80x87 (Math)"
  142.     @Option 204 = "Libraries Emulation (Math)"
  143.     @Option 206 = "PWB C++ Support Files"
  144.     @Endif
  145.     @Option 202 = "Include Files"
  146.     @Option 205 = "Quick Help Database Files"
  147.     @If ( 102 [= @Option )
  148.     @Option 207 = "Windows DLL for Freestore"
  149.     @Option 208 = "Freestore Sources"
  150.     @Option 209 = "Freestore Libraries"
  151.     @Endif
  152.     @Option 210 = "Miscelaneous ReadMe files"
  153. @EndOption
  154. @Endif
  155.  
  156. @If ( 201 [= @Option     || 
  157.     202 [= @Option     ||
  158.     203 [= @Option  ||
  159.     204 [= @Option  ||
  160.     205 [= @Option  ||
  161.     206 [= @Option  ||
  162.     207 [= @Option  ||
  163.     208 [= @Option  ||
  164.     209 [= @Option  ||
  165.     1   [= @Option
  166.      )
  167. @Else
  168. @Display
  169.     @Cls
  170.     No Options Selected !!!!
  171.     @Pause
  172.     @Abort
  173. @EndDisplay
  174. @Endif
  175.  
  176. @DefineVars
  177.     @Dir @RootDir = "\\cxx20"
  178.     @Dir @BinDir = "\\cxx20\\binp"
  179.     @Dir @LibDir = "\\cxx20\\lib"
  180.     @Dir @IncDir = "\\cxx20\\include"
  181.     @Dir @HlpDir = "\\help"
  182.     @Dir @PwbDir = "\\init"
  183.     @Dir @DLLDir = "\\os2\\dll"
  184.     @Dir @SrcDir = "\\cxx20\\source\\freestor.os2"
  185. @EndVars
  186.  
  187.  
  188. @If ( 1 [= @Option || 201 [= @Option || 202 [= @Option || 203 [= @Option ||
  189.     204 [= @Option || 208 [= @Option || 209 [= @Option || 210 [= @Option )
  190. @GetSubDir @RootDir
  191.     @Cls
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.     Please enter the top level directory of which you wish
  199.     to install C++
  200.     @Default = "\\CXX20"
  201.     @Prompt = "Enter the Subdirectory"
  202. @EndSubDir
  203. @Endif
  204.  
  205. @If ( 1 [= @Option || 201 [= @Option )
  206. @GetSubDir @BinDir
  207.     @Cls
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.     Enter the subdirectory where you want the binaries,
  215.     e.g. compiler etc. to be installed.
  216.     @Default = "@RootDir\\binp"
  217.     @Prompt = "Enter the Subdirectory"
  218. @EndSubDir
  219. @Endif
  220.  
  221. @If ( 1 [= @Option || 202 [= @Option )
  222. @GetSubDir @IncDir
  223.     @Cls
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.     Enter the subdirectory where you want the include files
  231.     (*.hxx) to be installed.
  232.     @Default = "@RootDir\\include"
  233.     @Prompt = "Enter the Subdirectory"
  234. @EndSubDir
  235. @Endif
  236.  
  237. @if ( 1 [= @Option || 203 [= @Option || 204 [= @Option || 209 [= @Option )
  238. @GetSubDir @LibDir
  239.     @Cls
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.     Enter the subdirectory where you want the selected
  247.     libraries to be installed
  248.     @Default = "@RootDir\\lib"
  249.     @Prompt = "Enter the Subdirectory"
  250. @EndSubDir
  251. @Endif
  252.  
  253. @if ( 1 [= @Option || 207 [= @Option )
  254. @GetSubDir @DLLDir
  255.     @Cls
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.     Enter the subdirectory where you want the FreeStore DLL
  263.     to be installed to
  264.     @Default = "\\os2\\dll"
  265.     @Prompt = "Enter the Subdirectory"
  266. @EndSubDir
  267. @Endif
  268.  
  269. @if ( 1 [= @Option || 205 [= @Option )
  270. @GetSubDir @HlpDir
  271.     @Cls
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.     Enter the subdirectory where you want the Quick Help files 
  279.     to be installed.
  280.     @Default = "\\help"
  281.     @Prompt = "Enter the Subdirectory"
  282. @EndSubDir
  283. @Endif
  284.  
  285. @if ( 1 [= @Option || 206 [= @Option )
  286. @GetSubDir @PwbDir
  287.     @Cls
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.     Enter the subdirectory for the PWB Support files to be 
  295.     installed.
  296.     @Default = "\\init"
  297.     @Prompt = "Enter the Subdirectory"
  298. @EndSubDir
  299. @Endif
  300.  
  301. @if ( 1 [= @Option || 208 [= @Option )
  302. @GetSubDir @SrcDir
  303.     @Cls
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.     Enter the subdirectory for the FreeStore Source Support files 
  311.     to be installed.
  312.     @Default = "@RootDir\\source\\FreeStor.os2"
  313.     @Prompt = "Enter the Subdirectory"
  314. @EndSubDir
  315. @Endif
  316.  
  317. @SetAutoexec
  318.     @ScreenProto
  319.     @If ( 1 [= @Option )
  320.     @Path = "@OutDrive:@BinDir;@OutDrive:@DLLDir"
  321.     @Elseif ( 207 [= @Option && 201 [= @Option )
  322.     @Path = "@OutDrive:@BinDir;@OutDrive:@DLLDir"
  323.     @ElseIf ( 207 [= @Option )
  324.     @Path = "@OutDrive:@DLLDir"
  325.     @ElseIf ( 210 [= @Option )
  326.     @Path = "@OutDrive:@BinDir"
  327.     @Endif
  328.     @if ( 1 [= @Option || 203 [= @Option || 204 [= @Option || 209 [= @Option )
  329.     @Verbatim "set LIB=%LIB%;@OutDrive:@LibDir;"
  330.     @Endif
  331.     @If ( 1 [= @Option || 202 [= @Option )
  332.     @Verbatim "set INCLUDE=%INCLUDE%;@OutDrive:@IncDir"
  333.     @Endif
  334.     @if ( 1 [= @Option || 205 [= @Option )
  335.     @Verbatim "set HELPFILES=%HELPFILES%;@OutDrive:@HlpDir"
  336.     @Endif
  337.     @If ( 1 [= @Option || 206 [= @Option )
  338.     @Verbatim "set INIT=%INIT%;@OutDrive:@PwbDir"
  339.     @Endif
  340. @EndAutoexec
  341.  
  342. @DefineDisk
  343.     @Label = "Disk 1 of 1"
  344.  
  345.     @BeginLib CPP.LIF
  346.     @If ( 1 [= @Option || 201 [= @Option )
  347.          @File       GCPP.EXE @out @BinDir\\*.*
  348.          @File        FXX.EXE @out @BinDir\\*.*
  349.          @File       CFXX.EXE @out @BinDir\\*.*
  350.          @File       CCXX.EXE @out @BinDir\\*.*
  351.          @File        MXX.EXE @out @BinDir\\*.*
  352.     @Endif
  353.     @If ( 1 [= @Option || 202 [= @Option )
  354.          @File    COMPLEX.HXX @out @IncDir\\*.*
  355.          @File    FSTREAM.HXX @out @IncDir\\*.*
  356.          @File   STDIOSTR.HXX @out @IncDir\\*.*
  357.         @File    FREESTOR.HXX @out @IncDir\\*.*
  358.          @File     STREAM.HXX @out @IncDir\\*.*
  359.          @File   IOSTREAM.HXX @out @IncDir\\*.*
  360.          @File        NEW.HXX @out @IncDir\\*.*
  361.          @File    IOMANIP.HXX @out @IncDir\\*.*
  362.          @File    GENERIC.HXX @out @IncDir\\*.*
  363.          @File    STRSTRM.HXX @out @IncDir\\*.*
  364.          @File   CXXTYPES.HXX @out @IncDir\sys\*.*
  365.     @Endif
  366.     @If ( 1 [= @Option || 204 [= @Option )
  367.          @File     LCXXPE.LIB @out @LibDir\\*.* 
  368.          @File     LCXXCE.LIB @out @LibDir\\*.* 
  369.     @Endif
  370.     @If ( 1 [= @Option || 203 [= @Option )
  371.          @File     LCXXP7.LIB @out @LibDir\\*.* 
  372.          @File     LCXXC7.LIB @out @LibDir\\*.* 
  373.     @Endif
  374.     @If ( 1 [= @Option || (205 [= @Option && 101 [= @Option) )
  375.          @File     CXXSYN.HLP @out @HlpDir\\*.* 
  376.     @Endif
  377.     @If ( 1 [= @Option || 206 [= @Option )
  378.          @File      TOOLS.INI @out @PwbDir\\*.* 
  379.          @File        CXX.DLL @out @PwbDir\\*.* 
  380.     @Endif
  381.     @If ( 1 [= @Option || 210 [= @Option )
  382.         @File     ERRORS.MSG @out @RootDir\\*.*
  383.         @File     README.20C @out @RootDir\\*.*
  384.     @Endif
  385.     @EndLib
  386.  
  387.     @BeginLib FREESTOR.LIF
  388.     @If ( 1 [= @Option || 208 [= @Option )
  389.         @File   FREESTOR.MAK @out @SrcDir\\*.* 
  390.         @File   FREESTOR.DEF @out @SrcDir\\*.* 
  391.     @Endif
  392.     @If ( 1 [= @Option || 207 [= @Option )
  393.         @File   GLFS20DP.DLL @out @DLLDir\\*.* 
  394.     @Endif
  395.     @If ( 1 [= @Option || 209 [= @Option )
  396.         @File          *.LIB @out @LibDir\\*.* 
  397.     @Endif
  398.     @If ( 1 [= @Option || ( 102 [= @Option && 205 [= @Option ))
  399.         @File   FREESTOR.HLP @out @HlpDir\\*.* 
  400.     @Endif
  401.     @If ( 1 [= @Option || 208 [= @Option )
  402.         @File          *.CXX @out @SrcDir\\*.* 
  403.         @File           *.asm @out @SrcDir\\*.* 
  404.         @File          *.HXX @out @SrcDir\\*.* 
  405.     @Endif
  406.     @EndLib
  407. @EndDisk
  408.  
  409. @Finish
  410.     @Cls
  411.     @Name is now installed.
  412.     @ChDir "\\"
  413.  
  414.     Before running the Compiler you will need to edit your config.sys
  415.     file as follows
  416.     @If ( 1 [= @Option || 210 [= @Option)
  417.      Add @OutDrive:@BinDir to your PATH environment variable.
  418.     @EndIf
  419.     @If ( 1 [= @Option || 207 [= @Option)
  420.      Add @OutDrive:@DLLDir to your LIBPATH
  421.     @EndIf
  422.     @if ( 1 [= @Option || 203 [= @Option || 204 [= @Option || 209 [= @Option )
  423.      Add @OutDrive:@LibDir to your LIB environment variable.
  424.     @Endif
  425.     @If ( 1 [= @Option || 202 [= @Option )
  426.      Add @OutDrive:@IncDir to your INCLUDE environment variable.
  427.     @Endif
  428.     @if ( 1 [= @Option || 205 [= @Option )
  429.      To enable the HELP system add the line.
  430.         set HELPFILES=%HELPFILES%;@OutDrive:@HlpDir
  431.     @Endif
  432.     @If ( 1 [= @Option || 206 [= @Option )
  433.      To enable the PWB options system add the line.
  434.         set INIT=%INIT%;@OutDrive:@PwbDir
  435.     @Endif
  436.     @Pause
  437. @EndFinish
  438.  
  439. /* end-of-file */
  440.  
  441.