DocSpace-buildtools/install/install.bat

21 lines
461 B
Batchfile
Raw Normal View History

2021-10-26 13:14:34 +00:00
@echo off
PUSHD %~dp0..
call runasadmin.bat "%~dpnx0"
if %errorlevel% == 0 (
PUSHD %~dp0..\..
setlocal EnableDelayedExpansion
2023-10-02 15:09:10 +00:00
for /R "buildtools\run\" %%f in (*.bat) do (
call buildtools\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!"
)
2023-10-02 15:09:10 +00:00
for /R "buildtools\run\" %%f in (*.xml) do (
call buildtools\install\win\WinSW3.0.0.exe install %%f
)
2021-09-23 17:58:39 +00:00
)
2021-10-26 13:14:34 +00:00
echo.
2023-10-02 15:09:10 +00:00
pause