DocSpace-buildtools/install/install.bat

23 lines
479 B
Batchfile
Raw Permalink Normal View History

2021-10-26 13:14:34 +00:00
@echo off
2024-07-02 09:32:45 +00:00
chcp 65001 > nul
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