home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
POINT Software Programming
/
PPROG1.ISO
/
misc
/
ipro300
/
example.001
next >
Wrap
Text File
|
1993-05-11
|
5KB
|
148 lines
;This is designed to help you get your installation organized. The
;intention is to provide examples with proper syntax, not to provide
;an actual working script. Look at install.001 distributed with
;Install-Pro for an example of an actual script. Please note that
;this is not supposed to displace the use of the documentation.
;Many helpful hints, suggestions and examples accompany the
;definitions for many of the commands.
;
;Advanced topics such as splitting and rejoining multi-disk files
;and running external programs are discussed fully in the
;documentation
;-----------------------------------------------------------------
; Commands that only are recognized in install.001
;-----------------------------------------------------------------
; The exact order for Disk 1 preprocessing is:
; 1. Check target machine for sufficient equipment, DOS version, etc.
; 2. Display welcome screen.
; 3. User completes form choosing OPTIONal portions of installation.
; 4. User enters destination directories.
; After these four tasks are completed, then disk-by-disk
; processing (described below) begins.
;-----------------------------------------------------------------
BANNER " Insert your opening screen title line here "
HELLO " Any number of lines of text like this can be defined here. "
HELLO " Up to 13 lines are allowed on a single screen.
HELLO " Screens may be broken up if desired with HELLOBREAK"
;Up to 8 user prompt lines can be entered here. These lines
;define the data entry form that the user sees, and creates space for
;the rest of the program to function.
USER label_1 "Prompt 1" C:\DEFAULT1
USER label_2 "Prompt 2" C:\DEFAULT2
;Make sure the user has some disk space left with this next
;optional command
SPACE label_1 150000
;Name your first installation disk something besides "Disk 1" with this
;next command.
FIRSTDISK "Install Disk"
;Define the target environment with these. Give the user a break
;and only define the ones that are essential.
;If you need a math coprocessor
FPU
;If you need a 286 or higher CPU (legal values are 86, 88, 286, 386)
CPU 286
;If you need MS-Dos 3.30 or higher
VER 3.30
;If you need 356K or more installed RAM
RAM 356
;If you need FILES= 20 or higher
CONFIGFILES 20
;If you need the path associated with label_1 added to autoexec.bat
PATH label_1
;Optional msg to tell your customer how to contact you:
ONERROR "Call XYZ Inc if the problem cannot be corrected"
;------------------------------------------------------------------
; Commands that are processed Disk-by-Disk
;------------------------------------------------------------------
; The exact order of processing for these commands is:
; 1. Create all subdirectories.
; 2. Transfer all files
; 3. Decompress files
; 4. Run external programs
;------------------------------------------------------------------
SUBDIR label_1 child1
SUBDIR label_2 child2\child3
;Any number of transfer files can go here - just make sure that you
;only specify those files on the current installation disk.
FILE label_1 file.001
FILE label_2 file.002
FILE label_3 file.003
;Transfer files to child subdirectories too
FILE label_1 child1\file.004
FILE label_2 child2\child3\file.005
;Want to distribute compressed files? Here's how to decompress them.
UNZIP label_1 ZIPfile
;--------------------------------------------------------------
; Commands that may appear anywhere safely
;--------------------------------------------------------------
GOODBYE " Build a thank-you screen, a good-bye screen, or whatever"
GOODBYE " kind of screen you want. Blank lines can be generated with"
GOODBYE ""
GOODBYE " empty quotes"
;------------------------------------------------------------------
; Commands that tell Install-Pro whether to continue to a new disk
;------------------------------------------------------------------
; The exact order of Install-Pro disk termination is:
; 1. Prompt for a new disk if needed -or-
; 2. Update autoexec.bat as needed.
; 3. Update config.sys as needed.
; 4. Chain to new installation if needed -or-
; 5. Display goodbye screen
; 6. End
;------------------------------------------------------------------
;END specifies that this is the last disk.
END
;DISK specifies that there are more disks to process
DISK "Utilities Disk"
;CHAIN attempts to load a new copy of Install-Pro for multiple
;installations in one sitting.
CHAIN
;Required for registered versions of Install-Pro - see the documentation
;for details.
AUTHORIZATION 00000