DocSpace-buildtools/build/install/install.bat
SuhorukovAnton 5c7e46b9ab winsw: add winsw
add urlShortener.xml
update bats
add winsw.exe
2022-02-21 20:46:23 +03:00

18 lines
401 B
Batchfile

@echo off
PUSHD %~dp0..\..
setlocal EnableDelayedExpansion
if %errorlevel% == 0 (
for /R "build\run\" %%f in (*.bat) do (
call build\run\%%~nxf
echo service create "Onlyoffice%%~nf"
call sc create "Onlyoffice%%~nf" displayname= "ONLYOFFICE %%~nf" binPath= "!servicepath!"
)
for /R "common\services\winswConfigs\" %%f in (*.xml) do (
call thirdparty\winsw.exe install %%f
)
)
echo.
pause