home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 18 / DISK1.iso / citizens / install.bat < prev    next >
DOS Batch File  |  1996-05-21  |  2KB  |  96 lines

  1. @echo off
  2. rem *
  3. rem * Install DestinationDrive: CDROMDrive:
  4. rem *
  5.  
  6. cls
  7. echo                        Citizens : Backwater Affairs
  8. echo.
  9. echo                    (C) Copyright 1996 - Microprose Ltd.
  10. echo.
  11. echo.
  12. echo                              INSTALL  PROGRAM
  13. echo.
  14. echo          Citizens the game works under Windows 3.1 and Windows 95.
  15. echo              This install program DOES NOT, please run in DOS.
  16. echo.
  17. echo.
  18. echo This installer will copy the entire citizens game onto your local hard disk the
  19. echo approximate required space is 55 Megabytes. This is required at the present
  20. echo time if you want music and some sound effects.
  21. echo.
  22. echo The game can be run from the cdrom by executing the batch file 'CITIZENS'. This
  23. echo version however will not have any music or sound effects.
  24. echo.
  25. echo To continue with the installation press a key else press 'CONTROL'+'C' to abort.
  26. echo.
  27. PAUSE > NUL
  28.  
  29. rem Make sure that the correct number of parameters actually exist.
  30. if Test%1 == Test GOTO NoParameters
  31. if Test%2 == Test GOTO NoParameters
  32.  
  33. echo Installing from CDROM %2 to %1\MPS\CITIZENS. 
  34. echo Please Wait, Installation May Take Between 5 and 10 Minutes.
  35. echo Creating Directory Structure
  36. rem Okay lets now create the directory structure on the destination drive
  37. %1
  38. cd\
  39. mkdir MPS
  40. cd MPS
  41. mkdir CITIZENS
  42. cd CITIZENS
  43. mkdir SRC
  44. mkdir SRC\SOUND
  45. mkdir GRAPHICS
  46. mkdir DATA
  47. mkdir DATA\PEOPLE
  48. mkdir DATA\TOWN
  49. mkdir DATA\PLOT
  50. mkdir DATA\GOSSIP
  51.  
  52. echo Copying system files...
  53. rem This may be over complicating the matter but it will do for the time being.
  54. copy %2\CITIZENS\readme.txt >NUL
  55. copy %2\CITIZENS\game.bat citizens.bat >NUL
  56. copy %2\CITIZENS\SRC\*.* SRC >NUL
  57. copy %2\CITIZENS\SRC\SOUND\*.* SRC\SOUND >NUL
  58. echo Copying graphics...
  59. copy %2\CITIZENS\GRAPHICS\*.* GRAPHICS >NUL
  60. echo Copying data tables...
  61. copy %2\CITIZENS\DATA\*.*  DATA\*.* >NUL
  62. copy %2\CITIZENS\DATA\PEOPLE\*.* DATA\PEOPLE >NUL
  63. copy %2\CITIZENS\DATA\TOWN\*.* DATA\TOWN >NUL
  64. copy %2\CITIZENS\DATA\PLOT\*.* DATA\PLOT >NUL
  65. copy %2\CITIZENS\DATA\GOSSIP\*.* DATA\GOSSIP >NUL
  66.  
  67. echo.
  68. echo Copying Completed.
  69. echo.
  70. echo. Initialising sound, stand by.
  71.  
  72. cd SRC
  73. setup
  74. cls
  75. echo Citizens installation complete. 
  76. echo Type 'CITIZENS' to run the game. 
  77. cd ..
  78.  
  79. GOTO Done
  80.  
  81.  
  82. :NoParameters
  83. echo Not enough parameters specified.
  84. GOTO Usage
  85.  
  86. :Usage
  87. echo Usage:
  88. echo.
  89. echo       Install DestinationDrive: CDROMDrive:
  90. echo.
  91.  
  92. :Done
  93.  
  94.  
  95.  
  96.