home *** CD-ROM | disk | FTP | other *** search
/ The Disc (Australian) 3 / DISC3.iso / HURL / INSTALL.DAT < prev    next >
Text File  |  1995-01-01  |  5KB  |  170 lines

  1. // Installation program for HURL. Only for DOS.
  2.  
  3. @DefineProject
  4.    @Name     = "H.U.R.L."
  5.    @Version  = "1.0"
  6.    @Subdir   = "\\hurl\\"
  7.    @OutDrive = C
  8.    @Group    = "A"
  9.    @Terse
  10.    @Immediate = 1
  11. @EndProject
  12.  
  13. @DefineVars
  14.         @Integer @NEEDK = 1000000
  15.  
  16.         @Integer @Red      = @RGB(255,0,0)  // red
  17.         @Integer @Green    = @RGB(0,255,0)  // green
  18.         @Integer @Blue     = @RGB(0,0,255)  // blue
  19.         @Integer @Black    = @RGB(0,0,0)    // black
  20.  
  21.         @Qstring @Item1    = "@Outdrive:\\@Subdir\\hurl.bat"
  22. @EndVars
  23.  
  24. @BackgroundMode(3,@Blue,@Black)
  25. @Display
  26.    @Cls
  27.    Welcome to @Name! This INSTALL program will copy some files
  28.    to your hard disk.  These files don't take up much room and
  29.    will get you started playing the game.
  30.    @Pause
  31. @EndDisplay
  32.  
  33. @BackgroundMode(3,@Blue,@Black)
  34. @GetOutDrive
  35.         Select the drive where you would like to install @Name.
  36.         @Suppress(0,17) // Suppress floppies & CD-ROM
  37. @EndOutDrive
  38.  
  39. @BackgroundMode(3,@Blue,@Black)
  40. @GetSubdir
  41.  
  42.         Enter the directory where you would like to install @Name.
  43.  
  44.         @Prompt = "Press Enter to select @Subdir"
  45. @EndSubdir
  46.  
  47. @Display
  48.            @If(@DiskFree(@OutDrive) < @NEEDK)
  49.                 The drive you have selected only has
  50.                 @DiskFree(@OutDrive) bytes. This
  51.                 option requires 1MB of disk space.
  52.                 Please clear some space from the disk
  53.                 and run INSTALL again.
  54.                 @Pause
  55.                 @Abort
  56.            @EndIf
  57. @EndDisplay
  58.  
  59. @BackgroundMode(3,@Blue,@Black)
  60. @DefineDisk
  61.         @Label = "Disk Number 1"
  62.         @File readme.txt
  63.         @File setsound.exe
  64.         @File setm.exe
  65.         @File setm.xmi
  66.         @File setd.exe
  67.         @File setd.snd
  68.         @File adlibg.com
  69.         @File cmidpak.com
  70.         @File digauto.com
  71.         @File digvesa.com
  72.         @File gf166.com
  73.         @File mpu.com
  74.         @File opl2.com
  75.         @File pas16.com
  76.         @File paswave.com
  77.         @File paudio.com
  78.         @File pmidpak.com
  79.         @File sb16.com
  80.         @File sbclone.com
  81.         @File sblaster.com
  82.         @File sbpro.com
  83.         @File sbwave.com
  84.         @File smidpak.com
  85.         @File sswave.com
  86.         @File tmidpak.com
  87.         @File vector.com
  88.         @File adlib.add
  89.         @File adlib.adv
  90.         @File adlibg.add
  91.         @File adlibg.adv
  92.         @File ariaxmid.add
  93.         @File ariaxmid.adv
  94.         @File genmid.add
  95.         @File genmid.adv
  96.         @File gf1midi.add
  97.         @File gf1midi.adv
  98.         @File mt32mpu.add
  99.         @File mt32mpu.adv
  100.         @File multisnd.add
  101.         @File multisnd.adv
  102.         @File nosound.com
  103.         @File pasfm.add
  104.         @File pasfm.adv
  105.         @File pasopl.add
  106.         @File pasopl.adv
  107.         @File sbawe32.add
  108.         @File sbawe32.adv
  109.         @File sbfm.add
  110.         @File sbfm.adv
  111.         @File sbp1fm.add
  112.         @File sbp1fm.adv
  113.         @File sbp2fm.add
  114.         @File sbp2fm.adv
  115.         @File sc32mpu.add
  116.         @File sc32mpu.adv
  117.         @File sensat.add
  118.         @File sensat.adv
  119.         @File vesamid.add
  120.         @File vesamid.adv
  121.         @File wss.add
  122.         @File wss.adv
  123.         @File fat.opl
  124. @EndDisk
  125.  
  126. @Display
  127.  
  128.    @Cls
  129.    @Name has been installed on your hard disk.  You will now
  130.    set up your sound card.
  131.  
  132.    There are two parts to sound setup:  digital sound and MIDI music.
  133.    The INSTALL program can automatically detect a Sound Blaster
  134.    compatible card on your system.  However, if you have something
  135.    other than a Sound Blaster compatible card you need to tell it
  136.    the type of card you are using.
  137.  
  138.    To set up your sound card, you will scroll through a list of
  139.    sound cards.  If INSTALL detects your sound card, it will
  140.    list it in red at the bottom of the list.
  141.    @Pause
  142. @EndDisplay
  143.  
  144. @Finish
  145.    @ChDrive @OutDrive
  146.    @ChDir("\\")
  147.    @ChDir("@Subdir")
  148.  
  149.    // MOVE OVER TO THE CD
  150.    @Write("HURL.BAT","wt","@CDRomFirst:\n")
  151.    @Write("HURL.BAT","at","cd \\hurl\n")
  152.    // START THE BATCH FILE
  153.    @Write("HURL.BAT","at","h -d @Outdrive:\\@Subdir\\ %1 %2 %3 %4 %5 %6 %7 \n")
  154.    // AT END OF GAME RETURN TO HARD DRIVE
  155.    @Write("HURL.BAT","at","@Outdrive:\n")
  156.  
  157.    @Write("hurl4meg.BAT","wt","@CDRomFirst:\n")
  158.    @Write("hurl4meg.BAT","at","cd \\hurl\n")
  159.    @Write("hurl4meg.BAT","at","set DOS4GVM=@@new4g.vmc\n")
  160.    @Write("hurl4meg.BAT","at","h -d @Outdrive:\\@Subdir\\ %1 %2 %3 %4 %5 %6 %7 \n")
  161.    @Write("hurl4meg.BAT","at","set DOS4GVM=\n")
  162.    @Write("hurl4meg.BAT","at","@Outdrive:\n")
  163.  
  164.    @Execute("setsound.EXE")
  165. @EndFinish
  166. /* end-of-file */
  167.  
  168.  
  169.  
  170.