The shim Setup-OpenText.cmd hands "%~dp0..\apps\opentext" to the PS1. PowerShell's Join-Path leaves the literal ".." segment in the path it passes to msiexec, and the Windows Installer service rejects the package with 1619 (ERROR_INSTALL_PACKAGE_OPEN_FAILED) for that reason. Every other API resolved the path fine, masking the issue. Resolving SourceDir once at script entry collapses ".." so the downstream msiexec /i and /p calls receive a clean drive-rooted path. Verified end-to-end on the win11 VM via the GE-Enforce dispatcher: msiexec /i and /p both return 3010 (treated as success), profiles + shortcuts + marker land cleanly, total 36s. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
15 KiB
15 KiB