home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 2
/
ctrom_ii_b.zip
/
ctrom_ii_b
/
PROGRAM
/
UTILS
/
IMPRES21
/
IMPRESS.DOC
< prev
next >
Wrap
Text File
|
1992-07-01
|
42KB
|
915 lines
First Impression
Your Professional Installation Kit
Written & Published
By
Lincoln Beach Software
Copyright (c) 1992
ALL RIGHTS RESERVED
_______
____|__ | (tm)
--| | |-------------------
| ____|__ | Association of
| | |_| Shareware
|__| o | Professionals
-----| | |---------------------
|___|___| MEMBER
FIRST IMPRESSION
"Your Installation Program"
LIABILITY WAIVER. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
SUPPORT AND SHAREWARE
STATEMENT . . . . . . . . . . . . . . 1
PLEA FOR FREE ADVERTISEMENT . . . . . . . . . . . . . . . . . . . . . . 2
IMPRESSION MENU OPTIONS . . . . . . . . . . . . . . . . . . . . . . . . 4
BASIC INSTALLATION. . . . . . . . . . . . . . . . . . . . . . . . 4
INSTALL ENHANCEMENTS. . . . . . . . . . . . . . . . . . . . . . . 4
SELECTING FILES TO COPY . . . . . . . . . . . . . . . . . . . . . 7
DOS INSTRUCTIONS. . . . . . . . . . . . . . . . . . . . . . . . . 8
FILE BROWSER. . . . . . . . . . . . . . . . . . . . . . . . . . . 9
DOCUMENTS TO PRINT. . . . . . . . . . . . . . . . . . . . . . . . 9
REGISTRATION WINDOW . . . . . . . . . . . . . . . . . . . . . . . 10
FILE COPY DISPLAY . . . . . . . . . . . . . . . . . . . . . . . . 10
VIEW BASIC INSTALL. . . . . . . . . . . . . . . . . . . . . . . . 10
MEDIA SELECTION STYLE . . . . . . . . . . . . . . . . . . . . . . 10
GENERATE DISTRIBUTION DISKS . . . . . . . . . . . . . . . . . . . 11
LOADING AND SAVING CONFIGURATIONS . . . . . . . . . . . . . . . . 11
SHELL TO DOS. . . . . . . . . . . . . . . . . . . . . . . . . . . 11
COMPLETION. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
INSTALLATION FLOWCHART. . . . . . . . . . . . . . . . . . . . . . . . . 12
CUSTOMIZABLE WINDOW INSTALLATION. . . . . . . . . . . . . . . . . . . . 14
UNINSTALL OPTION. . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
INDEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
ACKNOWLEDGEMENTS
Thanks to my wife for putting up with me during all of this and
to God for giving me the knowledge and skill to do this.
LIABILITY WAIVER
FIRST IMPRESSION IS LICENSED "AS-IS". LINCOLN BEACH SOFTWARE
MAKES NO WARRANTIES, EITHER EXPRESSED OR IMPLIED, WITH RESPECT TO
THIS PROGRAM, ITS QUALITY, PERFORMANCE, MERCHANTABILITY, OR
FITNESS FOR ANY PARTICULAR PURPOSE. IN PARTICULAR IT IS NOT
GUARANTEED TO PREVENT OR DETECT DAMAGE TO YOUR DATA OR PROGRAMS.
IN NO EVENT SHALL LINCOLN BEACH SOFTWARE BE LIABLE FOR ANY CLAIMS
FOR LOST PROFITS OR ANY DAMAGE, INCLUDING, BUT NOT LIMITED TO,
SPECIAL, INCIDENTAL, CONSEQUENTIAL OR OTHER DAMAGE. SOME STATES
DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR
CONSEQUENTIAL DAMAGES, SO THE ABOVE LIMITATION OR EXCLUSION MAY
NOT APPLY TO YOU. IN NO CASE SHALL LINCOLN BEACH SOFTWARE'S
LIABILITY EXCEED THE LICENSE FEES PAID FOR THE RIGHT TO USE THE
LICENSED SOFTWARE. THE LICENSE AGREEMENT AND WARRANTY SHALL BE
CONSTRUED, INTERPRETED AND GOVERNED BY THE LAWS OF THE STATE OF
MISSOURI.
COPYRIGHT, SUPPORT AND SHAREWARE
STATEMENT
FIRST IMPRESSION is a "shareware program" and is provided at no
charge to the user for evaluation. Feel free to share it with
your friends, but please do not give it away altered or as part
of another system. The essence of "user-supported" software is
to provide personal computer users with quality software without
high prices, and yet to provide incentive for programmers to
continue to develop new products. If you find this program
useful and find that you are using FIRST IMPRESSION and continue
to use FIRST IMPRESSION after a trial period not to exceed 30
days, you must make a registration payment of $45 to LINCOLN
BEACH SOFTWARE. The $45 registration fee will license one copy
for use on any one computer at any one time. You must treat this
software just like a book. An example is that this software may
be used by any number of people and may be freely moved from one
computer location to another, so long as there is no possibility
of it being used at one location while it's being used at
another. Just as a book cannot be read by two different persons
at the same time. Also installation procedures may be developed
solely for the company it is licensed to. You may not develop
installations for other firms.
Corporate users of FIRST IMPRESSION must register and pay for
their copies by departments and site-License arrangements may be
made by contacting LINCOLN BEACH SOFTWARE.
Special Licensing agreements are available for consulting firms
that develop software packages for clients. Remember, you many
not develop installations for other firms.
You are encouraged to pass a copy of FIRST IMPRESSION along to
your friends for evaluation. Please encourage them to register
their copy if they find that they can use it. All registered
users will receive a copy of the latest version of the FIRST
IMPRESSION system and printed documentation.
This software and documentation is protected under the United
States Copyright Laws and International Treaty Provisions. Your
support of Shareware is appreciated.
You may call 314-227-2431 or write to us at: Lincoln Beach
Software, P.O. Box 1554, Ballwin, MO 63022-1554 if you have any
questions. If no one is there to personally answer your call,
leave a message and we will get back to you ASAP. You may also
send questions to me on CompuServe by directing your mail to:
Harold Holmes, CompuServe ID: 70700,630.
PLEA FOR FREE ADVERTISEMENT
It would be greatly appreciated if you would put the following
paragraph into your documentation. However, it is not required.
THE INSTALLATION PROGRAM USED BY <your company or program name>
WAS WRITTEN BY LINCOLN BEACH SOFTWARE AND IS ENTITLED FIRST
IMPRESSION. LINCOLN BEACH SOFTWARE RESERVES ALL COPYRIGHT
PROTECTION WORLDWIDE. FOR FURTHER INFORMATION THEY MAY BE
REACHED AT P.O. BOX 1554, BALLWIN, MO 63022 OR 314-227-2431.
HAROLD HOLMES MAY ALSO BE REACHED ON COMPUSERVE AT 70700,630.
Ombudsman Statement
First Impression is produced by a Lincoln Beach Software, a
member of the Association of Shareware Professionals (ASP). ASP
wants to make sure that the shareware principle works for you. If
you are unable to resolve a shareware-related problem with an ASP
member by contacting the member directly, ASP may be able to
help. The ASP Ombudsman can help you resolve a dispute or problem
with an ASP member, but does not provide technical support for
members' products. Please write to the ASP Ombudsman at 545
Grover Road, Muskegon, MI 49442 or send a CompuServe message via
CompuServe Mail to ASP Ombudsman 70007,3536.
FORWARD
FIRST IMPRESSION, or IMPRESSION, allows users to install your
software easily and also save you development time by not having
to create your own install procedures.
The basis of this software consists of two programs, IMPRESS.EXE
and INSTALL.EXE. With these tools you can create a customized
install program for many applications. IMPRESSION will take you
through several steps to personalize your install. Once you
complete the design, copy the INSTALL.EXE and INSTALL.CFG files
to the distribution disk. Then on the label write A:INSTALL.
A few features IMPRESSION offers developers are the ability for
the user to select the source or destination drive and
subdirectory, to print any documentation included, checks the
destination to confirm there is enough space to install the
software, hard code registered users name into your program, the
ability to utilize compress files using your own compression
utility, and it will also add the subdirectory to the path
statement if the user wishes to and automatically update the
CONFIG.SYS file if necessary. There are other features that you
will see along the way as you create your configuration file.
IMPRESSION will utilize a mouse, if one is installed. Logitech
and Microsoft mice will work as will others as long as they are
compatible.
Color attributes used for a window are:
Background/Foreground Foreground
0=BLACK 8=DARK GRAY
1=BLUE 9=LIGHT BLUE
2=GREEN 10=LIGHT GREEN
3=CYAN 11=LIGHT CYAN
4=RED 12=LIGHT RED
5=MAGENTA 13=LIGHT MAGENTA
6=BROWN 14=YELLOW
7=LIGHT GRAY 15=BRIGHT WHITE
There are no bounds checking when using attributes with the
constructable windows. By adding eight (8) to the background
color the character will blink on the screen.
At any field hit the F1 key for help on filling out that
particular field.
IMPRESSION MENU OPTIONS
BASIC INSTALLATION
There are three screens that appear during the installation.
They are titled Greeting, Program and Copy window. After
selecting one of these windows another menu will appear allowing
you to change the window attributes, change the text in the
window and finally show the window as it will appear or return to
the previous menu. When setting up these windows be sure to put
in values in the attribute columns. If they are left blank it
will appear BLACK on BLACK and will not be visible.
WINDOW ATTRIBUTES
This option sets the way the window will appear. The first two
fields are the settings for the foreground and background colors
for the border. The third is the color for the window
background. There is no choice for the window foreground color
since the attributes for the text are set in the text option.
The next option is for the window type. They are 1=Normal,
2=Shadowed, 3=Exploding, 4=Borderless.
Then last option is a Yes/No prompt to change the border of the
window. If you enter a 'Y' in this field you will be taken to a
screen that will give you eight (8) choices after you exit this
form. The first four choices utilize the line draw characters
and the last four use the different shades of box characters.
TEXT ATTRIBUTES
When this option is selected a screen will appear to enter the
text in that will appear in the window. After entering the text
you are prompted for the row that the text will appear on. If
you enter a number that is not in the range it will not appear in
the window. Next enter the attributes that the text will
appear in within the window.
SHOW WINDOW
This option will put the window that has been designed on the
screen at the location it will be in during the installation.
The final menu option will return you the previous menu to work
on another window.
INSTALL ENHANCEMENTS
The menu option INSTALL ENHANCEMENTS will take care of all
personalized installation requirements. As you will see there
are many options. This will enable your install to be as
specific as necessary.
The first option is for the default subdirectory into which the
user is encouraged to install the software into. The user may
change this during the installation. Nested subdirectories may
be used as well such as \WP51\MYPROG.
The next option will force the user to install your application
into the directory that you have set up as the default directory.
The next item is the name of the batch file that you wish to
create in the root directory. It must contain the extension
.BAT. An error message will appear if it is missing. If no
batch file is specified, none will be created.
The next two items are added to the batch file if one is created.
The first is the name of the program that is called from the
batch file. This is generally the developers application. If an
application tool is used such as Clarion Developer or dBase then
this should appear in the FILE TO EXECUTE field and the
application that has been developed would appear in the COMMAND
LINE ARGUMENTS field. In the batch file it would appear as:
DBASE.COM DATABASE.DBF
The option of hard coding the users name into an application is
also available. Answer a 'Y' to invoke this option. After
finishing the ENHANCEMENT form a window will appear prompting for
the file to be coded while on the S)ource disk or the
D)estination disk. Following this another window appears with
two empty fields. Two files may be coded. Enter the name(s) in
the field(s). You should test this before sending out your
application. You are allowed 50 characters, and you must have a
field in your program predefined such as the following line:
char company_name[51]="$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$";
This is an example of how to create the needed field in the 'C'
language. You need a field that contains no more and no less
than fifty (50) dollar signs. The INSTALL program searches for
this and replaces it with the registered users name. Some
programs may not be able to use this such as Dbase files. Such
files have not been tested so you will have to try it on your
own. If you choose to code the files while they are on the
source disk they must reside on the first application disk. Also
if you compress your executable by using PKLITE or LZEXE it will
not work.
By entering in the number of k in the field for SPACE NEEDED ON
DESTINATION DRIVE, the destination drive will be checked for the
necessary space. If it does not exist the user is informed that
there is not enough space and the install is aborted. Note:
1000k=1MB.
If the application being used needs a minimum DOS version it may
be entered here at the DOS VERSION NEEDED field. If the user is
running an older version of DOS than is required a message will
appear informing the user and will then abort. The first half of
the field is the major version like 4 and the second half would
be the minor portion or .01. This would make up 4.01.
The next two fields are used to update the FILES and BUFFERS
statements in the CONFIG.SYS file. Leaving this blank will
bypass this function. If the CONFIG.SYS file is edited the
original is renamed to CONFIG.HLD. If you insert a value in one
field and not the other it will only check/change the one that
has the value.
The next two menu options are for adding device drivers to the
CONFIG.SYS file. Type in the name of the device driver that you
wish to load in fields available. These files must exist in the
base directory that the software is being installed to. The
line(s) created in the config.sys file will look like:
DEVICE=C:\MYPROG\DRIVER.SYS and will be the first lines in the
config.sys file.
If a minimum amount of base memory is required it may be entered
here. It checks up to 640k. If there is not enough memory the
install will abort.
The next two fields are for checking the existence of a math
coprocessor and game port. There are three valid entries for
these fields. They are:
'C': Critical; A message is displayed regarding the absence
of the device and the install will abort.
'H': Helpful; A message is displayed stating that the
program will run without the device but it would be helpful
if one existed. The installation will continue after a key
is pressed.
'N': No; The component is not needed and will not be
checked for.
If sound is desired during the installation process select a 'Y'
for the option to USE SOUNDS DURING INSTALL. If an error has
occurred a single low tone will sound. If the user is prompt to
change a disk or enter something, a chime will sound. Select an
'N' to disable the sound.
If you do not want the user to have the option to put the
selected subdirectory into the path enter a 'Y' in this last
field and it will not prompt the user and will NOT put it in the
path statement. If the user does have the ability to modify the
AUTOEXEC.BAT file the original is renamed to AUTOEXEC.HLD if it
is modified.
Another option that can be selected is to create an ENVIRONMENT
variable in the autoexec.bat file. This will create a line in
the users autoexec.bat file that will set a environment variable
to the subdirectory your software was installed. Setting the
field to IMPRESSION will create the line: SET IMPRESSION =
C:\IMPRESS Providing the subdirectory that the software was
installed to was C:\IMPRESS.
The final enhancement field is for a program that you wish to
execute immediately after the installation is complete. For
example, if you have your own printer configuration program or
setup program. If an exit program is specified the user is not
returned to the INSTALL program
SELECTING FILES TO COPY
When the menu option FILES TO COPY is selected, a form will
appear where you can enter the files to be copied from the source
disk. The files will be copied in the order they were entered on
the form. There can be no blank entries between filenames such
as:
!DISK #1
myprog.pak
unpack.exe
Progr??.exe
&myfile.fil
____________
mydata.dat
If this occurs the file mydata.dat and anything following that
will not be copied to the destination. Up to 54 file filters can
be selected for copying. Multiple disks can be used. If a
certain file cannot be found it prompts for the correct diskette
or to abort. The user should insert the diskette and press any
key and it will try again. Wildcards may be used as shown.
Note that the first name in the list of files starts with an (!)
exclamation mark. By doing this, a prompt will appear
instructing the user to insert the disk labeled 'DISK #1'. After
the user hits a key, the installation program will start
searching for files to copy.
If the user tries to reinstall the application, the install will
search the directory and if the first file exists it will prompt
the user asking if a reinstall is desired. If no, the install is
aborted. It only checks the first file.
If you do not want to type in file names you can enter in the
information as follows:
!Disk #1
*.*
!Disk #2
*.*
!Disk #3
*.*
(more as needed)
This will copy all the files on each disk and prompt the user for
each consecutive disk.
DOS INSTRUCTIONS
This option will give you 15 lines that can be used to enhance
the install. Such uses would be if you have compressed files
that you are copying and wish to decompress them. All of
these commands are executed from within the subdirectory created
during the install. An example would be that after you have
copied all of the files over to the destination you would be able
to unpack the files and then delete the packed file and other
files that are not needed. Using the file list in the lines in
SELECTING FILES section you would have the following this
section:
unpack myprog.pak >nul
&myfile.fil
The file named &MYFILE.FIL would contain the lines below to set
up the software in multiple directories.
MD MYSUB
RELOCATE *.DAT MYSUB
DEL MYPROG.PAK
DEL &MYFILE.FIL
If the &myfile.fil approach is used only three commands are
valid. These are MD for make directory, RELOCATE which will move
files and DEL which deletes files. If RELOCATE is used it will
copy the file and delete it automatically.
If you are using the DEVICE DRIVER option DO NOT move them from
the base directory.
Normal batch files may be used if desired but sometimes the
screen has been known to scroll up during the operation. By
create a file like &MYFILE.FIL all copy routines are performed by
internal code and will not change the screen. Note that the
filename must begin with an & sign and the rest can be any valid
filename character.
When installing software it can not be determined beforehand
where a user wants to install the software so if the command
A:PKUNZIP A:MYPROG.ZIP C: would not work if the user was
installing from B: to D:. This problem can be resolved by using
the parentheses in the command and it will be filled in during
the installation. To do this simply make the previous command
line appear as:
(:PKUNZIP (:MYPROG.ZIP ):
During the process of this line it will be changed to:
B:PKUNZIP B:MYPROG.ZIP D:
The open parentheses '(' is replaced by the source drive and the
close parentheses ')' is replaced by the destination drive.
DOS command functions are handled as if you are at the command
prompt. If you reference any external DOS command, it must be in
the path the user has setup, otherwise the commands will not
work. Be aware that all commands are executed "behind" the
window that the user sees. If in the case of using a program
that unpacks a file the file already exists, it would normally
display a message saying: "files exits, replace it(Y/N)?". The
user will not see this and the system could appear to have locked
up when in reality a simple press of the 'Y' will allow it to
continue.
The way to avoid this is to see if there is a command line option
that will unpack it whether it exists or not. See your specific
"unpacker" to find out how it is done. For example PKUNZIP from
PKWARE, Inc. has the option [-o] to overwrite existing files
whereas another popular compression program LHA, which creates
files with the LZH extension, does not have an overwrite option
and could cause this problem if a file already exists.
FILE BROWSER
You may let the user browse up to four (4) 'READ ME' files.
Enter in the name(s) of the file(s) in this section that you want
the user to be able to browse. If you are using the BASIC
install the 'READ ME' files may not exceed 35k each, and if you
are using the INSTALL.WIN file then the 'READ ME' files may not
exceed 20k each. Unless of course you want the program to crash
into oblivion and die. Consider yourself warned.
DOCUMENTS TO PRINT
This menu option allows text files to be printed out to a
selected printer. The INSTALL program will sense if more than
one printer port exists and give the user the choice of ports to
print to. Up to ten filename filters can be specified for
printing. This includes wildcards.
When the user prints out documentation files and there are
multiple printer ports INSTALL will sense this and give the user
the option to print to available ports 1-3.
REGISTRATION WINDOW
The window that appears to have the user type in the registered
user name is set up under this menu option. If the choice to
hard code the user name into an application is selected this
window will appear. Select the menu options in this section to
set up the attributes of this window the same as you would for
the basic windows.
FILE COPY DISPLAY
To give the user something to look at while the files are being
copied or printed one of these options may be selected. The
first four are just for amusement. Options 5 and 6 will show the
percentage complete of the current file. This display will
appear when files are being copied from the source to the
destination and while documents are being printed.
VIEW BASIC INSTALL
This option will show you each window in turn as it will appear
during the installation.
MEDIA SELECTION STYLE
There are two options that may be used for having the user select
the source and destination drive and subdirectory.
Option #1 will display a window to show the user which floppy
drives are available to install from. After the user selected
the drive to install from, let us say A:, another window will
appear showing all the drives that exist to install the software
on. Following this window another window will appear prompting
the user for the subdirectory to install to. If one was entered
in the INSTALL ENHANCEMENTS it will appear in the field. The
user may change this unless the option to not let the user change
this was set in the INSTALL ENHANCEMENTS section.
Option #2 will open a window and prompt for a source drive,
destination drive and destination subdirectory. The source drive
will be prefilled with the drive letter that the install was
started from. Using this option users will be able to install
from a subdirectory on a hard drive to another. This is great
for users that will pull your software down from a BBS. Option
#1 does not allow this.
After one of these options has been selected yet another window
will appear asking if an optional confirmation window should
appear. If selected, a window will appear after the drives and
directory have been selected confirming the choices made. If the
user declines the choices made, the selection process will begin
again.
GENERATE DISTRIBUTION DISKS
This option will automatically build your distribution disk set.
You need to first copy the installation programs that you will be
using like INSTALL.EXE, INSTALL.CFG, SETUP.EXE, INSTALL.WIN or
UPDATE.CFG to the first disk. Then select this option and enter
in the destination drive and the drive and subdirectory where
your files exist. This will put all the files in the specified
directory onto the floppy drive by size. The sorting method will
minimize the need for too many disks. Pressing a key during this
operation will allow you to abort the process.
LOADING AND SAVING CONFIGURATIONS
These options either save the current configuration to a file or
loads a previously saved configuration. IMPRESSION will
automatically backup the configuration file that you are saving
with the extension of .BK!. Note that the file used by
INSTALL.EXE is INSTALL.CFG and the final configuration should be
named such.
SHELL TO DOS
If the need to exit to DOS without leaving the IMPRESSION program
arises simply select this option and you will shell to DOS. Type
EXIT and the DOS prompt to return to IMPRESSION.
THE COMPLETION
Upon completing your configuration file, simply copy the
INSTALL.EXE, INSTALL.CFG and file that you created to your own
application disk and you are complete. The user simply types
A:INSTALL and you have a professional installation with a minimum
amount of work. Its that easy! Enjoy. INSTALLATION FLOWCHART
The following is a step by step preview of what goes on when
INSTALL is executed.
1. Checks for an UPDATE.CFG file. If one exists a box appears
asking the user if they wish to install an update or a full
installation. If the update option is selected it will load
the UPDATE.CFG file, otherwise it will load the INSTALL.CFG
file.
2. Checks for specified items such as DOS version running, math
coprocessor, base memory and game port. Depending on the
options selected in the INSTALLATION ENHANCEMENTS section
will depend on the course of the installation.
3. The greeting window will appear and wait until a user press
a key to continue.
4. The program window will appear along with the DIRECTORY
INFORMATION screen where the user will enter in the drive
information.
5. If the option for a "confirmation screen" was selected it
will appear asking if the selected drive specifications are
correct. If not it will return to the DIRECTORY INFORMATION
screen.
6. Confirms that the destination drive exists.
7. Confirms space exists.
8. If the users name is to be hardcoded on the source drive
that function will be performed at this time.
9. Checks if directory already exists? If not it creates one,
if so it will query the user if they want to use the
existing directory.
10. Checks to see if first file exists and if so prompt user if
they want to reinstall. Otherwise file copying continues.
11. If the users name is to be hardcoded on the destination
drive that function will be performed at this time.
12. Executes commands that were entered in the DOS command
section.
13. Prompts user to print documentation. If Yes INSTALL will
auto sense the available ports to print to and opens a
window to select the desired port.
14. Prompts user to add directory to PATH statement in the
AUTOEXEC.BAT file.
15. Prompts user to add environment variable to the AUTOEXEC.BAT
file.
16. If either of the above two options have been selected then
it will modify the AUTOEXEC.BAT file after copying it to a
file named AUTOEXEC.HLD. It will also notify the user that
changes have been made.
17. Prompts user to confirm that the number of FILES and BUFFERS
are where they should.
18. Prompts user to add DEVICE DRIVERS to the CONFIG.SYS file.
19. If either of the above two options have been selected then
it will modify the CONFIG.SYS file after it has been copied
to a file named CONFIG.HLD. It will also notify the user
that changes have been made.
20. Prompts the user to view any README files.
21. If changes were made to the CONFIG.SYS file the user is
asked if they wish to reboot the machine at this time. If
they do it does not return to the INSTALL program.
22. At the end of the INSTALL an "exit" program may be specified
and will be executed. The user is not returned to the
INSTALL after leaving the "exit" program specified. CUSTOMIZABLE WINDOW INSTALLATION
SETUP.EXE
SETUP will allow you to obtain a totally customized install
utilizing many windows and functions. All window routines are
controlled by the developer except for the File Copy window that
appears during the installation process. This window is where
all of the actual installation takes place. All prompting
messages will appear in this window.
There can be up to twenty-six (26) windows open at a time. First
determine the appearance of a window. Take into consideration
things like size, colors, text and titles and the message you
wish to convey. The attributes may be changed at any time.
This dialogue for defining and using constructable windows below
will be your guide to creating the ultimate installation.
FORMAT STYLES FOR WINDOW ROUTINES
CREATING A BACKGROUND
B,░,1,14
B - Fill screen routine.
░ - Character to fill the screen with.
1 - Background color to use.
14 - Foreground color to use.
All windows should be closed before calling this routine.
It is not fatal but if a window that appears 'behind' the
new background is closed, the text that appeared below it
when it was opened will be set over the background and make
a 'hole' in it.
OPENING A WINDOW
OC,800,14,40,35,8,7,14,1,14,3,0
OC - Open window C. There can be twenty six windows: A-Z.
800- Window Type. Four Window Types are:
0 = Normal window.
500 = Shadowed window.
800 = Exploding window.
1000 = Borderless window.
14 - Upper Row. Rows start with 0.
40 - Left most Column. Columns start with 0.
(The above two numbers make up the top left corner of the
window.)
35 - Number of column wide. The left most column and the
width may be no larger than 80.
8 - Number of rows down. The upper row and length may be
no larger than 25.
7 - Background attribute of the border.
14 - Foreground attribute of the border.
1 - Background attribute of the window.
14 - Foreground attribute of the window.
3 - Row of window to put a horizontal bar.
0 - Column of window to put a horizontal bar.
CLOSE WINDOW
CC
CC - Close window C. Same would be done for other windows.
CLEARING A WINDOW
WC
WC - Wipe window C. Be cautious with this because if there
are bars in the window they will also be cleared out.
MOVING BARS AROUND IN A WINDOW
VA,4
V - Move a Vertical bar to a new location.
A - The window in which to perform the operation.
4 - The column to make the bar appear.
HA,4
H - Move a Horizontal bar to a new location.
A - The window to perform the operation.
4 - The row to make the bar appear.
By setting the bar position to 0 it will remove the bar from
the window selected.
SET BORDER CHARACTERS
S3
S3 - Sets the border to set number 3. Valid values are 1-8.
MOVE A WINDOW
MC,5,10
MC - Move Window C.
5 - Row to Move to.
10 - Column to move to.
PUTTING TEXT IN THE WINDOW
STYLE #1: CENTERED
LAC,3,Welcome To My Program
LAC - Line of text in Window A and the C is for Centering
it.
3 - Row in window to put the text
Wel - The text that will go in the window.
STYLE #2: PLACED AT COL,ROW
LAL,5,10, More words
LAL - Line of text in window A and the L is for Left justify
and row,col.
5 - Row to put text.
10 - Column to put text.
More - The text to put in window.
PUTTING TITLES ON BORDERS
TA,3,MY TITLE
TA - Put a title in Window A.
3 - Put title in location 3. Valid locations are 1-6.
1 = Top Right
2 = Top Left
3 = Top Center
4 = Bottom Right
5 = Bottom Left
6 = Bottom Center
MY - The text to put in the title.
CHANGING THE ATTRIBUTE OF TEXT PUT INTO A WINDOW
AAW,4,14
AAW Attribute change in window A and make it effect the
Window. The other option would be B in place of W to
change the subsequent border writes.
4 - New background color.
14 - New foreground color.
PAUSING THE SCREEN ACTIVITY
P5
P5 - Pause the screen for 5 seconds (approx). This
procedure will pause the screen for the number of
seconds specified or until a key or mouse button is
pressed. Using P1 will basically have no effect. If
ESCAPE is pressed the install is aborted.
HOW TO START THE INSTALLATION
*
* - That's it, just an asterisk (*). It must be the first
character on the line. You may also have more window
activity after you perform the install. This will call
INSTALL.EXE from the drive that the install originated
on.
The file that needs to be created to use these windows is titled
INSTALL.WIN. To create the INSTALL.WIN file use a text editor or
word processor that will save ASCII text. Look at the
INSTALL.WIN file that came with IMPRESSION. It will show you
many things that can be done with a 'window'.
Upon registering First Impression You will also receive an additional
program named CHECKWIN. After you create the INSTALL.WIN file it
may be checked for any trouble spots by using this program. This
will display any errors found within the window file. It will display
the line number and what problem was discovered. It does not check for
the format of the lines just what you are doing to a window.
If this is the way the install is to be performed two extra files
need to be copied to the source disk. The SETUP.EXE and
INSTALL.WIN files. Now on the distribution disk you tell the
user to type A:SETUP instead of A:INSTALL. SETUP.EXE may be
rename if you like but all other files must remain the same.
UNINSTALL OPTION
INSTALL has an uninstall option. This is a destructive option.
To perform and uninstall the user must type INSTALL /U [enter].
This will prompt the user twice with "are you sure" questions.
If either are answered "NO" it will be aborted otherwise it will
erase ALL subdirectories and files from the base directory down.
This means if the user installed the program in the subdirectory
MYPROG and during the install several other directories were
created for data and other files, MYPROG and the other
directories would be removed. DO NOT document this option if you
do not want the user to know about it. Its effects are
permanent, unless you know how to use an undelete program.
INDEX
BACKGROUND. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14
BASE MEMORY REQUIREMENTS. . . . . . . . . . . . . . . . . . . . . . . . . 6
BATCH FILE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
BORDER CHARACTERS . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
CHANGING ATTRIBUTES . . . . . . . . . . . . . . . . . . . . . . . . . . .16
CHECKWIN.EXE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17
CLEARING A WINDOW . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
CLOSE WINDOW. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
COLOR ATTRIBUTES. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
COMMAND LINE OPTIONS. . . . . . . . . . . . . . . . . . . . . . . . . . . 9
CONFIG.SYS UPDATES. . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
CONFIGURATION FILES
LOADING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
SAVING. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
COPYRIGHT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
DEFAULT SUBDIRECTORY. . . . . . . . . . . . . . . . . . . . . . . . . . . 5
DESTINATION SPACE . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
DISK LABELS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
DISTRIBUTION DISK . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
DOS INSTRUCTIONS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
DOS VERSION REQUIREMENTS. . . . . . . . . . . . . . . . . . . . . . . . . 6
FILE COPY WINDOW. . . . . . . . . . . . . . . . . . . . . . . . . . . . .14
FILES, NUMBER OF. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
GAME PORT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
GENERATE DISTRIBUTION DISKS . . . . . . . . . . . . . . . . . . . . . . .11
HARDCODING THE USERS NAME . . . . . . . . . . . . . . . . . . . . . . . . 5
INSTALL.WIN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17
INSTALLATION FLOWCHART. . . . . . . . . . . . . . . . . . . . . . . . . .12
LIABILITY WAIVER. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
LOCKED SYSTEM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
MATH COPROCESSOR. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
MOUSE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
MOVING A WINDOW . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
MOVING BARS AROUND IN A WINDOW. . . . . . . . . . . . . . . . . . . . . .15
OMBUDSMAN STATEMENT . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
OPENING A WINDOW. . . . . . . . . . . . . . . . . . . . . . . . . . . . .14
PAUSING ACTIVITY. . . . . . . . . . . . . . . . . . . . . . . . . . . . .16
REGISTRATION. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
SETUP.EXE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14
SHAREWARE STATEMENT . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
SOUND EFFECTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
STARTING THE INSTALLATION . . . . . . . . . . . . . . . . . . . . . . . .16
SUPPORT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
TEXT IN THE WINDOW. . . . . . . . . . . . . . . . . . . . . . . . . . . .15
TITLE LOCATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16
TITLES ON BORDERS . . . . . . . . . . . . . . . . . . . . . . . . . . . .16
UNINSTALL OPTION. . . . . . . . . . . . . . . . . . . . . . . . . . . . .17
WINDOW BORDERS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
WINDOW TYPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
WINDOW TYPES. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14