OpenText HostExplorer ShopFloor was previously delivered as an Intune Win32 LOB app that ran the inner OpenTextHostExplorer15x64.msi directly, which (a) skipped the [Files] section of the WJDT-built Inno Setup wrapper that deploys profile/keymap/menu/macro files, and (b) deployed desktop shortcuts pointing at C:\\GE Aerospace\\Hummingbird\\ - a path HostExplorer doesn't search, so the profile would open from the desktop shortcut but the keymaps and macros never got picked up. This commit moves the install to the PXE PreInstall pipeline so it gets baked into every Standard PC during imaging instead of being pulled per-device by Intune. The DSC side ships separately as Setup-OpenText.ps1 + Install-OpenText.ps1 wrapper in the pxe-images/main/ tree (uploaded to Azure Blob). preinstall.json: new entry for OpenText pointing at opentext\\Setup-OpenText.cmd, a tiny launcher in the bundled subtree that hands off to Setup-OpenText.ps1 (the runner only handles MSI/EXE types). No DetectionMethod fields - Setup-OpenText.ps1 reads version from version.txt next to itself and short-circuits via its own HKLM\\SOFTWARE\\GE\\OpenText\\Installed marker check, so the version constant lives in exactly one place (version.txt). Trade-off: ~1s PowerShell launch on every up-to-date runner pass instead of a zero-cost registry compare, in exchange for never having to bump the version in multiple places. sync-preinstall.sh: added dependencies/opentext to TREE_SUBDIRS so the whole bundle (base MSI + cab + SP1 patch + ShopFloor transform + profile/accessories/keymap/menu/W10shortcuts content + Setup-OpenText script and cmd wrapper + version.txt) rides through the existing tar pipe. Also added OpenText.exe to the legacy-cleanup rm list since the old flat machineapps/OpenText.exe path is now obsolete. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
6.8 KiB
Executable File
6.8 KiB
Executable File