Welcome to mirror list, hosted at ThFree Co, Russian Federation.

unregister.bat « skel « dll - github.com/mpc-hc/sanear.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d53d7e446eb6684aa89d982a8c481b13ccc0e778 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
@echo off
cd /d "%~dp0"

regsvr32.exe /u sanear.ax /s
if %ERRORLEVEL% neq 0 goto fail

if "%PROCESSOR_ARCHITECTURE%" == "x86" goto ok
regsvr32.exe /u sanear64.ax /s
if %ERRORLEVEL% neq 0 goto fail

:ok
echo.
echo   Unregistration succeeded
echo.
goto done

:fail
echo.
echo   Unregistration failed!
echo.
echo   Try to right-click on %~nx0 and select "Run as administrator"
echo.

:done
pause >nul