home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Press 1997 July
/
Sezamfile97_1.iso
/
msdos
/
clipper
/
ct3p.a01
/
INSTALL.DAT
< prev
next >
Wrap
Text File
|
1993-12-15
|
10KB
|
339 lines
/****************************************************************/
/* INSTALL.DAT */
/* */
/* Copyright (c) 1992 Computer Associates International */
/* All Rights Reserved */
/* */
/* Last revision: 11/30/93 */
/****************************************************************/
@DefineProject
@Requires @HardDisk
@Name = "CA-Clipper Tools/ExoSpace"
@Version = "3.0p"
@OutDrive = C
@Subdir = "\\CATOOLS"
@EndProject
@DefineVars
@Integer @InDisk = 0 /* change for proper input disk type */
@Integer @Fails = 0
@Integer @Totsize = 0
@Integer @TotKB = 0
@Integer @Asize = 500
@Integer @Bsize = 200
@Integer @Csize = 200
@Integer @Dsize = 1600
/* Maxsize is the sum of A, B, C, and Dsize. Must be updated if any of those
are changed!!! */
@Integer @Maxsize = 2500
@Dir @Lib = "\\LIB"
@Dir @Obj = "\\OBJ"
@Dir @ExoBin = "\\CLIPPER5\\BIN"
@Dir @samples = "\\CTSOURCE\\SAMPLES"
@Dir @Ng = "\\NG"
@Qstring @NewLine = "\n"
@EndVars
@Display
@Cls
█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ CA-Clipper Tools/ExoSpace Installation
█ Computer █
█ Associates █ This program will install
█ International █ CA-Clipper Tools/ExoSpace on your computer
█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█ system and verify the integrity of the
▄▄▄▄▄▄▄▄▄ distribution disks. The basic steps in
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ the installation procedure are as follows:
■ Select target drive and directory
■ Select files you want to install
■ Install selected files
You will be prompted step by step through the procedure and, when
you are finished, CA-Clipper Tools/ExoSpace will be installed on
your hard disk. Press Esc at any time to stop the installation.
@Pause
@EndDisplay
DrivePick:
@GetOutDrive
@Suppress A
@Suppress B
@LocalWindow(11,36)
@Cls
█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ CA-Clipper Tools/ExoSpace Installation
█ Computer █
█ Associates █ Select Target Drive:
█ International █
█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
Use and to highlight a drive, and press ─┘ to select and continue.
Press Esc to exit.
@EndOutDrive
@GetSubdir
@LocalWindow(6,56)
@Cls
█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ CA-Clipper Tools/ExoSpace Installation
█ Computer █
█ Associates █ Select Target Directory
█ International █
█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
Type a directory name, and press ─┘ to continue. Press Esc to exit.
@EndSubdir
@GetSubdir @ExoBin
@LocalWindow(6,56)
@Cls
█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ CA-Clipper Tools/ExoSpace Installation
█ Computer █
█ Associates █ Select ExoSpace.EXE Directory
█ International █
█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
Type a directory name, and press ─┘ to continue. Press Esc to exit.
@EndSubdir
@GetOption
@LocalWindow(7,38)
@Cls
@Cls
█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ @Name Installation
█ Computer █
█ Associates █ Install the CA-Clipper Tools/ExoSpace files in
█ International █ the following directories?
█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ @Option 101 = " Yes "
@Option 102 = " No "
@Newline
ExoSpace.EXE => @ExoBin
Object Files => @Subdir\OBJ
Libraries => @Subdir\LIB
Samples => @Subdir\CTSOURCE\SAMPLES
Norton guide => \NG
Select 'Yes' to proceed with patch installation using directories
shown above. If you select 'No', you will be prompted for each
of the above directories.
@EndOption
@Lib = "@Subdir\\Lib"
@Obj = "@Subdir\\Obj"
@Samples = "@Subdir\\CTSOURCE\\SAMPLES"
@Ng = "\\NG"
@If ( ( 102 [= @Option ) || ( ! @Exists( "@OutDrive:@ExoBin\\EXOSPACE.EXE" ) ) )
GetExoBinPath:
@GetSubdir @ExoBin
@LocalWindow(9,48)
@Move(12,1)
Enter the path to the ExoSpace.EXE directory, then
press ─┘ to continue. Press Esc to exit.
@EndSubdir
@If ( ! @Exists( "@OutDrive:@ExoBin\\EXOSPACE.EXE" ) )
@Display
@Move( 12, ( 53 - @StrLen( "@OutDrive:@ExoBin" ) ) / 2, "@OutDrive:@ExoBin\\EXOSPACE.EXE (LINKER) NOT FOUND" )
@Move( 16, 10 )
@Pause
@EndDisplay
@Goto GetExoBinPath
@Endif
@Endif
@If ( ( 102 [= @Option ) || ( ! @Exists( "@OutDrive:@Lib\\CT.LIB" ) ) )
GetLibPath:
@GetSubdir @Lib
@LocalWindow(9,48)
@Move(12,1)
Enter the path to the CT.LIB directory, then
press ─┘ to continue. Press Esc to exit.
@EndSubdir
@If ( ! @Exists( "@OutDrive:@Lib\\CT.LIB" ) )
@Display
@Move( 12, ( 53 - @StrLen( "@OutDrive:@Lib" ) ) / 2, "@OutDrive:@Lib\\CT.LIB (LIBRARY) NOT FOUND" )
@Move( 16, 10 )
@Pause
@EndDisplay
@Goto GetLibPath
@Endif
@Endif
@If ( ( 102 [= @Option ) || ( ! @Exists( "@OutDrive:@Obj\\CTUS.OBJ" ) ) )
GetObjPath:
@GetSubdir @Obj
@LocalWindow(9,48)
@Move(12,1)
Enter the path to the CTUS.OBJ directory, then
press ─┘ to continue. Press Esc to exit.
@EndSubdir
@If ( ! @Exists( "@OutDrive:@Obj\\CTUS.OBJ" ) )
@Display
@Move( 12, ( 53 - @StrLen( "@OutDrive:@Obj" ) ) / 2, "@OutDrive:@Obj\\CTUS.OBJ (TERMINAL) NOT FOUND" )
@Move( 16, 10 )
@Pause
@EndDisplay
@Goto GetObjPath
@Endif
@Endif
@If ( ! @Exists( "@OutDrive:@Samples\\NBDCHAT.PRG" ) )
@GetOption
@LocalWindow(9,38)
@Cls
@Cls
█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ @Name Installation
█ Computer █
█ Associates █ The installer is not able to locate
█ International █ CA-Clipper Tools Sample programs. Do you want
█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█ to upgrade your CA-Clipper Tools Samples?
▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ @Option 201 = " Yes "
@Option 202 = " No "
@Newline
@Newline
@Newline
Select 'Yes' to upgrade your CA-Clipper tools NBDCHAT.PRG sample
program. You will be prompted to enter the path to the samples
directory where the NBDCHAT.PRG sample program resides. Select
'No' to bypass the CA-Clipper Tools sample program upgrade
portion of the install.
@EndOption
@Endif
@If ( ( ! 202 [= @Option ) && ( ( 102 [= @Option ) || ( ! @Exists( "@OutDrive:@Samples\\NBDCHAT.PRG" ) ) ) )
GetSamPath:
@GetSubdir @Samples
@LocalWindow(9,48)
@Move(12,1)
Enter the path to the NBDCHAT.PRG directory, then
press ─┘ to continue. Press Esc to exit.
@EndSubdir
@If ( ! @Exists( "@OutDrive:@Samples\\NBDCHAT.PRG" ) )
@Display
@Move( 12, ( 46 - @StrLen( "@OutDrive:@Samples" ) ) / 2, "@OutDrive:@Samples\\NBDCHAT.PRG (SAMPLE PROGRAM) NOT FOUND" )
@Move( 16, 10 )
@Pause
@EndDisplay
@Goto GetSamPath
@Endif
@Endif
@If ( ( 102 [= @Option ) || ( ! @DirExists( "@OutDrive:@Ng" ) ) )
GetNgPath:
@GetSubdir @Ng
@LocalWindow(9,48)
@Move(12,1)
Enter the path to the NG directory, then
press ─┘ to continue. Press Esc to exit.
@EndSubdir
@If ( ! @DirExists( "@OutDrive:@Ng" ) )
@Display
@Move( 12, ( 58 - @StrLen( "@Ng" ) ) / 2, "@OutDrive:@Ng DIRECTORY NOT FOUND" )
@Move( 16, 1 )
@Pause
@EndDisplay
@Goto GetNgPath
@Endif
@EndIf
@Move( 0, 0, "Checking for a valid version of CA-Clipper Tools 3" )
@If ( @SPAWN("CHECK @OutDrive:@LIB @OutDrive:@LIB > NUL") != 0 )
@Move( 1, 0, "Unable to locate a valid version of CA-Clipper Tools" )
@Abort()
@Endif
@DefineDisk
@Label = "Disk 1"
@BeginLib OBJ.LIF
@File *.* @Out @Outdrive:\@Obj\*.*
@EndLib
@If ( @Exists( "@OutDrive:@Samples\\NBDCHAT.PRG" ) )
@BeginLib Samples.LIF
@File *.* @Out @Outdrive:\@Samples\*.*
@EndLib
@Endif
@EndDisk
@Finish
@Move( 1, 0, "Copying @StartUpDrive:\\README.CTP --> @OutDrive:@SubDir\\README.CTP" )
@Copy( "@StartupDrive:\\ReadMe.CTP", "@OutDrive:@SubDir\\ReadMe.CTP" )
Loading ExoSpace Patch Information...
@SPAWN("@StartupDrive:PATCH @OutDrive:@ExoBin @StartupDrive:ex1a-e-h /NOBACKUP /NOSUBDIRSEARCH /NOPATHSEARCH")
@Pause
Loading Norton Guide Patch Information...
@SPAWN("@StartupDrive:PATCH @OutDrive:@NG @StartupDrive:exng-10e /NOBACKUP /NOSUBDIRSEARCH /NOPATHSEARCH")
@Pause
@ChDrive(@OutDrive)
@ChDir("@SubDir")
@Cls
█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ CA-Clipper Tools/ExoSpace Installation
█ Computer █
█ Associates █ CA-Clipper Tools/ExoSpace has been successfully
█ International █ installed on your computer. Before using the
█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█ product, view the README.CTP file located in the
▄▄▄▄▄▄▄▄▄ @SubDir directory using your word processor or
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ the DOS TYPE command. This file contains the
latest product information.
@Pause
@EndFinish
/*---------------------* EOF INSTALL.DAT *--------------------*/