home *** CD-ROM | disk | FTP | other *** search
INSTALL Professional project | 1995-02-13 | 7.1 KB | 311 lines |
- @DefineProject
- @Name = "Time Treks(R)"
- @Version = "1.2"
- @SubDir = "\\TIMETREK"
- @OutDrive = C
- @Group = "A"
- @InDiskBell = 1
- @Terse
- @EndProject
-
- @DefineVars
- @Integer @DiskMemReqd = 5258791
- @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.
-
- Each question this program asks you has a default answer. If the
- default answer is correct, press the ENTER key in response to the
- question. Otherwise, type the answer and then press the ENTER key.
-
- If you make a mistake while typing, press the BACKSPACE key and
- then retype the answer.
-
- @Pause
- @EndDisplay
-
- /* Check Compatibility */
- @If (@VideoCard != 'V')
- @Display
- You need a VGA Adaptor and Monitor to run @Name!
- Your system does not have this...
- @Pause
- @Abort
- @EndDisplay
- @Endif
- @If (((@OSMajor * 100) + @OSMinor) < 330)
- @Display
- We are sorry, but your computer is running DOS version @OSMajor.@OSMinor
- @Name requires DOS version 3.30 or higher.
- @Pause
- @Abort
- @EndDisplay
- @Endif
-
- @GetOption
- @LocalWindow(4,35)
- @Option 100 = "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
- /*
- Your @cpu-based computer has the following system components:
- @Eval(@RamAvail/1024)K Avail RAM / @eval(@ExtAvail/1024)K Avail EXT RAM / @eval(@EmmAvail/1024)K Avail EMM RAM
- */
-
- @If(100 [= @Option)
- @OutDrive = C
- @GoTo Check_Free_Space
- @EndIf
-
- LIST_DRIVES: // This label is an "@GOTO" destination
- @ClearOption(1)
-
- @GetOutDrive
- @Suppress A
- @Suppress B
- @LocalWindow(12,40)
-
- Please select the drive where you wish @Name to be installed on your
- machine. Any available drive (except the floppies A: and B:) can be
- selected assuming you have access rights to the drive you select, and
- there is enough space available for installation.
-
-
-
-
-
-
-
-
-
-
-
- Use the [Up Arrow], [Down Arrow], [Pg Up], & [Pg Dn] keys to move the bar
- to your selection and then press the [Enter] key.
-
- @EndOutDrive
-
- @if (@Removable)
- @Display
- You cannot install @Name onto a floppy drive!
-
- @Abort
- @EndDisplay
- @EndIf
-
- @If (99 [= @Option)
- @GoTo Check_Free_Space
- @EndIf
-
- @GetSubdir
- @LocalWindow(11,40)
- @Cls
- Please select the PATH that you wish @Name to be installed under.
-
-
-
-
- @EndSubdir
-
- Check_Free_Space:
-
- @If (@DiskFree @OutDrive < @Eval(@DiskMemReqd))
-
- @GetOption
- @LocalWindow(7,40)
- @Name needs at least @Eval(@DiskMemReqd/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 LIST_DRIVES
- @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.
- //
- @Exit
- @EndIf
- @EndIf
-
- @DefineDisk
- @Label = "Disk #1"
- @BeginLib TIMETREK.001
- @F 0 @S 2637421 @O TIMETREK.GRP
- @EndLib
- @EndDisk
-
-
- @DefineDisk
- @Label = "Disk #1"
- @BeginLib TIMETREK.002
- @F 0 @A TIMETREK.GRP
- @F 1 @S 1050528 @O TIMETREK.STK
- @EndLib
- @EndDisk
-
-
- @DefineDisk
- @Label = "Disk #1"
- @BeginLib TIMETREK.003
- @F 0 @A TIMETREK.STK
- @F 1 @S 371515 @O TIMETREK.EXE
- @F 2 @S 137579 @O SYSFONT.FNT
- @F 3 @S 527871 @O SBMP
- @F 4 @S 72268 @O ICONLIB.ICN
- @F 5 @S 26041 @O SETUP.EXE
- @F 6 @S 19173 @O 20.SND
- @EndLib
- @EndDisk
-
-
- @DefineDisk
- @Label = "Disk #1"
- @BeginLib TIMETREK.004
- @F 0 @A 20.SND
- @F 1 @S 19014 @O 45.SND
- @F 2 @S 18850 @O 43.SND
- @F 3 @S 18065 @O HGAME.DAT
- @F 4 @S 18018 @O 44.SND
- @F 5 @S 17506 @O 42.SND
- @F 6 @S 16133 @O 19.SND
- @F 7 @S 14213 @O 36.SND
- @F 8 @S 13957 @O 32.SND
- @F 9 @S 9272 @O README.DOC
- @F A @S 11109 @O 21.SND
- @F B @S 11083 @O 18.SND
- @F C @S 10091 @O 6.SND
- @F D @S 9498 @O 34.SND
- @F E @S 9061 @O 35.SND
- @F F @S 9029 @O 23.SND
- @F G @S 8943 @O 25.SND
- @F H @S 8011 @O 37.SND
- @F I @S 8005 @O 29.SND
- @F J @S 7872 @O TIMETREK.NME
- @F K @S 7800 @O BNK.DB
- @F L @S 7755 @O 5.SND
- @F M @S 7627 @O 33.SND
- @F N @S 7554 @O TIMETREK.CDX
- @F O @S 7533 @O 28.SND
- @F P @S 7365 @O 17.SND
- @F Q @S 7023 @O 27.SND
- @F R @S 6747 @O 4.SND
- @F S @S 6587 @O 0.SND
- @F T @S 6187 @O 3.SND
- @F U @S 6022 @O 31.SND
- @F V @S 5173 @O 22.SND
- @F W @S 5061 @O 39.SND
- @F X @S 4987 @O 11.SND
- @F Y @S 4965 @O 41.SND
- @F Z @S 4862 @O 30.SND
- @F 00 @S 4395 @O 16.SND
- @F 10 @S 4229 @O 1.SND
- @F 20 @S 4132 @O FGAME2.DAT
- @F 30 @S 3883 @O 24.SND
- @F 40 @S 3637 @O 13.SND
- @F 50 @S 3599 @O 26.SND
- @F 60 @S 3131 @O 12.SND
- @F 70 @S 3109 @O BGAME.DAT
- @F 80 @S 3087 @O EGAME.DAT
- @F 90 @S 3075 @O VOCA.HAS
- @F A0 @S 2885 @O 7.SND
- @F B0 @S 2875 @O 15.SND
- @F C0 @S 2795 @O GGAME.DAT
- @F D0 @S 2576 @O KGAME.DAT
- @F E0 @S 2507 @O LGAME.DAT
- @F F0 @S 2485 @O 40.SND
- @F G0 @S 2154 @O CGAME.DAT
- @F H0 @S 2081 @O DGAME.DAT
- @F I0 @S 1888 @O TIMETREK.CGX
- @F J0 @S 1653 @O 8.SND
- @F K0 @S 1173 @O 9.SND
- @F L0 @S 1099 @O 2.SND
- @F M0 @S 1035 @O 10.SND
- @F N0 @S 754 @O TIMETREK.BDX
- @F O0 @S 724 @O SGAME.DAT
- @F P0 @S 603 @O 14.SND
- @F Q0 @S 600 @O SND.IDX
- @F R0 @S 261 @O 38.SND
- @F S0 @S 260 @O IGAME.DAT
- @F T0 @S 298 @O SBMP.IDX
- @F U0 @S 188 @O TIMETREK.BGX
- @F V0 @S 119 @O FGAME.DAT
- @F W0 @S 99 @O TIMETREK.SWI
- @F X0 @S 96 @O TTGAME.DAT
- @F Y0 @S 40 @O TIMETREK.CFG
- @F Z0 @S 30 @O CONFIG.SYS
- @F 01 @S 27 @O STACKTAB
- @F 11 @S 25 @O README.BAT
- @F 21 @S 4 @O START
- @F 31 @S 3 @O TIMETREK.FUN
- @F 41 @S 57 @O TT.BAT
- @EndLib
- @EndDisk
-
- @SetConfig
- @AskOverWrite
- @Buffers = 20
- @Files = 25
- @EndConfig
-
- @Finish
-
- @ChDrive @OutDrive
- @ChDir "@SubDir"
-
- @Write("@OutDrive:@SubDir\\TT.bat", "wt", "@@echo off\n@OutDrive:\ncd @OutDrive:@SubDir\ntimetrek")
- @Write("@OutDrive:\\TT.bat", "wt", "@@echo off\n@OutDrive:\ncd @OutDrive:@SubDir\ntimetrek")
- @Spawn("Setup")
- @Cls
-
- The installation of @Name is now finished.
- Enter TT at the DOS prompt to start
-
- @Pause
-
- @EndFinish
-
- // end-of-file