builds/install/arch-specific/win32/install_service.bat
raw| 1 | @echo off |
| 2 | if "%~1"=="" ( |
| 3 | instreg install -z |
| 4 | ) |
| 5 | setlocal |
| 6 | set INSTALL_SERVICE=install -z |
| 7 | set START_SERVICE=start |
| 8 | if not "%~1"=="" ( |
| 9 | set INSTALL_SERVICE=%INSTALL_SERVICE% -n %1 |
| 10 | set START_SERVICE=%START_SERVICE% -n %1 |
| 11 | ) |
| 12 | instsvc %INSTALL_SERVICE% |
| 13 | instsvc %START_SERVICE% |
| 14 | endlocal |
| 15 | @echo. |
| 16 | @echo Firebird installed and started as a service using |
| 17 | @echo architecture specified in firebird.conf. |
| 18 | @echo. |
| 19 |