home *** CD-ROM | disk | FTP | other *** search
/ Best of Mega Games for DOS / MEGA.iso / hexxag / install.ctl < prev    next >
Text File  |  1994-02-28  |  2KB  |  72 lines

  1. Window 1 1 80 25
  2. BackgroundColor 0
  3. ClearScreen
  4.  
  5. :Start
  6. DefaultPath            \hexxagon
  7. ProgramName            HEXX_SW
  8. DiskSpaceRequired      750000  ; Minimum amount of space needed to install
  9.  
  10. $╔═════════════════════════════════════════════════════════════════════════════╗
  11. $║                  Software Creations BBS (ASP) - (508) 365-2359              ║
  12. $║                             "Home Of The AUTHORS"                           ║
  13. $║      "Specializing in the Development & Distribution of Shareware"          ║
  14. $╚═════════════════════════════════════════════════════════════════════════════╝
  15. $
  16. Window 18 6 80 25
  17. gotoxy 1 1
  18. $╔═════════════════════════════════════╗
  19. $║   HEXXAGON Installation Program     ║
  20. $╠═════════════════════════════════════╣
  21. $║ This program will install:          ║
  22. $║  - HEXXAGON Program Version 2.0     ║
  23. $╚═════════════════════════════════════╝
  24. Window 1 6 80 25
  25. gotoxy 1 8
  26. GetYesNo Y Do you wish to continue installation 
  27. Switch UserInput
  28. goto Abort                      ; User is quiting installation
  29.  
  30. ClearScreen
  31. Window 12 6 80 25               ; Center the Disk display
  32. IdentifyDrives
  33. Window 1 6 80 25
  34. gotoxy 1 18
  35. GetDestinationDrive
  36. GetDestinationPath
  37. Window 1 1 80 25
  38. BackgroundColor 0
  39. ClearScreen
  40. $
  41. $Installing "HEXXAGON" to %ddrv%dpath...
  42. $
  43. %ddrv
  44. chdir %dpath
  45. %sdrv
  46. exists hexx_sw.exe
  47. switch ErrorLevel
  48. goto Abort                      ; File not found
  49. %ddrv
  50. %sdrvhexx_sw.exe
  51. %sdrv
  52. goto ExitGood
  53.  
  54. :Abort
  55. $
  56. $Installation aborted.
  57. $
  58. goto Exit
  59.  
  60. :ExitGood
  61. %ddrv
  62. Window 1 1 80 25
  63. ClearScreen
  64. Window 20 11 80 25              ; Put message in center of screen
  65. GotoXY 1 1
  66. $╔════════════════════════════════════╗
  67. $║    Installation was successful.    ║
  68. $║        Type HEXX to run.           ║
  69. $╚════════════════════════════════════╝
  70. :Exit
  71.  
  72.