home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD-ROM Aktief 1995 #3
/
CDA3.iso
/
comm
/
ts3m.zip
/
INSTALL.TXT
< prev
next >
Wrap
Text File
|
1994-12-23
|
15KB
|
401 lines
The Quick & Easy Install manual Page 1
_______
____|__ | (R)
--| | |-------------------
| ____|__ | Association of
| | |_| Shareware
|__| o | Professionals
-----| | |---------------------
|___|___| Member
December, 1994
Install is designed to allow you to install and run your
software including demonstration programs, and maintenance
software. You may also use it as a general install program,
to setup software that you only use occasionally and the
like. Install stores its help information and script
instructions in the INSTALL.DBF and INSTALL.DBT Xbase database
files. You can edit the help by tapping F7 instead of F1
-Help while running install or you can start install with the
"EDIT" command line parameter. Install always looks in the
last active, or undeleted, entry for its script instructions.
You can take advantage of this by putting alternate
installation sets in other dbase deleted entries and
undeleting them for particular disk distributions. Don't
leave the last entry blank, or install will yell at you.
Command line parameters
INSTALL [EDIT ADD MONO RECNO#]
EDIT - to edit the script database
ADD - to add a new entry and edit the script database.
MONO - to force monochrome screen output.
The install script language follows:
# is used for comments. Anything to the right of a # is
considered a comment.
Every install script must start with the line.
"TELESHARE INSTALL SCRIPT"
The Quick & Easy Install manual Page 2
Otherwise the installer might try to work over one of its own
help files, and snivel at you.
BROWSE somefile to browse or review some text file for
information. It has a built-in search capability.
CHANGEDISK key_file To prompt to change to the next diskette,
and to check for the specified key file on the next disk. You
can leave a space and add a message that will be displayed in
place of "Please change disks" after the key_file name. Do
not use a zero length key_file name.
CHANGEDISK peaches.exe Please change to the red disk.
CLEAR to clear the screen. This version actually calls the
DOS CLS to ensure that the screen color/colour matches similar
DOS related commands that you may be using in association with
it.
COMMAND to directly run programs and to pass commands to
command.com. See the RUN and SWAP commands below.
COPY - to allow copying of materials from the source to target
disk as in:
COPY file_1 file_2 file_3 etc
The destination is the DIRECTORY provided earlier. If you are
installing from a hard drive it assumes that you want to
install in the same directory, and yells at you if you decide
otherwise.
DIRECTORY - to supply a directory name for editing.
ECHO like the DOS echo. Anything that is not recognised by
the script parser is simply echoed to the screen, but any
spaces on the left side will be trimmed off.
IF and END or ENDIF If is used with ADD-IN or BASIC, as in
IF BASIC
# installation commands for the BASIC option
...
ENDIF
IF ADD-IN
# installation commands for the ADD-IN option
...
END
if add-in basic
The Quick & Easy Install manual Page 3
# to combine the partial installation options
...
endif
IF direct_install
# direct_install is a logical switch
# that becomes TRUE if the 'last file'
# is found at the start of the install
run save HOMENU.BAT
QUIT
ENDIF
The final "END" or "ENDIF" is an implied "QUIT", so if you use
one of the two optional partial installation options, ensure
that the 'right stuff' is done before the "END".
There is no "IF ALL" to install everything. If the option to
install everything is chosen, any "IF BASIC" or "IF ADD-IN"
instruction sets are ignored.
INSTALL DIRECTORY \HANDS_ON\ # to specify the \HANDS_ON\
directory.
INSTALL HEADER - This allows you to provide an alternate
header to replace the default message at the upper part of the
screen. You may use up to 3 message or header lines.
INSTALL README some_file to allow you to use any file name
instead of the default README.DOC name. README.DOC is used in
place of README.1ST to make it easier to look up a group of
manuals, ending in ".DOC", with various browsers.
INSTALL ADD-IN or BASIC - to specify that the distribution is
only a partial distribution. The installer defaults to asking
if you want 1) A FULL distribution or 2) Only the REMOTE or
the HOST (BASIC) or 3) As an ADD-IN to another product like
bitcom. Use one of these command options to bypass the
prompting.
QUIT - to instruct INSTALL to quit to DOS.
QUIT_TO to quit and run another program. This version of
Install does NOT use keyboard stuffing to run the next
program, unlike previous releases. When you use "QUIT_TO
some_prog" the program swaps all but 2k of itself to disk and
runs the "some_prog". It then swaps itself back in after
running and immediately quits.
LASTFILE to specify the last file in a disk set. This allows
The Quick & Easy Install manual Page 4
the installer to look for the last file and automatically
decide that the installation is a 'one disk' set. This allows
you to use the same installation instruction script for 360K
diskettes, 1.44M diskettes, and BBS type installation. It
causes CHANGEDISK type instructions to be ignored. eg.:
"LASTFILE lastdisk.zip". The Sept/94 update adds a logical
switch DIRECT_INSTALL that becomes True if the LASTFILE is
present when the installer reads in the install script in
install.dbf. You can use it with IF ... ENDIF as shown above,
most likely for installations from files downloaded from a
BBS. If you are installing an update and the lastfile already
exists in the target directory, the installer will assume a
BBS type of installation and bypass most of the update. So
erase the lastfile before doing the update.
# if the 'lastfile' has been found this IF will be entered
IF direct_install
some stuff
...
quit
ENDIF
Please note that a side effect of the LASTFILE command is that
the installer logical rule base goes bonkers if you use
LASTFILE and install a second time over the first set of
files, from 5 1/4" diskettes. It then decides that you are
actually installing from a 3 1/2" diskette, and mistakenly
avoids asking you to change disks.
RUN - to tell INSTALL to run the program on the same line.
For both RUN and SWAP, install looks for the file to be run in
both the source and the des