home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Share Gallery 1
/
share_gal_1.zip
/
share_gal_1
/
VB
/
VB012A.ZIP
/
INSTALL.DA7
< prev
next >
Wrap
Text File
|
1991-08-31
|
3KB
|
150 lines
/*
* FILE: EXAMPLE1.DAT
*
* DESC:
* This sample script file shows the general format of a script file.
* The new @ChDir and @ChDrive commands are also demonstrated in the
* @Finish/@EndFinish block.
*/
@DefineProject
@Name = "Men on Women/Women on Men" /* Product Textual Name: */
@Version = "1.00"
@Subdir = "MenWomen" /* this is where Lattice puts files */
@OutDrive = Z
/* @Group = "A"
*/
@EndProject
@Display
@Cls
MEN ON WOMEN
WOMEN ON MEN
Hard Disk Installation
V@Version
Requirements: Space - 2.0 megabytes on hard disk drive;
Time - About 3 minutes;
Memory - 640K RAM (At least 525K free).
Note: It is only necessary to run Install once.
@Pause
@EndDisplay
@GetOutDrive
@Suppress A
@Suppress B
@Cls
To which drive should INSTALL copy the files?
Use <Arrow Keys> to select from multiple hard drives.
Press <Enter> to continue.
@EndOutDrive
@Display
@If (@DiskFree @OutDrive < 2000000)
There is insufficient free space on Destination Drive @OutDrive.
Free Bytes Available: @DiskFree @OutDrive Bytes Required: 2,000,000.
This installation program is going to terminate.
Select a different hard drive or free space on current choice.
@Pause
@Abort
@EndIf
@EndDisplay
@GetSubdir
@Cls
Men on Women/Women on Men should be installed in its own subdirectory.
You may change the directory below if necessary.
Press <Enter> to continue.
@Prompt = "Which subdirectory (<Enter> = @Subdir) ?"
@EndSubdir
@DefineDisk
@Label = "DISK ONE"
@BeginLib DISKONE.LIF
@File MENWOMEN.DAT
@File MENWOMEN.IX
@EndLib
@BeginLib DISKTWO.LIF
@File MW.EXE
@File READER.HLP
@File CONFIG.DAT
@File CONFIG.IX
@File READ.ME
@File EXAMPLES.DOC
@EndLib
@EndDisk
@Finish
@Cls
@Name is about to begin.
@Pause
@ChDrive @OutDrive /* change to the output drive */
@ChDir "@Subdir" /* change to the output subdirectory */
@Execute "mw"," " /* execute the program vcdemo */
@EndFinish
/* end-of-file */