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

  1. @echo off
  2. : /*+========================================================================
  3. :  File:      UNREGALL.BAT
  4. :
  5. :  Summary:   This Batch file Unregisters 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:     UNREGALL
  11. :               To Unregister all COM servers.
  12. :
  13. :  Origin:    1-6-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 ================ UnRegistering DLLSERVE...
  34. cd dllserve
  35. ..\register\register.exe /u dllserve.dll
  36. IF ERRORLEVEL 1 GOTO ERROR
  37. :
  38. echo ================ UnRegistering LICSERVE...
  39. cd ..\licserve
  40. ..\register\register.exe /u licserve.dll
  41. IF ERRORLEVEL 1 GOTO ERROR
  42. :
  43. echo ================ UnRegistering MARSHAL...
  44. cd ..\marshal
  45. ..\register\register.exe /u marshal.dll
  46. IF ERRORLEVEL 1 GOTO ERROR
  47. :
  48. echo ================ UnRegistering LOCSERVE...
  49. cd ..\locserve
  50. ..\register\register.exe /u /e locserve.exe
  51. IF ERRORLEVEL 1 GOTO ERROR
  52. :
  53. echo ================ UnRegistering APTSERVE...
  54. cd ..\aptserve
  55. ..\register\register.exe /u /e aptserve.exe
  56. IF ERRORLEVEL 1 GOTO ERROR
  57. :
  58. echo ================ UnRegistering FRESERVE...
  59. cd ..\freserve
  60. ..\register\register.exe /u freserve.dll
  61. IF ERRORLEVEL 1 GOTO ERROR
  62. :
  63. echo ================ UnRegistering CONSERVE...
  64. cd ..\conserve
  65. ..\register\register.exe /u conserve.dll
  66. IF ERRORLEVEL 1 GOTO ERROR
  67. :
  68. echo ================ UnRegistering STOSERVE...
  69. cd ..\stoserve
  70. ..\register\register.exe /u stoserve.dll
  71. IF ERRORLEVEL 1 GOTO ERROR
  72. :
  73. cd ..
  74. goto :DONE
  75. :ERROR
  76. echo ================ UNREGALL Error.
  77. goto :END
  78. :DONE
  79. echo ================ UNREGALL Work Done.
  80. :END
  81.