@echo off REM Setup-OpenText.cmd - launcher for Setup-OpenText.ps1. REM REM Lives in /scripts/. Setup-OpenText.ps1 expects to find the four REM OpenText binaries (OpenTextHostExplorer15x64.msi/.cab/.msp + ShopFloorx64.mst) REM plus version.txt in $SourceDir. We pass ..\apps\opentext\ explicitly so the REM script doesn't fall back to its $PSScriptRoot default (which would be the REM scripts/ dir, where the binaries don't live). REM REM Mirrors the Install-AcroReader.cmd / Install-Oracle11r2.cmd pattern of REM script-in-scripts, payload-in-apps. Called by Install-FromManifest.ps1 REM (Type=CMD); exit code surfaces back to the enforcer. powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0Setup-OpenText.ps1" -SourceDir "%~dp0..\apps\opentext" exit /b %errorlevel%