@echo off
setlocal
chcp 65001 >nul
call "%~dp0service.bat" install
set "EXIT_CODE=%ERRORLEVEL%"
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%~dp0service.ps1" -Action message -MessageAction install -MessageExitCode %EXIT_CODE%
pause >nul
exit /b %EXIT_CODE%
