Debian Codegraph @

builds/install/arch-specific/win32/uninstall_service.bat

raw
1 @echo off
2 setlocal
3 set REMOVE_SERVICE=remove -z
4 set STOP_SERVICE=stop
5 if not "%~1"=="" (
6 set STOP_SERVICE=%STOP_SERVICE% -n %1
7 set REMOVE_SERVICE=%REMOVE_SERVICE% -n %1
8 )
9 instsvc %STOP_SERVICE%
10 instsvc %REMOVE_SERVICE%
11 endlocal
12
13 if "%~1"=="" (instreg remove -z)