@echo off
title JBRhoylle DBA Suite Enterprise v2.4.0 Installer
color 0B
echo.
echo ========================================================
echo    JBRhoylle DBA Suite Enterprise v2.4.0
echo    RHOYLLE INNOVATION EMPIRE
echo ========================================================
echo.
echo This installer requires Administrator privileges.
echo.
pause

:: Check for admin rights
net session >nul 2>&1
if %errorLevel% neq 0 (
    echo.
    echo ERROR: Please run as Administrator!
    echo Right-click this file and select "Run as administrator"
    echo.
    pause
    exit /b 1
)

:: Run PowerShell setup
echo.
echo Starting installation...
echo.
powershell.exe -ExecutionPolicy Bypass -File "%~dp0Setup.ps1"

echo.
echo ========================================================
echo    Installation Complete!
echo ========================================================
echo.
pause
