home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 March / CHIPCD_3_98.iso / software / testsoft / exchange / event.ins < prev    next >
Text File  |  1997-08-25  |  2KB  |  69 lines

  1. ;    Copyright (c) 1996 Microsoft Corporation  All rights reserved.
  2. ;
  3. ;    This file is used to INSTALL the Exchange Event Service.
  4. ;
  5.  
  6.  
  7. ;
  8. ;    Talking to the Service Manager
  9. ;
  10.  
  11. OpenMachineKey:SYSTEM\CurrentControlSet\Services\EventLog\Application
  12. CreateKey:MSExchangeES
  13. CloseKey:
  14.  
  15. ;        EventLog(MSExchangeES)
  16. OpenMachineKey:SYSTEM\CurrentControlSet\Services\EventLog\Application\MSExchangeES
  17. ReplaceExpandString:CategoryMessageFile;%s\res\eventmsg.dll
  18. ReplaceExpandString:EventMessageFile;%s\res\eventmsg.dll
  19. CloseKey:
  20.  
  21.  
  22. ;Register the DLL's
  23. RegisterDLL:%s\bin\scripto.dll
  24. RegisterDLL:%s\bin\ss.dll
  25. RegisterDLL:%s\bin\esconf.dll
  26. RegisterDLL:%windir%\system32\olemsg32.dll
  27. RegisterDLL:%windir%\system32\vbscript.dll
  28. RegisterDLL:%windir%\system32\jscript.dll
  29. RegisterDLL:%windir%\system32\radrun.dll
  30. RegisterDLL:%windir%\system32\radrunex.dll
  31.  
  32. ; run ccdist.exe to install comcat.dll
  33. CreateProcessSafe:.;ccdist /q;60000
  34. RegisterDLL:%windir%\system32\comcat.dll
  35.  
  36. ;        PerfMon(ES)
  37. OpenMachineKey:SYSTEM\CurrentControlSet\Services
  38. CreateKey:MSExchangeES\Performance
  39. CloseKey:
  40. OpenMachineKey:SYSTEM\CurrentControlSet\Services\MSExchangeES\Performance
  41. ReplaceString:Close;CloseMsesPerformanceData
  42. ReplaceString:Collect;CollectMsesPerformanceData
  43. ReplaceString:Library;%s\bin\msesperf.dll
  44. ReplaceString:Open;OpenMsesPerformanceData
  45. CloseKey:
  46.  
  47. CreateProcessSafe:.;unlodctr MSExchangeES;180000
  48. CreateProcess:%srcdir%\bin;lodctr msesperf.ini;360000
  49.  
  50. ;        ServiceManager(ES)
  51. CreateService:MSExchangeES;Microsoft Exchange Event Service;bin\events.exe;MSExchangeIS$
  52.  
  53. ;        Miscellaneous
  54. OpenMachineKey:SYSTEM\CurrentControlSet\Services
  55. CreateSecureKey:MSExchangeES\Parameters
  56. CloseKey:
  57.  
  58. OpenMachineKey:SYSTEM\CurrentControlSet\Services\MSExchangeES\Parameters
  59. SetDword:Logging Level;0x0000
  60. SetDword:Worker Threads;0x0001
  61. ReplaceDword:Maximum execution time for scripts in seconds;0x384
  62. CloseKey:
  63.  
  64. ; Cluster registry checkpoint before starting the service
  65. RegistryCheckpoint:MSExchangeES;SYSTEM\CurrentControlSet\Services\MSExchangeES
  66.  
  67. ; Start the Event Service.
  68. StartService:MSExchangeES
  69.