mirror of
https://github.com/danieleteti/delphimvcframework.git
synced 2024-11-16 08:15:53 +01:00
20 lines
391 B
Batchfile
20 lines
391 B
Batchfile
|
@echo off
|
||
|
if "%1"=="" (
|
||
|
instreg install -z
|
||
|
)
|
||
|
setlocal
|
||
|
set INSTALL_SERVICE=install -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
|
||
|
@echo.
|
||
|
@echo Firebird installed and started as a service using
|
||
|
@echo architecture specified in firebird.conf.
|
||
|
@echo.
|
||
|
|