home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c500 / 3.ddi / PPDEBUG.WPK / INSTALL.BAT next >
Encoding:
DOS Batch File  |  1992-05-28  |  1.3 KB  |  37 lines

  1. @echo off
  2. if [%2] == [] goto usage
  3. if [%1] == [] goto usage
  4. if [%1] == [?] goto usage
  5. if not exist %1\wparserv.dll goto nowatcom
  6. if not exist %2\sdk\util\dos\stamp.exe goto nopenpoint
  7.     if not exist %2\service\wparserv\nul md %2\service\wparserv
  8.     copy %1\wparserv.dll %2\service\wparserv >nul
  9.     %2\sdk\util\dos\stamp %2\service\wparserv\..  /g "wparserv" /d wparserv
  10.     %2\sdk\util\dos\stamp %2\service\wparserv\.. /g "wparserv" /a 01E00208 "1.0"
  11.     %2\sdk\util\dos\stamp %2\service\wparserv\.. /g "wparserv" /a 01600182 "WATCOM0-par_server-V1(0)"
  12.     %2\sdk\util\dos\stamp %2\service\wparserv\.. /g "wparserv" /a 0660013a "Test"
  13.     %2\sdk\util\dos\stamp %2\service\wparserv\.. /g "wparserv" /a 0080013a 1000240
  14.     %2\sdk\util\dos\stamp %2\service\wparserv\.  /g "wparserv.dll" /d wparserv.dll
  15.     goto done
  16. :nowatcom
  17.     echo.
  18.     echo '%1' is not the location of the PenPoint debugger
  19.     echo.
  20.     goto done
  21. :nopenpoint
  22.     echo.
  23.     echo '%2' is not the root of a penpoint SDK
  24.     echo.
  25.     goto done
  26. :usage
  27.     echo.
  28.     echo.
  29.     echo Usage:
  30.     echo        %0 C:\WATCOM\PEN C:\PENPOINT
  31.     echo Where:
  32.     echo        C:\WATCOM\PEN is the location of this batch file.
  33.     echo        C:\PENPOINT is the root of a PenPoint SDK installation.
  34.     echo.
  35.     echo.
  36. :done
  37.