home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
glock20c.zip
/
INSTALL.DAT
< prev
next >
Wrap
Text File
|
1990-09-06
|
10KB
|
441 lines
@DefineProject
@Name = "Glockenspiel C++" /* Product Textual Name: */
@Version = "2.0c"
@Subdir = "\\"
@OutDrive = C
@Group = "EHPDS"
@Requires @HardDisk
@Requires 1600000
@EndProject
@if (@CPU < 286)
@Display
@Name needs a 80286 processor at least to run.
(It runs in protected mode)
@Pause
@Abort
@EndDisplay
@Endif
@Display
@Cls
This program will install @Name Version @Version
on your system and verify the integrity of the
distribution disk. You may press the [Esc] key at any
time to abort the installation. INSTALL will ask you
several questions about your computer configuration and then
give you the option of installing only selected parts of
@Name (such as the help system).
Each question has a default answer. If the default answer is
correct, press the ENTER key in response to the question.
Otherwise, type an alternate answer and then press the
ENTER key.
If you make a mistake while typing, press the BACKSPACE key
and then retype the answer.
@Pause
@EndDisplay
@GetOption
@Cls
Select one of the following Install Options:
Use Arrows to move up/down, and ENTER to select option.
INSTALL allows only one target drive to be selected per installation. A Full
Install will install all files associated with the selected options onto
the target drive. If you require more control over the placement of files
on your system use the partial install option and run install for each
other target drive onto which you wish to install files.
The Partial Install option allows any subset of @Name to be
installed onto a specific drive on your system. You will need to use this
option if you want any portion of the package to be installed in an existing
directory on a drive other than the main target drive. We recommend you run
a full install first and later run partial installs as required.
Alternatively you may use the DOS COPY command to copy selected files from
the full installation to the other drives on your system.
@Option 1 = "Full Install"
@Option 2 = "Partial Install"
@EndOption
@GetOutDrive
@Suppress A
@Suppress B
@Cls
@If ( 1 [= @Option )
Select disk drive on which to install @Name?
@Else
Select disk drive on which to install selected options.
@Endif
@EndOutDrive
@If (2 [= @Option )
@GetOption
@CheckBox
@Cls
Now indicate which portions of the package you wish to
install.
Use Arrows to move up/down, SPACE to select/unselect and
ENTER to proceed.
@Option 101 = "Glockenspiel C++"
@Option 102 = "Freestore class "
@EndOption
@Endif
@If ( 101 [= @Option || 102 [= @Option || 1 [= @Option )
/* */
@Else
@Display
@Cls
No Options Selected !!!!
@Pause
@Abort
@EndDisplay
@Endif
@If ( 2 [= @Option )
@GetOption
@CheckBox
@Cls
Now indicate which portions of the package to install on @OutDrive:
Use Arrows to move up/down, SPACE to select/unselect and
ENTER to proceed.
@If ( 101 [= @Option )
@Option 201 = "Compiler Binaries"
@Option 203 = "Libraries 80x87 (Math)"
@Option 204 = "Libraries Emulation (Math)"
@Option 206 = "PWB C++ Support Files"
@Endif
@Option 202 = "Include Files"
@Option 205 = "Quick Help Database Files"
@If ( 102 [= @Option )
@Option 207 = "Windows DLL for Freestore"
@Option 208 = "Freestore Sources"
@Option 209 = "Freestore Libraries"
@Endif
@Option 210 = "Miscelaneous ReadMe files"
@EndOption
@Endif
@If ( 201 [= @Option ||
202 [= @Option ||
203 [= @Option ||
204 [= @Option ||
205 [= @Option ||
206 [= @Option ||
207 [= @Option ||
208 [= @Option ||
209 [= @Option ||
1 [= @Option
)
@Else
@Display
@Cls
No Options Selected !!!!
@Pause
@Abort
@EndDisplay
@Endif
@DefineVars
@Dir @RootDir = "\\cxx20"
@Dir @BinDir = "\\cxx20\\binp"
@Dir @LibDir = "\\cxx20\\lib"
@Dir @IncDir = "\\cxx20\\include"
@Dir @HlpDir = "\\help"
@Dir @PwbDir = "\\init"
@Dir @DLLDir = "\\os2\\dll"
@Dir @SrcDir = "\\cxx20\\source\\freestor.os2"
@EndVars
@If ( 1 [= @Option || 201 [= @Option || 202 [= @Option || 203 [= @Option ||
204 [= @Option || 208 [= @Option || 209 [= @Option || 210 [= @Option )
@GetSubDir @RootDir
@Cls
Please enter the top level directory of which you wish
to install C++
@Default = "\\CXX20"
@Prompt = "Enter the Subdirectory"
@EndSubDir
@Endif
@If ( 1 [= @Option || 201 [= @Option )
@GetSubDir @BinDir
@Cls
Enter the subdirectory where you want the binaries,
e.g. compiler etc. to be installed.
@Default = "@RootDir\\binp"
@Prompt = "Enter the Subdirectory"
@EndSubDir
@Endif
@If ( 1 [= @Option || 202 [= @Option )
@GetSubDir @IncDir
@Cls
Enter the subdirectory where you want the include files
(*.hxx) to be installed.
@Default = "@RootDir\\include"
@Prompt = "Enter the Subdirectory"
@EndSubDir
@Endif
@if ( 1 [= @Option || 203 [= @Option || 204 [= @Option || 209 [= @Option )
@GetSubDir @LibDir
@Cls
Enter the subdirectory where you want the selected
libraries to be installed
@Default = "@RootDir\\lib"
@Prompt = "Enter the Subdirectory"
@EndSubDir
@Endif
@if ( 1 [= @Option || 207 [= @Option )
@GetSubDir @DLLDir
@Cls
Enter the subdirectory where you want the FreeStore DLL
to be installed to
@Default = "\\os2\\dll"
@Prompt = "Enter the Subdirectory"
@EndSubDir
@Endif
@if ( 1 [= @Option || 205 [= @Option )
@GetSubDir @HlpDir
@Cls
Enter the subdirectory where you want the Quick Help files
to be installed.
@Default = "\\help"
@Prompt = "Enter the Subdirectory"
@EndSubDir
@Endif
@if ( 1 [= @Option || 206 [= @Option )
@GetSubDir @PwbDir
@Cls
Enter the subdirectory for the PWB Support files to be
installed.
@Default = "\\init"
@Prompt = "Enter the Subdirectory"
@EndSubDir
@Endif
@if ( 1 [= @Option || 208 [= @Option )
@GetSubDir @SrcDir
@Cls
Enter the subdirectory for the FreeStore Source Support files
to be installed.
@Default = "@RootDir\\source\\FreeStor.os2"
@Prompt = "Enter the Subdirectory"
@EndSubDir
@Endif
@SetAutoexec
@ScreenProto
@If ( 1 [= @Option )
@Path = "@OutDrive:@BinDir;@OutDrive:@DLLDir"
@Elseif ( 207 [= @Option && 201 [= @Option )
@Path = "@OutDrive:@BinDir;@OutDrive:@DLLDir"
@ElseIf ( 207 [= @Option )
@Path = "@OutDrive:@DLLDir"
@ElseIf ( 210 [= @Option )
@Path = "@OutDrive:@BinDir"
@Endif
@if ( 1 [= @Option || 203 [= @Option || 204 [= @Option || 209 [= @Option )
@Verbatim "set LIB=%LIB%;@OutDrive:@LibDir;"
@Endif
@If ( 1 [= @Option || 202 [= @Option )
@Verbatim "set INCLUDE=%INCLUDE%;@OutDrive:@IncDir"
@Endif
@if ( 1 [= @Option || 205 [= @Option )
@Verbatim "set HELPFILES=%HELPFILES%;@OutDrive:@HlpDir"
@Endif
@If ( 1 [= @Option || 206 [= @Option )
@Verbatim "set INIT=%INIT%;@OutDrive:@PwbDir"
@Endif
@EndAutoexec
@DefineDisk
@Label = "Disk 1 of 1"
@BeginLib CPP.LIF
@If ( 1 [= @Option || 201 [= @Option )
@File GCPP.EXE @out @BinDir\\*.*
@File FXX.EXE @out @BinDir\\*.*
@File CFXX.EXE @out @BinDir\\*.*
@File CCXX.EXE @out @BinDir\\*.*
@File MXX.EXE @out @BinDir\\*.*
@Endif
@If ( 1 [= @Option || 202 [= @Option )
@File COMPLEX.HXX @out @IncDir\\*.*
@File FSTREAM.HXX @out @IncDir\\*.*
@File STDIOSTR.HXX @out @IncDir\\*.*
@File FREESTOR.HXX @out @IncDir\\*.*
@File STREAM.HXX @out @IncDir\\*.*
@File IOSTREAM.HXX @out @IncDir\\*.*
@File NEW.HXX @out @IncDir\\*.*
@File IOMANIP.HXX @out @IncDir\\*.*
@File GENERIC.HXX @out @IncDir\\*.*
@File STRSTRM.HXX @out @IncDir\\*.*
@File CXXTYPES.HXX @out @IncDir\sys\*.*
@Endif
@If ( 1 [= @Option || 204 [= @Option )
@File LCXXPE.LIB @out @LibDir\\*.*
@File LCXXCE.LIB @out @LibDir\\*.*
@Endif
@If ( 1 [= @Option || 203 [= @Option )
@File LCXXP7.LIB @out @LibDir\\*.*
@File LCXXC7.LIB @out @LibDir\\*.*
@Endif
@If ( 1 [= @Option || (205 [= @Option && 101 [= @Option) )
@File CXXSYN.HLP @out @HlpDir\\*.*
@Endif
@If ( 1 [= @Option || 206 [= @Option )
@File TOOLS.INI @out @PwbDir\\*.*
@File CXX.DLL @out @PwbDir\\*.*
@Endif
@If ( 1 [= @Option || 210 [= @Option )
@File ERRORS.MSG @out @RootDir\\*.*
@File README.20C @out @RootDir\\*.*
@Endif
@EndLib
@BeginLib FREESTOR.LIF
@If ( 1 [= @Option || 208 [= @Option )
@File FREESTOR.MAK @out @SrcDir\\*.*
@File FREESTOR.DEF @out @SrcDir\\*.*
@Endif
@If ( 1 [= @Option || 207 [= @Option )
@File GLFS20DP.DLL @out @DLLDir\\*.*
@Endif
@If ( 1 [= @Option || 209 [= @Option )
@File *.LIB @out @LibDir\\*.*
@Endif
@If ( 1 [= @Option || ( 102 [= @Option && 205 [= @Option ))
@File FREESTOR.HLP @out @HlpDir\\*.*
@Endif
@If ( 1 [= @Option || 208 [= @Option )
@File *.CXX @out @SrcDir\\*.*
@File *.asm @out @SrcDir\\*.*
@File *.HXX @out @SrcDir\\*.*
@Endif
@EndLib
@EndDisk
@Finish
@Cls
@Name is now installed.
@ChDir "\\"
Before running the Compiler you will need to edit your config.sys
file as follows
@If ( 1 [= @Option || 210 [= @Option)
Add @OutDrive:@BinDir to your PATH environment variable.
@EndIf
@If ( 1 [= @Option || 207 [= @Option)
Add @OutDrive:@DLLDir to your LIBPATH
@EndIf
@if ( 1 [= @Option || 203 [= @Option || 204 [= @Option || 209 [= @Option )
Add @OutDrive:@LibDir to your LIB environment variable.
@Endif
@If ( 1 [= @Option || 202 [= @Option )
Add @OutDrive:@IncDir to your INCLUDE environment variable.
@Endif
@if ( 1 [= @Option || 205 [= @Option )
To enable the HELP system add the line.
set HELPFILES=%HELPFILES%;@OutDrive:@HlpDir
@Endif
@If ( 1 [= @Option || 206 [= @Option )
To enable the PWB options system add the line.
set INIT=%INIT%;@OutDrive:@PwbDir
@Endif
@Pause
@EndFinish
/* end-of-file */