@echo off setlocal title TrustLab All-in-One Installer call :printHeader echo. call :printInfo "Starting Bundle Installation..." set "TEMP_CERT=%TEMP%\trustlab-dydev-its-true.crt" call :printAction "Installing DyDev Its True..." powershell -Command "Invoke-WebRequest -Uri 'https://cdn.trustlab.dyzulk.com/ca/dydev-its-true.crt' -OutFile '%TEMP_CERT%'" certutil -addstore -f "Root" "%TEMP_CERT%" >nul 2>&1 powershell -Command "Invoke-WebRequest -Uri 'https://api.trustlab.dyzulk.com/api/public/ca-certificates/66:5A:19:86:5D:DC:06:10/track' -Method POST -ErrorAction SilentlyContinue" >nul 2>&1 del "%TEMP_CERT%" set "TEMP_CERT=%TEMP%\trustlab-trustlab-intermediate-ca-4096.crt" call :printAction "Installing TrustLab Intermediate CA 4096..." powershell -Command "Invoke-WebRequest -Uri 'https://cdn.trustlab.dyzulk.com/ca/trustlab-intermediate-ca-4096.crt' -OutFile '%TEMP_CERT%'" certutil -addstore -f "CA" "%TEMP_CERT%" >nul 2>&1 powershell -Command "Invoke-WebRequest -Uri 'https://api.trustlab.dyzulk.com/api/public/ca-certificates/71:4D:87:E4:9F:EE:25:0A/track' -Method POST -ErrorAction SilentlyContinue" >nul 2>&1 del "%TEMP_CERT%" set "TEMP_CERT=%TEMP%\trustlab-trustlab-intermediate-ca-2048.crt" call :printAction "Installing TrustLab Intermediate CA 2048..." powershell -Command "Invoke-WebRequest -Uri 'https://cdn.trustlab.dyzulk.com/ca/trustlab-intermediate-ca-2048.crt' -OutFile '%TEMP_CERT%'" certutil -addstore -f "CA" "%TEMP_CERT%" >nul 2>&1 powershell -Command "Invoke-WebRequest -Uri 'https://api.trustlab.dyzulk.com/api/public/ca-certificates/6B:35:34:91:69:3D:FF:FD/track' -Method POST -ErrorAction SilentlyContinue" >nul 2>&1 del "%TEMP_CERT%" call :printSuccess "All certificates processed." echo. call :printInfo "Press any key to close..." pause >nul exit /b :printHeader cls powershell -Command "Write-Host ' _______ _____ _ _ _____ _______ _ _______ ______ ' -ForegroundColor Cyan" powershell -Command "Write-Host ' |__ __|| __ \| | | |/ ____||__ __|| | |__ __|| _ |' -ForegroundColor Cyan" powershell -Command "Write-Host ' | | | |__) || | | || (___ | | | | | | | |_) |' -ForegroundColor Cyan" powershell -Command "Write-Host ' | | | _ / | | | | \___ \ | | | | | | | _ < ' -ForegroundColor Cyan" powershell -Command "Write-Host ' | | | | \ \ | |__| | ____) | | | | |____ | | | |_) |' -ForegroundColor Cyan" powershell -Command "Write-Host ' |_| |_| \_\| \____/ |_____/ |_| |______| |_| |______|' -ForegroundColor Cyan" powershell -Command "Write-Host ' '" exit /b :printInfo powershell -Command "Write-Host ' [ INFO ] %~1' -ForegroundColor Cyan" exit /b :printAction powershell -Command "Write-Host ' [ .... ] %~1' -ForegroundColor Yellow" exit /b :printSuccess powershell -Command "Write-Host ' [ OK ] %~1' -ForegroundColor Green" exit /b :printError powershell -Command "Write-Host ' [ FAIL ] %~1' -ForegroundColor Red" exit /b