home *** CD-ROM | disk | FTP | other *** search
/ Hoog Spel 50 / Hoogspel50CDROM.iso / RAMA / ENGLISH / INSTALL.SCR < prev    next >
Text File  |  1996-07-29  |  2KB  |  80 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:\Rama\english\*.drv            %1:
  12. copy %2:\Rama\english\*.hlp            %1:
  13. copy %2:\Rama\english\*.txt            %1:
  14. copy %2:\Rama\english\install.exe    %1:
  15.  
  16. rem *** Game specific files ***
  17.  
  18. COPY %2:\Rama\VERSION                    %1:
  19. COPY %2:\Rama\SIERRA.EXE                %1:
  20. COPY %2:\Rama\*.DLL                        %1:
  21. COPY %2:\Rama\SIERRA.ERR                %1:
  22. COPY %2:\Rama\VMD\*.VMD                    %1:
  23. copy %2:\Rama\english\patches\*.*    %1:
  24.  
  25. rem *** Copies contents of Resource confiuration file to hard drive. ***
  26.  
  27. ECHO %3 > RESOURCE.CFG
  28. echo cdSpeed  =2                         >>resource.cfg
  29. echo resAUD   =CD:\RAMA                  >>resource.cfg
  30. echo resSFX   =CD:\RAMA                  >>resource.cfg
  31. echo resMAP   =CD:\RAMA\DOS;%1:%4           >>resource.cfg
  32. echo ressci   =CD:\RAMA\DOS                 >>resource.cfg
  33. echo movieDir =%1:%4;CD:\Rama\vmd        >>resource.cfg
  34. echo patchDir =%1:%4;CD:\Rama\patches     >>resource.cfg
  35. echo CD:      =%2:;                      >>resource.cfg
  36. echo language =1                                >>resource.cfg
  37.  
  38. rem *** Create batch files to start
  39.  
  40. echo @echo off                                  >ramademo.bat
  41. echo cd %1:%4                                     >>ramademo.bat
  42. echo @if exist vesadrv.bat call vesadrv.bat    >>ramademo.bat
  43. echo %1:%4\sierra %1:%4\resource.cfg              >>ramademo.bat
  44.  
  45. copy ramademo.bat ..\ramademo.bat
  46. echo cd ..                                                 >>..\ramademo.bat
  47.  
  48. rem *** VESA Installation ***
  49. %2:
  50. cd\
  51. vesainst /Vvesa /B%1:%4 /TSIERRA.DIB
  52. %1:
  53.  
  54. rem *** Installation Complete ***
  55. clear
  56. echo
  57. echo    Rama Demo Installation Complete.
  58. echo
  59. echo    To play NOW:
  60. echo     At the DOS prompt, 
  61. echo        type RAMADEMO and press [ENTER]
  62. echo
  63. echo    To play LATER:
  64. echo     From the directory of %1:%4,
  65. echo        type RAMADEMO and press [ENTER]
  66. echo
  67. pause
  68. end
  69.  
  70. rem *** Error Messages ***
  71.  
  72. :CantCreate
  73. alert Unable to create directory, %1:%4
  74. end
  75.  
  76. :NoSpace
  77. alert 18400 Kilobytes ( 17.89 MegaBytes ) are required on %1:, to install the Rama Demo.
  78. end
  79.  
  80.