home *** CD-ROM | disk | FTP | other *** search
/ MORE WinGames / WINGAMES.iso / mm250s / install.bat < prev    next >
DOS Batch File  |  1993-01-05  |  3KB  |  92 lines

  1. @echo off
  2. echo off
  3. cls
  4. echo                   Nisus Missile Master Installation
  5. echo          Copyright (c) 1993 Nisus Development & Technology
  6. echo.
  7. echo [ This batch file will install Nisus Missile Master on your hard disk. ]
  8. echo [ It should only be used if the Windows SETUP method failed.  If you   ]
  9. echo [ have not tried installing through Windows, please press CTRL-C at    ]
  10. echo [ the next prompt and start Windows, then choose "RUN" from the        ]
  11. echo [ Program Manager's "FILE" menu, and type "A:\SETUP".                  ]
  12. echo.
  13. echo [ IMPORTANT!                                                           ]
  14. echo [ This batch file will copy certain files to your Windows system       ]
  15. echo [ directory.  If you have newer versions of the files already existing ]
  16. echo [ on your Windows system directory, this install routine will          ]
  17. echo [ OVERWRITE them.  This is why the Windows SETUP method should be      ]
  18. echo [ be used if possible, as it will check file versions and prevent this ]
  19. echo [ problem.                                                             ]
  20. echo.
  21. echo Press [ENTER] to continue with batch file installation,
  22. echo or press [CTRL-C] to abort...
  23. pause > NUL
  24. if %1. == . goto BADPARAM
  25. if %2. == . goto BADPARAM
  26. if not exist %2%\NUL goto BADWINDIR
  27. md %1%
  28. if not exist %1%\NUL goto BADMAKDIR
  29. rem ------------------------
  30. rem   Windows System Files
  31. rem ------------------------
  32. cls
  33. echo Copying Windows files....
  34. copy vbrun200.dll %2%\system
  35. copy commdlg.dll %2%\system
  36. copy *.vbx %2%\system
  37. rem ------------------------
  38. rem       Game Files
  39. rem ------------------------
  40. cls
  41. echo Copying Game files....
  42. copy *.wav %1% 
  43. copy metblast.mid %1% 
  44. copy missile.exe %1% 
  45. copy boink.exe %1%
  46. copy missile.hlp %1% 
  47. copy readme.txt %1% 
  48. echo.
  49. echo Installation complete, press [ENTER] to continue...
  50. pause > NUL
  51. cls
  52. echo When you start Windows, you must create a Program Manager item for
  53. echo Nisus Missile Master and Boink!.  If you need assistance with creating 
  54. echo items, please refer to Chapter 3 of the Microsoft Windows User's Guide 
  55. echo under "Working with Program Items". (page 78 in my copy).
  56. echo.
  57. goto END
  58. :BADPARAM
  59. echo. 
  60. echo ERROR:
  61. echo You did not provide enough parameters.  In order for this install batch
  62. echo to work, you must provide the directory name where you want Nisus
  63. echo Missile Master to be installed, as well as your Windows directory name
  64. echo so that special files may be copied into your Windows area.
  65. echo.
  66. goto USEAGE
  67. :BADWINDIR
  68. echo.
  69. echo ERROR:
  70. echo The Windows directory you specified (%2%) does not exist.
  71. echo Please double check the name of your Windows directory and try again.
  72. echo.
  73. goto USEAGE
  74. :BADMAKDIR
  75. echo.
  76. echo ERROR:
  77. echo There was a problem creating the directory you specified to install
  78. echo Nisus Missile Master to (%1%).  Please try another directory name.
  79. echo.
  80. goto USEAGE
  81. :USEAGE
  82. echo Usage: INSTALL [directory] [Windows directory]
  83. echo    eg: INSTALL c:\games\missmast c:\windows
  84. echo.
  85. goto END
  86. :END
  87.  
  88.  
  89.  
  90.  
  91.  
  92.