;	Copyright (c) 1993-1996 Microsoft Corporation  All rights reserved.
;
;	This file is used to INSTALL the Adtive Directory Connector service.
;

;
;	Talking to the Service Manager
;

;		ServiceManager(ADC)
CreateServiceManual:MSADC;Microsoft Active Directory Connector;%s\adc.exe;EventLog$NtLmSsp$RPCLOCATOR$RPCSS$LanmanWorkstation$LanmanServer$


;		Miscellaneous
OpenMachineKey:SYSTEM\CurrentControlSet\Services
CreateKey:MSADC\Parameters
CreateKey:MSADC\Performance
CreateKey:MSADC\Diagnostics
CloseKey:

OpenMachineKey:SYSTEM\CurrentControlSet\Services\MSADC
ReplaceString:DiagnosticsMessageFile;adclog.dll
CloseKey:

OpenMachineKey:SYSTEM\CurrentControlSet\Services\MSADC\Diagnostics
SetDword:1 Replication;0x00
SetDword:2 Account Management;0x00
SetDword:3 Attribute Mapping;0x00
SetDword:4 Service Control;0x00
SetDword:5 Ldap Operations;0x00
CloseKey:


OpenMachineKey:SYSTEM\CurrentControlSet\Services\MSADC\Performance
ReplaceString:Close;CloseADCPerformanceData
ReplaceString:Collect;CollectADCPerformanceData
ReplaceString:Open;OpenADCPerformanceData
ReplaceString:Library;%s\adcperf.dll
CloseKey:



OpenMachineKey:SYSTEM\CurrentControlSet\Services\EventLog\Application
CreateKey:MSADC
CloseKey:


;		EventLog(ADC)
OpenMachineKey:SYSTEM\CurrentControlSet\Services\EventLog\Application\MSADC
ReplaceExpandString:EventMessageFile;%s\res\adclog.dll
ReplaceExpandString:CategoryMessageFile;%s\res\adclog.dll
ReplaceDword:CategoryCount;0x5
ReplaceDword:TypesSupported;7
CloseKey:


AddShare:.;Resources$;%s\res;READ;"Event logging files"

CreateProcessSafe:.;unlodctr MSADC;180000
CreateProcess:%s;lodctr adcpm.ini;1200000



StartService:MSADC
