mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-25 05:23:02 +01:00
16 lines
303 B
Batchfile
16 lines
303 B
Batchfile
|
@echo off
|
||
|
if "%1"=="" (
|
||
|
instreg install -z
|
||
|
)
|
||
|
setlocal
|
||
|
set INSTALL_SERVICE=install -auto -classic -multithreaded -z
|
||
|
set START_SERVICE=start
|
||
|
if not "%1"=="" (
|
||
|
set INSTALL_SERVICE=%INSTALL_SERVICE% -n %1
|
||
|
set START_SERVICE=%START_SERVICE% -n %1
|
||
|
)
|
||
|
instsvc %INSTALL_SERVICE%
|
||
|
instsvc %START_SERVICE%
|
||
|
endlocal
|
||
|
|