home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Earth Treks
/
EarthTreksCD.iso
/
INSTALL.DAT
< prev
next >
Wrap
Text File
|
1995-02-13
|
6KB
|
284 lines
@DefineProject
@Name = "Earth Treks (tm)"
@Version = "1.0"
@SubDir = "\\EARTHTRK"
@OutDrive = C
@InDiskBell = 1
@Terse
@EndProject
@DefineVars
@Integer @DiskRequired = 7100000
@EndVars
@Display
@Cls
Magic Quest, Inc.
A Sanctuary Woods Company
Technical Support: (415) 286-6110
This program will install @Name Version @Version onto your
computer system and verify the integrity of the distribution files.
You may press the [Esc] key at any time to abort the installation.
@Pause
@EndDisplay
@Display
@If (@CPU < 286)
We are sorry, but your computer is an 80@CPU. @Name Requires
at least an 80286 IBM PC, TANDY or Compatible to run.
@Pause
@Abort
@Endif
@EndDisplay
@Display
@If (((@OSMajor * 100) + @OSMinor) < 330)
We are sorry, but your computer is running DOS version @OSMajor.@OSMinor
@Name requires DOS version 3.30 or higher.
@Pause
@Abort
@Endif
@EndDisplay
// splay
@If (@RAMAvail < 550K)
@GetOption
@LocalWindow(10,40)
@Option 10 = "Continue with Installation"
@Option 11 = "Abort Installation"
@Cls
We are sorry, but your computer has only @RAMAvail of available RAM.
@Name @Version needs a least a 550K of available RAM to load.
Please see the README file on the disk for tips in increasing your
available memory.
@EndOption
@If(11 [= @Option)
@Abort
@Endif
@Endif
//ndDisplay
@GetOption
@LocalWindow(4,35)
@Option 120 = "Standard Installation"
@Option 101 = "Custom Installation"
@Cls
Select the type of Installation you wish to perform
A "Standard" installation will install the @Name distribution
in the directory @SubDir on Drive @OutDrive: (@OutDrive:@SubDir)
A "Custom" installation will allow you to select which drive and directory
to install to.
Use the [Up Arrow], [Down Arrow], [PgUp], & [PgDn] keys to move the
flashing highlight bar to the type of installation you prefer.
Press [Enter] to select that type of distribution.
@EndOption
@If (120 [= @Option)
@OutDrive = C
@GoTo CheckFreeSpace
@EndIf
SelectDrive:
@ClearOption(1)
@GetOutDrive
@Suppress A
@Suppress B
@Cls
On which disk drive do you wish to install @Name?
@EndOutDrive
@GetSubdir
@Cls
Now you should specify the disk destination subdirectory. The
subdirectory is the location on your disk where @Name will
be installed. If you don't know what a "subdirectory" is, you
probably need not worry about it; just press the Enter key
to select the default subdirectory, @SubDir.
@Prompt = "Which subdirectory ([Enter] = @Subdir) ?"
@EndSubdir
CheckFreeSpace:
@If (@DiskFree @OutDrive < @Eval(@DiskRequired))
@GetOption
@LocalWindow(7,40)
@Name needs at least @Eval(@DiskRequired/1024)K of free disk space to
install. You only have @Eval(@DiskFree @OutDrive/1024)K bytes available on drive @outdrive.
What would you like to do at this time?
@Option 1 = "Choose another drive"
@Option 2 = "Abort the installation"
@EndOption
@If (1 [= @Option)
//
// If INSTALL falls into this block then the end-user has chosen to pick
// another drive to install onto because the currect drive they have chosen
// does not have the adequate free space.
//
@SetOption(99)
@Goto SelectDrive
@Elseif (2 [= @Option)
//
// If INSTALL gets here then the end-user has chosen to abort the installation.
// The end-user at this time will probably abort the installation, free up
// adequate space on their hard disk, and execute INSTALL again.
//
@Abort
@EndIf
@EndIf
@DefineDisk
@Label = "Disk #1"
@BeginLib DDB.001
@F 0 @S 2106 @O SBMP.IDX
@F 1 @S 6322 @O README.DOC
@F 2 @S 128350 @O CLRICONS
@F 3 @S 1594 @O CLRICONS.IDX
@F 4 @S 27 @O README.BAT
@F 5 @S 34 @O EARTHTRK.CFG
@F 6 @S 22184 @O SETUP.EXE
@F 7 @S 7173 @O 1.SND
@F 8 @S 1861 @O 0.SND
@F 9 @S 11973 @O 2.SND
@F A @S 4965 @O 3.SND
@F B @S 11845 @O 4.SND
@F C @S 3925 @O 5.SND
@F D @S 4421 @O 6.SND
@F E @S 4293 @O 7.SND
@F F @S 4261 @O 8.SND
@F G @S 6245 @O 9.SND
@F H @S 8254 @O 10.SND
@F I @S 5605 @O 11.SND
@F J @S 5301 @O 12.SND
@F K @S 1333 @O 13.SND
@F L @S 17445 @O 14.SND
@F M @S 18885 @O 15.SND
@F N @S 19013 @O 16.SND
@F O @S 8677 @O 17.SND
@F P @S 8261 @O 18.SND
@F Q @S 11109 @O 19.SND
@F R @S 7621 @O 20.SND
@F S @S 10414 @O 21.SND
@F T @S 5504 @O 22.SND
@F U @S 10368 @O 23.SND
@F V @S 6272 @O 24.SND
@F W @S 6587 @O 25.SND
@F X @S 3131 @O 26.SND
@F Y @S 10879 @O 27.SND
@F Z @S 6747 @O 28.SND
@F 00 @S 1435 @O 29.SND
@F 10 @S 4987 @O 30.SND
@F 20 @S 3637 @O 31.SND
@F 30 @S 498 @O SND.IDX
@F 40 @S 929 @O GAMEFILE.IDX
@F 50 @S 145747 @O GAMEFILE.DAT
@F 60 @S 380171 @O EARTHTRK.EXE
@F 70 @S 744960 @O EARTHTRK.STK
@F 80 @S 354 @O EARTHTRK.BDX
@F 90 @S 3394 @O EARTHTRK.CDX
@F A0 @S 3365611 @O EARTHTRK.GRP
@EndLib
@EndDisk
@DefineDisk
@Label = "Disk #1"
@BeginLib DDB.002
@F 0 @A EARTHTRK.GRP
@F 1 @S 88 @O EARTHTRK.BGX
@F 2 @S 848 @O EARTHTRK.CGX
@F 3 @S 7673 @O 32.SND
@F 4 @S 9343 @O 33.SND
@F 5 @S 6015 @O 34.SND
@F 6 @S 95608 @O ICONLIB.ICN
@F 7 @S 724 @O ETGAME.DAT
@F 8 @S 724 @O SGAME.DAT
@F 9 @S 137579 @O SYSFONT.FNT
@F A @S 26 @O STACKTAB
@F B @S 1345196 @O SBMP
@F C @S 99 @O EARTHTRK.SWI
@F D @S 575 @O EARTHTRK.FUN
@F E @S 6105 @O EARTHTRK.TX2
@F F @S 3999 @O EARTHTRK.NME
@F G @S 3075 @O VOCA.HAS
@F H @S 1760 @O EARTHTRK.TXT
@F I @S 4175 @O 35.SND
@F J @S 4 @O START
@F K @S 7800 @O BNK.DB
@F L @S 603 @O 36.SND
@F M @S 193593 @O EARTHTRK.TX3
@F N @S 3883 @O 37.SND
@F O @S 8883 @O 38.SND
@EndLib
@EndDisk
@SetConfig
@AskOverwrite
@Buffers = 20
@Files = 30
@EndConfig
@Finish
@ChDrive @OutDrive
@ChDir "@SubDir"
@Write("@OutDrive:@SubDir\\et.bat", "wt", "@@echo off\n@OutDrive:\ncd @OutDrive:@SubDir\nearthtrk")
@Write("@OutDrive:\\et.bat", "wt", "@@echo off\n@OutDrive:\ncd @OutDrive:@SubDir\nearthtrk")
@Spawn("Setup")
@Cls
The installation of @Name is now finished.
Enter ET at the DOS prompt to start
@Pause
@EndFinish