home *** CD-ROM | disk | FTP | other *** search
/ The Developer Connection…ice Driver Kit for OS/2 3 / DEV3-D1.ISO / install / noadd.cmd < prev    next >
Encoding:
Text File  |  1994-03-01  |  2.0 KB  |  51 lines

  1. /***********************************************************************
  2.  * NOINST                                                              *
  3.  *                                                                     *
  4.  * Purpose: Do absolutely nothing.                                     *
  5.  *                                                                     *
  6.  ***********************************************************************
  7.  *                (C) Copyright IBM Corporation 1994                   *
  8.  ***********************************************************************/
  9. parse upper arg Ctl.!BDr Ctl.!CDr .
  10. trace 'o'
  11. CurDir = directory()
  12. call directory Ctl.!CDr'INSTALL'
  13. call Rxfuncadd 'CADDINIT', 'RXCADD', 'CADDINIT'
  14. signal on syntax
  15. ver = 'CAddInit'()
  16. signal off syntax
  17. if abbrev(ver, 'ERROR:')
  18.   then call syntax
  19.  
  20. call 'CaddComplete' 0
  21. call 'CaDDExit'
  22. exit 0
  23.  
  24. Syntax:
  25. call beep 350, 150
  26. say
  27. say '┌────────────────────────────────────────────────────────────────────────┐'
  28. say '│  Dot not found in LIBPATH.  A dot will be automatically added to your  │'
  29. say '│  CONFIG.SYS LIBPATH entry.  The DOT is necessary for the installation  │'
  30. say '│  to find its DLL files in the current directory.                       │'
  31. say '└────────────────────────────────────────────────────────────────────────┘'
  32. '@echo off'
  33. 'call LIBADD . 'Ctl.!BDr'\CONFIG.SYS >nul 2>nul'
  34. Resp = rc
  35. if rc = 0
  36.   then do
  37.     call beep 350, 150
  38.     say
  39.     say '┌────────────────────────────────────────────────────────────────────────┐'
  40.     say '│                 REBOOT the system and try install again.               │'
  41.     say '└────────────────────────────────────────────────────────────────────────┘'
  42.   end
  43.   else do
  44.     call beep 350, 150
  45.     say
  46.     say '┌────────────────────────────────────────────────────────────────────────┐'
  47.     say '│   Unable to update CONFIG.SYS please do so manually then REBOOT.       │'
  48.     say '└────────────────────────────────────────────────────────────────────────┘'
  49.   end /* Do */
  50. exit 200
  51.