DocSpace-buildtools/build/install/install.bat
SuhorukovAnton ac0e314f60 winsw: refactoring
update bats
relocate xml and exe
2022-02-22 15:45:21 +03:00

18 lines
394 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 "build\run\" %%f in (*.xml) do (
call build\install\win\WinSW3.0.0.exe install %%f
)
)
echo.
pause