@echo off setlocal chcp 65001 >nul set "launcher=%~dp0Launch-ReleaseSigner.ps1" set "powershell=%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" if not exist "%powershell%" ( echo Signer startup failed: Windows PowerShell was not found. echo No reviewer key was created. Send this window to system support. pause exit /b 2 ) "%powershell%" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Bypass -File "%launcher%" initialize set "result=%ERRORLEVEL%" echo. if not "%result%"=="0" echo Initialization did not complete. No reviewer key or candidate approval was created. pause exit /b %result%