8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 12:43:03 +01:00
firebird-mirror/builds/install/arch-specific/win32/uninstall.bat

14 lines
260 B
Batchfile

@echo off
setlocal
set REMOVE_SERVICE=remove -z
set STOP_SERVICE=stop
if not "%1"=="" (
set STOP_SERVICE=%STOP_SERVICE% -n %1
set REMOVE_SERVICE=%REMOVE_SERVICE% -n %1
)
instsvc %STOP_SERVICE%
instsvc %REMOVE_SERVICE%
endlocal
if "%1"=="" (instreg remove -z)