2021-10-26 13:14:34 +00:00
|
|
|
@echo off
|
|
|
|
|
2021-09-23 17:58:39 +00:00
|
|
|
PUSHD %~dp0..\..
|
|
|
|
setlocal EnableDelayedExpansion
|
2019-07-11 10:24:10 +00:00
|
|
|
|
2019-07-11 13:02:33 +00:00
|
|
|
if %errorlevel% == 0 (
|
2021-09-23 17:58:39 +00:00
|
|
|
for /R "build\run\" %%f in (*.bat) do (
|
2021-10-25 11:29:36 +00:00
|
|
|
call build\run\%%~nxf
|
2021-10-26 13:14:34 +00:00
|
|
|
echo service create "Onlyoffice%%~nf"
|
|
|
|
call sc create "Onlyoffice%%~nf" displayname= "ONLYOFFICE %%~nf" binPath= "!servicepath!"
|
2019-07-11 13:02:33 +00:00
|
|
|
)
|
2022-02-22 12:45:21 +00:00
|
|
|
for /R "build\run\" %%f in (*.xml) do (
|
|
|
|
call build\install\win\WinSW3.0.0.exe install %%f
|
2022-02-21 17:46:23 +00:00
|
|
|
)
|
2021-09-23 17:58:39 +00:00
|
|
|
)
|
|
|
|
|
2021-10-26 13:14:34 +00:00
|
|
|
echo.
|
2021-09-23 17:58:39 +00:00
|
|
|
pause
|