@echo off
setlocal EnableExtensions

set "installer=%~dp0deployment-files\install-publisher-then-microsoft-365-32bit.bat"

if not exist "%installer%" (
  echo.
  echo ERROR: The installation script could not be found.
  echo Expected location:
  echo "%installer%"
  echo.
  echo Keep START-INSTALLATION-32BIT.bat beside the deployment-files folder.
  pause
  exit /b 1
)

call "%installer%"
exit /b %errorlevel%
