ruen-ui/Install-Ruen-UI.cmd

10 lines
339 B
Batchfile

@echo off
setlocal
title Ruen UI Setup
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -ExecutionPolicy Bypass -File "%~dp0Install-Ruen-UI.ps1" %*
set "wow_setup_exit=%errorlevel%"
echo.
if not "%wow_setup_exit%"=="0" echo Installation did not finish. See the message above.
pause
exit /b %wow_setup_exit%