Skip to content

Instantly share code, notes, and snippets.

@chadmyers
Created September 26, 2011 22:19
Show Gist options
  • Save chadmyers/1243574 to your computer and use it in GitHub Desktop.
Save chadmyers/1243574 to your computer and use it in GitHub Desktop.
Installing services
setlocal
SET INSTANCE_NAME=HRRuss
CD c:\dovetailcrm\%INSTANCE_NAME%
pushd services\DovetailCRM.EmailEngine.Service
DovetailCRM.EmailEngine.Service.exe /install
sc config DovetailEmail%INSTANCE_NAME% start= delayed-auto
popd
pushd services\DovetailMessaging
%SystemRoot%\Microsoft.Net\Framework\v4.0.30319\installutil /i /DisplayName=DovetailMessaging%INSTANCE_NAME% /ServiceName=DovetailMessaging%INSTANCE_NAME% c:\dovetailcrm\%INSTANCE_NAME%\services\DovetailMessaging\DovetailCRM.WindowsService.exe
sc config DovetailMessaging%INSTANCE_NAME% start= delayed-auto
popd
pushd services\DovetailRulesEngine
%SystemRoot%\Microsoft.Net\Framework\v4.0.30319\installutil /i /DisplayName=DovetailRulesEngine%INSTANCE_NAME% /ServiceName=DovetailRulesEngine%INSTANCE_NAME% c:\dovetailcrm\%INSTANCE_NAME%\services\DovetailRulesEngine\DovetailCRM.WindowsService.exe
sc config DovetailRulesEngine%INSTANCE_NAME% start= delayed-auto
popd
endlocal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment