home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / private / ts1993.zip / INSTALL.DAT < prev    next >
Text File  |  1993-01-12  |  2KB  |  87 lines

  1. @DefineProject
  2.   @Name="TRAVEL SEARCH"
  3.   @Version="2.0"
  4.   @OutDrive=C
  5.   @Subdir="\\TSDIR"
  6. @EndProject
  7.  
  8. @Display
  9.  
  10.  
  11.  
  12.  
  13.  
  14.   This program will install @Name version @Version onto your PC in a
  15.   directory called TSDIR.  You will be asked for the output drive.
  16.  
  17.   After the installation is complete, you will need to reboot your
  18.   computer. Then, enter TSTRAVEL at the DOS prompt to run the demo.
  19.  
  20.   @Pause
  21. @EndDisplay
  22.  
  23. @If (((@OSMajor * 100) + @OSMinor) < 200)
  24.   @Display @Name version @Version requires DOS Version 2.0 or higher
  25.   @Pause
  26.   @Abort
  27. @EndIf
  28.  
  29. @If (@RAMTotal < 630K)
  30.   @Display @Name version @Version requires 640K of memory to run
  31.   @Pause
  32.   @Abort
  33. @EndIf
  34.  
  35. @GetOutDrive
  36.   Which drive would you like to install @Name onto?
  37. @EndOutDrive
  38. /*
  39. @If (@Removable)
  40.   @Display
  41.     You can't install @Name onto a floppy drive!
  42.     @Pause
  43.     @Abort
  44.   @EndDisplay
  45. @EndIf
  46.  */
  47. @If (@DiskFree @OutDrive < 3000000)
  48.   @Display TravelSearch requires 3 Megabytes of Disk Space, Disk @OutDrive
  49.   only has @DiskFree @OutDrive bytes.
  50.   @Pause
  51.   @Abort
  52. @EndIf
  53. /*
  54. @GetSubdir
  55.   Which directory on @OutDrive would you like to install @Name to?
  56.   @Prompt = "Which directory? - Press ENTER to accept the default directory"
  57. @EndSubdir
  58.  */
  59. @DefineDisk
  60.   @Label="CT/MA Demo Disk Number 1"
  61.   @File DBFS.ZIP
  62.   @File IDX.ZIP
  63.   @File RTIME.ZIP
  64.   @File PKUNZIP.EXE
  65.   @File ENDINST.BAT
  66. @EndDisk
  67. /*
  68. @SetAutoexec
  69.   @AskOverwrite
  70.   @Path="@OutDrive:\\@Subdir"
  71. @EndAutoexec
  72.  */
  73. @SetConfig
  74.   @AskOverwrite
  75.   @Buffers=30
  76.   @Files=40
  77. @EndConfig
  78.  
  79. @ChDrive @OutDrive
  80. @ChDir "\\@SubDir"
  81.  
  82. @Finish
  83.   @Write ("@OutDrive:\\@SubDir\\tstravel.bat", "wt", "SET TSDIR=\\@Subdir\n")
  84.   @Write (,, "TSEARCH\n")
  85.   @System "endinst", " "
  86. @EndFinish
  87.