home *** CD-ROM | disk | FTP | other *** search
/ CD Action 12 A / cdactioncoverdisc / kknd / 2.rar / INSTALL.BAT < prev    next >
DOS Batch File  |  1997-01-29  |  2KB  |  73 lines

  1. echo off
  2. cls
  3. echo KKND Demo Installer
  4. echo -------------------
  5. echo.
  6. echo The Mission
  7. echo -----------
  8. echo    This demo features a single mission for the militant Survivors.
  9. echo   WARNING:  Don't attempt this mission without first playing the Evolved
  10. echo             mission.
  11. echo.
  12. echo UniVBE
  13. echo ------
  14. echo    If you find that KKND runs slowly on your machine, you may need to use
  15. echo   a Vesa driver.  We have included the shareware version of UniVBE 5.3 in
  16. echo   this download for you to install.
  17. echo.
  18. echo.
  19. pause
  20. cls
  21.  
  22.  
  23. if "%1"=="" goto install_instructions     ; No Option. goto normal instructions
  24.  
  25. :destination_instructions
  26. @echo off
  27. echo Installation
  28. echo ------------
  29. echo.                     
  30. echo    This batch file will install the KKND demo into the directory:
  31. echo      %1\
  32. echo.
  33. echo   It will then run the sound setup program.
  34. echo.                       
  35. choice /c:yn Do you wish to continue 
  36. if errorlevel 2 goto abort_exit
  37. goto install_to_directory
  38.  
  39.  
  40. :install_instructions
  41. @echo off
  42. echo Installation
  43. echo ------------
  44. echo.                     
  45. echo    This batch file will install the KKND demo into the current directory and
  46. echo   then run the sound setup program.
  47. echo.
  48. echo    If you wish to install into a different directory, then type INSTALL C:\KKND
  49. echo   at the command prompt, where C:\KKND is the destination directory.
  50. echo.                       
  51. choice /c:yn Do you wish to continue 
  52. if errorlevel 2 goto abort_exit
  53. goto install
  54.  
  55. :install
  56. pkunzip dont_run -d
  57. setsound
  58. goto exit
  59.  
  60. :install_to_directory
  61. pkunzip dont_run -d %1
  62. cd %1
  63. setsound
  64. echo   The KKND Survivor demo has been successfully installed.  Good Luck!
  65. goto exit
  66.  
  67. :abort_exit
  68. echo.
  69. echo Installation aborted.
  70. goto exit
  71.  
  72. :exit
  73.