home *** CD-ROM | disk | FTP | other *** search
/ CD Action 7 B / cdactioncoverdisc / rama / install.scr < prev    next >
Text File  |  1996-04-29  |  2KB  |  85 lines

  1. rem *** Setup tests ***
  2.  
  3. TESTDIR %1:%4
  4. SPACE %1 18400 NoSpace
  5. GODIR %1:%4 CantCreate
  6.  
  7. rem *** Start installation ***
  8.  
  9. echo Copying Startup files ...
  10. rem Install dependant files
  11. copy %2:*.drv                    %1:
  12. copy %2:*.hlp                    %1:
  13. copy %2:*.txt                    %1:
  14. copy %2:install.exe        %1:
  15.  
  16. rem *** Game specific files ***
  17.  
  18. COPY %2:VERSION                    %1:
  19. COPY %2:SIERRA.EXE            %1:
  20. COPY %2:*.DLL                        %1:
  21. COPY %2:SIERRA.ERR            %1:
  22. COPY %2:\VMD\*.VMD            %1:
  23. copy %2:\patches\*.*        %1:
  24. copy %2:demo.dat                %1:
  25.  
  26. rem *** Copies contents of Resource confiuration file to hard drive. ***
  27.  
  28. ECHO %3 > RESOURCE.CFG
  29. echo cdSpeed  =2                 >>resource.cfg
  30. echo resAUD   =CD:\              >>resource.cfg
  31. echo resSFX   =CD:\              >>resource.cfg
  32. echo resMAP   =CD:\;%1:%4        >>resource.cfg
  33. echo rescdisc =CD:\              >>resource.cfg
  34. echo robot    =CD:\robots                >>resource.cfg
  35. echo movieDir =%1:%4;CD:\vmd         >>resource.cfg
  36. echo patchDir =%1:%4;CD:\patches >>resource.cfg
  37. echo CD:      =%2:;              >>resource.cfg
  38.  
  39. rem *** Create batch files to start
  40.  
  41. echo @echo off                                  >ramademo.bat
  42. echo cd %1:%4                                     >>ramademo.bat
  43. echo @if exist vesadrv.bat call vesadrv.bat    >>ramademo.bat
  44. echo %1:%4\sierra %1:%4\resource.cfg              >>ramademo.bat
  45.  
  46. copy ramademo.bat ..\ramademo.bat
  47. echo cd ..                                                 >>..\ramademo.bat
  48.  
  49. rem *** VESA Installation ***
  50. %2:
  51. cd\
  52. vesainst /Vvesa /B%1:%4 /TSIERRA.DIB
  53. %1:
  54.  
  55. rem *** Installation Complete ***
  56. clear
  57. echo
  58. echo    Rama Demo Installation Complete.
  59. echo
  60. echo    To play NOW:
  61. echo     At the DOS prompt, 
  62. echo        type RAMADEMO and press [ENTER]
  63. echo
  64. echo    To play LATER:
  65. echo     From the directory of %1:%4,
  66. echo        type RAMADEMO and press [ENTER]
  67. echo
  68. echo
  69. echo
  70. echo
  71. pause
  72. end
  73.  
  74. rem *** Error Messages ***
  75.  
  76. :CantCreate
  77. alert Unable to create directory, %1:%4
  78. end
  79.  
  80. :NoSpace
  81. alert 18400 Kilobytes ( 17.89 MegaBytes ) are required on %1:, to install the Rama Demo.
  82. end
  83.  
  84. 
  85.