home *** CD-ROM | disk | FTP | other *** search
/ Tutto per Internet / Internet.iso / soft95 / Html / Server / Samples / WebRun / setup.bat < prev    next >
Encoding:
DOS Batch File  |  1995-12-04  |  680 b   |  34 lines

  1. @echo off
  2. echo.
  3. echo This setup script will build runner.dll and webrun.cpl.
  4. echo It will also install WebRunner on your system.
  5. echo.
  6. nmake /f runner.mak
  7. if errorlevel 1 goto failure1
  8. goto next
  9.  
  10. :failure1
  11. echo NMAKE failed for runner.mak
  12. echo Installation has been cancel.
  13.  
  14. goto error
  15.  
  16. :next
  17. nmake /f webrun.mak
  18. if errorlevel 1 goto failure2 
  19. goto install
  20.  
  21. :failure2
  22. echo NMAKE failed for webrun.mak
  23. echo Installation has been cancel.
  24. goto error
  25.  
  26. :install
  27. copy webrun.cpl %SystemRoot%\SYSTEM32
  28. CONTROL WEBRUN
  29. echo Web Runner installed Successfully!
  30. echo You must now copy runner.dll to the
  31. echo directory you specified for the html file.
  32.  
  33. :error
  34.