home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer 3.3 / 1997-06_Disc_3.3.iso / kknd / install.bat < prev    next >
DOS Batch File  |  1997-01-29  |  2KB  |  71 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 freaky Evolved.  If you're
  9. echo   hungry for more then download the Survivor mission for a real challenge.
  10. echo.
  11. echo UniVBE
  12. echo ------
  13. echo    If you find that KKND runs slowly on your machine, you may need to use
  14. echo   a Vesa driver.  We have included the shareware version of UniVBE 5.3 in
  15. echo   this download for you to install.
  16. echo.
  17. echo.
  18. pause
  19. cls
  20.  
  21. if "%1"=="" goto install_instructions     ; No Option. goto normal instructions
  22.  
  23. :destination_instructions
  24. @echo off
  25. echo Installation
  26. echo ------------
  27. echo.                     
  28. echo    This batch file will install the KKND demo into the directory:
  29. echo      %1\
  30. echo.
  31. echo   It will then run the sound setup program.
  32. echo.                       
  33. choice /c:yn Do you wish to continue 
  34. if errorlevel 2 goto abort_exit
  35. goto install_to_directory
  36.  
  37.  
  38. :install_instructions
  39. @echo off
  40. echo Installation
  41. echo ------------
  42. echo.                     
  43. echo    This batch file will install the KKND demo into the current directory and
  44. echo   then run the sound setup program.
  45. echo.
  46. echo    If you wish to install into a different directory, then type INSTALL C:\KKND
  47. echo   at the command prompt, where C:\KKND is the destination directory.
  48. echo.                       
  49. choice /c:yn Do you wish to continue 
  50. if errorlevel 2 goto abort_exit
  51. goto install
  52.  
  53. :install
  54. pkunzip dont_run -d
  55. setsound
  56. goto exit
  57.  
  58. :install_to_directory
  59. pkunzip dont_run -d %1
  60. cd %1
  61. setsound
  62. echo   The KKND Evolved demo has been successfully installed.  Good Luck!
  63. goto exit
  64.  
  65. :abort_exit
  66. echo.
  67. echo Installation aborted.
  68. goto exit
  69.  
  70. :exit
  71.