8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 20:43:03 +01:00
firebird-mirror/builds/install/arch-specific/win32/uninstall_service.bat
paul_reeves d8e0de00b9 Sync RC1 windows installer changes to trunk.
Remove old manual install/uninstall scripts
Add new ones
2015-11-10 09:08:19 +00:00

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)