@echo off setlocal powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0install.ps1" if errorlevel 1 ( echo. echo Installation failed. See the error above. pause exit /b 1 ) exit /b 0