Created
March 24, 2014 14:16
-
-
Save Novakov/9740924 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Task InstallEventStore { | |
echo "Installing EventStore service from $($eventStoreBin)" | |
$srvAnyPath = [System.IO.Path]::Combine($(Get-Location), '..\tools\srvany.exe') | |
New-Service -Name EventStore -BinaryPathName $srvAnyPath -DisplayName EventStore -StartupType Manual | Out-Null | |
New-Item HKLM:\SYSTEM\CurrentControlSet\services\EventStore\Parameters -ItemType Key | Out-Null | |
Set-ItemProperty HKLM:\SYSTEM\CurrentControlSet\services\EventStore\Parameters -Name Application -Value $eventStoreBin | Out-Null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment