home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
OTHERUTI
/
MASTER-2.ZIP
/
SHARE
/
SHARE.LZH
/
SHARINST.DOC
< prev
next >
Wrap
Text File
|
1992-09-03
|
14KB
|
327 lines
SHARE INSTALL Ver. 1.1
(c) 1991 Scanlon Enterprises
This is a beta release of SHARE INSTALL, and all suggestions and
comments are welcome. If this product does NOT meet with your
requirements, we would like to know. Our goal is to provide an in-
expensive installation system for Shareware Authors and developers,
which is powerful, yet easy to use.
SHARE INSTALL is an easy to use installation system. This system
will prompt your software user for both source and destination.
SHARE INSTALL automatically detects if the system is color or mono
and sets the display to the appropiate colors. SHARE INSTALL will
attempt to detect the source drive, but allows your user to edit
this to adjust for any errors.
SHARE INSTALL will also attempt to detect the drive type (fixed or
removable) the user selects as a destination. If SHARE INSTALL can
not properly detect the drive type, the user will be prompted to
verify the type.
SHARE INSTALL, as a default, will display, if it exists, the new
industry standard README file, with the extension SIF (README.SIF).
Also SHARE INSTALL displays the messages found in the file
EASYREAD, or will display an opening screen message of:
---------------------------------------------------------------
SHARE INSTALL Will NOT modify your AUTOEXEC.BAT or CONFIG.SYS files
HowEver, the Installation Commands used by the Author may do so
If you have NOT read the Authors Readme File or Documentation
We suggest you Abort NOW, [Enter] to Continue or [Escape] to Abort
---------------------------------------------------------------
*** NOTE *** Only the lines between the dashed lines appear on the
opening screen....
This message is displayed unless the Software Developer or user
selects the bypass option (see Syntax below). Although SHARE
INSTALL will NOT modify any system file on its own, we can NOT
guarantee that such will NOT happen, since the Developing Author
may include a command which may do so.
** NOTE ** DO NOT RENAME SHARE INSTAL (SHARINST.EXE) TO ANOTHER
NAME AND RUN IT. SHARINST HAS BEEN INTENTENTIONALLY CODED NOT TO
EXECUTE IF RENAMED. YOU WILL JUST GET AN ERROR MESSAGE. The
registered version does NOT have this limitation.
SHARE INSTALL modifies itself during the process of installing the
developers config file (command set). Please keep an original copy
of SHARE INSTALL . We suggest you use our batch file and binary
file (SHARINST.BIN) to maintain the original.
Page 1
SHARE INSTALL Ver. 1.1
(c) 1991 Scanlon Enterprises
Syntax: SHARINST /Cfname
Where : '/Cfname' is the command line switch to place SHARINST into
CFG mode, where the specified file 'fname' is read and appended to
the SHARINST program. If 'fname' is NOT specified, then SHARINST
will check for the presence of SHARINST.CFG . An error message will
be generated if 'fname' or the default file is NOT found.
DEFAULTS:
'fname' is set to SHARINST if NOT specified
The CFG (or batch) file must contain at least 7 lines.
1) @AUTHOR@{Software developer (max 60 char)}
2) @TITLE@{Your program Name/Version (60 char max)}
3) @TYPE@{Type of system to install to. If HD is
specified, then a hard drive is required
otherwise use FLP (for floppy)}
IE.. @TYPE@HD or @TYPE@FLP
4) @SIZE@{Minimum BYTES required to install your
software onto the users system}
(max value of @SIZE@ is 13,000,000 {no commas})
5) @DEST@{Default path to install to
IE...@DEST@\DIR\}
Always end this line with the backslash
Prefix this with the '*' to force this path
IE...*\DIR\ forces the specified path
'\DIR\' the user can't modify.
** LIMIT to 65 characters
6) @BYPASS@TRUE/FALSE
This must be either TRUE or FALSE, NOT BOTH
This option bypasses the opening messages
of both the README.SIF and EASYREAD
during installation.
7) Your first installation command
IE....
LHA E @SRC@SEBFU40 @DEST@
In the last line, above, @SRC@ will be filled in by SHARINST, and
is the source drive, where your installation files are located. The
@DEST@ is the destination selected by the user, and limited by the
two lines containing @TYPE@ and @SIZE@.
Page 2
SHARE INSTALL has some built in commands which may be used in your
Installation file, these are :
1) IF HD
Test if hard disk is selected for installation
2) IF FLP
Test if floppy disk is selected for installation
3) @SRC@
Is replaced with the source drive and path spec.
4) @DEST@
Is replaced with the destination drive and path
5) @DRV@
Is replaced with the destination drive (ONLY)
SHARE INSTALL installation commands may be any valid DOS command,
or any valid program.
SHARE INSTALL will automatically detect the source (where SHARE
INSTALL started from), the video system (color or mono), the drive
capacity of the destination and, if DOS 3.x and up, will
automatically detect the type of drive the destination is
(removable of fixed). If the DOS version is under 3.x user
installing your software is prompted to specify the drive type.
Page 3
SHARE INSTALL Ver. 1.1
(c) 1991 Scanlon Enterprises
EXAMPLES:
Config command line Line number
----------------------------------------------------
@AUTHOR@Scanlon Enterprises 1
@TITLE@SEBFU Version 4.0 2
@TYPE@FLP 3
@SIZE@200000 4
@DEST@\ 5
@BYPASS@TRUE
IF HD 7
LHA E @SRC@SEBFU40 @DEST@ 8
IF FLP 9
CHGDRV 10
LHA E @SRC@SEBFU40 @DEST@ 11
Thus, if the user is installing to a hard disk, the installation
code on the line after the IF HD will be executed. If the user
selects installation to a floppy, then the code following the IF
FLP will be executed.
If you have any questions, don't hesitate to call.
In the example, the program title is SEBFU Version 4.0
the program can be installed to a floppy
the program requires 200K bytes of space
the destination is set to drive A
Notice the use of IF in line 5, this is our special test condition,
where IF may be followed by either HD or FLP , which is the drive
type of the destination the user selected to install to.
Line 5 begins the set of instructions which will execute if the
destination drive is a hard drive. All lines between line 5 and the
next line containing either IF HD or IF FLP will be executed by
SHARE INSTALL. In this example, there is only one line, which is
line 6.
Line 7 begins the set of instructions which will execute if the
destination drive is a floppy drive. All lines between line 7 and
the next line contains either IF HD or IF FLP will be executed
by SHARE INSTALL. In this example, there are only two line, which
are line 8 and 9.
NOTICE line 8, this is a special command which SHARE INSTALL uses
as a flag to wait for the user to change disks in the specified
floppy disk system. Use CHGDRV when you want the user to change
disks during the installation process.
SHARE INSTALL will prompt the user to change disks automatically if
it detects the current destination does NOT have the required disk
space specified in the @SIZE@ statement, on line 3.
Page 4
SHARE INSTALL Ver. 1.1
(c) 1991 Scanlon Enterprises
EXAMPLES {continued}
Config command line Line number
----------------------------------------------------
@AUTHOR@Scanlon Enterprises 1
@TITLE@SEBFU Version 4.0 2
@TYPE@FLP 3
@SIZE@200000 4
@DEST@\ 5
@BYPASS@FALSE 6
LHA E @SRC@SEBFU40 @DEST@ 7
This is the basic use of SHARE INSTALL, and can meet the needs of
many Authors. This format will verify that the disk to install to
contains at least the amount specified by @SIZE@ (200K) and proceed
to install to the specified destination if it meets this minimum
size. IE.. if the destination has 200K bytes available, then the
command on line 5 will be executed.
Config command line Line number
----------------------------------------------------
@AUTHOR@Scanlon Enterprises 1
@TITLE@SEBFU Version 4.0 2
@TYPE@FLP 3
@SIZE@200000 4
@DEST@\ 5
@BYPASS@FALSE 6
COPY @SRC@*.* @DEST@ 7
This will use the DOS COPY command to copy all files from the
source to the destination, as long as the destination contains at
least 200K bytes free. SHARE INSTALL will automatically pause for
the user to insert a disk with the required free space, if it
detects the current source does NOT have enough.
SHARE INSTALL recommends using the DOS copy command, instead of
XCOPY as the user may not have a path set, or XCOPY available, such
as systems running DOS 2.x . You may substitute a Commercial or
Shareware file copy utility on your disk as a replacement command,
but be sure to affix the @SRC@ specification to this replacement
command to assure DOS can find it.
IE...
Config command line Line number
----------------------------------------------------
@AUTHOR@Scanlon Enterprises 1
@TITLE@SEBFU Version 4.0 2
@TYPE@FLP 3
@SIZE@200000 4
@DEST@\ 5
@BYPASS@FALSE 6
@SRC@CCOPY @SRC@SEBFU40 @DEST@ 7
This would perform exactly as the above, if the program CCOPY.COM
or CCOPY.EXE exists on the source disk.
Page 5
If you are interested in this easy to use installation system, for
use with your software, you may use this system as often as
necessary (in house). If you decide to register, you will get
virtually the same system, but with the added features of :
NO SHARE INSTALL Title screen (top line)
(An exit message will be displayed)
DISPLAYS DATE AND TIME AT TOP WITH YOUR AUTHOR NAME
(or Author Company name)
PROGRAM CAN BE RENAMED WITHOUT GENERATING AN ERROR
You will be added to our mailing list to be notified
of new versions or other products.
SHARE INSTALL is available for only $9.95 plus a shipping and
material charge of only $3 (US). Please read the EASYORD.DOC file
for ording instructions or print it out :
COPY EASYORD.DOC PRN
Limitations of registration:
1 program may be configured using 1 registration. Additional
registrations are required for mutiple programs. Once SHARE INSTALL
is configured, an unlimited number of SHARE INSTALL files may be
used (by your customers). The program may be updated and new
commands placed into SHARE INSTALL, from the original SHARE INSTALL
program, at no additional registration fee.
IE... PROG A requires 1 registration
PROG B requires another registration
However, once the /C (config) option is used, as many copies of the
modifed SHARE INSTALL program may be made and distributed as is
necessary to send to all your registered or software buyers.
If you have any questions requarding SHARE INSTALL please call Paul
Scanlon at (805) 272-4827 .
Page 6