home *** CD-ROM | disk | FTP | other *** search
/ PC Press 1997 July / Sezamfile97_2.iso / windows / program / activex / axtsamp.exe / TSBRANCH.EXE / REGALL.BAT < prev    next >
DOS Batch File  |  1997-01-12  |  3KB  |  81 lines

  1. @echo off
  2. : /*+========================================================================
  3. :  File:      REGALL.BAT
  4. :
  5. :  Summary:   This Batch file registers all the COM servers in the
  6. :             ActiveX Tutorial Code Sample series.  It assumes that the
  7. :             servers have already been built.  It does build the
  8. :             REGISTER code sample if needed.
  9. :
  10. :  Usage:     REGALL
  11. :               To register all COM servers.
  12. :
  13. :  Origin:    1-7-97: atrent - Revised for ActiveX Tutorial Sample series.
  14. :
  15. : --------------------------------------------------------------------------
  16. :
  17. :  This file is part of the Microsoft ActiveX Tutorial Code Samples.
  18. :
  19. :  Copyright (C) Microsoft Corporation, 1997.  All rights reserved.
  20. :
  21. :  This source code is intended only as a supplement to Microsoft
  22. :  Development Tools and/or on-line documentation.  See these other
  23. :  materials for detailed information regarding Microsoft code samples.
  24. :
  25. :  THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
  26. :  KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  27. :  IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  28. :  PARTICULAR PURPOSE.
  29. : ==========================================================================+*/
  30. :
  31. cls
  32. IF NOT EXIST register\register.exe GOTO ERROR
  33. echo ================ Registering DLLSERVE...
  34. cd dllserve
  35. ..\register\register.exe dllserve.dll
  36. IF ERRORLEVEL 1 GOTO ERROR
  37. :
  38. echo ================ Registering LICSERVE...
  39. cd ..\licserve
  40. ..\register\register.exe licserve.dll
  41. IF ERRORLEVEL 1 GOTO ERROR
  42. :
  43. echo ================ Registering MARSHAL...
  44. cd ..\marshal
  45. ..\register\register.exe marshal.dll
  46. IF ERRORLEVEL 1 GOTO ERROR
  47. :
  48. echo ================ Registering LOCSERVE...
  49. cd ..\locserve
  50. ..\register\register.exe /e locserve.exe
  51. IF ERRORLEVEL 1 GOTO ERROR
  52. :
  53. echo ================ Registering APTSERVE...
  54. cd ..\aptserve
  55. ..\register\register.exe /e aptserve.exe
  56. IF ERRORLEVEL 1 GOTO ERROR
  57. :
  58. echo ================ Registering FRESERVE...
  59. cd ..\freserve
  60. ..\register\register.exe freserve.dll
  61. IF ERRORLEVEL 1 GOTO ERROR
  62. :
  63. echo ================ Registering CONSERVE...
  64. cd ..\conserve
  65. ..\register\register.exe conserve.dll
  66. IF ERRORLEVEL 1 GOTO ERROR
  67. :
  68. echo ================ Registering STOSERVE...
  69. cd ..\stoserve
  70. ..\register\register.exe stoserve.dll
  71. IF ERRORLEVEL 1 GOTO ERROR
  72. :
  73. cd ..
  74. goto :DONE
  75. :ERROR
  76. echo ================ REGALL Error.
  77. goto :END
  78. :DONE
  79. echo ================ REGALL Work Done.
  80. :END
  81.