Files
WireMock.Net/examples/WireMock.Net.Service/Service-Install.bat
2018-03-18 10:41:31 +01:00

11 lines
286 B
Batchfile

@echo off
call uninstall.bat
SET mypath=%~dp0
SET targetpath=C:\Services\WireMock.Net.Service\
mkdir "%targetpath%"
xcopy "%mypath%*" "%targetpath%*"
C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe "%targetpath%WireMock.Net.Service.exe"
net start "WireMock.Net.Service"