From 1853db090356b4d91240592928d0edc763ac9d93 Mon Sep 17 00:00:00 2001 From: cproudlock Date: Wed, 3 Jun 2026 18:49:36 -0400 Subject: [PATCH] preinstall: run OpenText on Part Marker bays (profiles, EB macros, desktop shortcuts) OpenText HostExplorer was skipped on Part Marker PCs because its PCTypes filter in preinstall.json omitted PartMarker, so Setup-OpenText.ps1 never ran - no MSI, no per-user profile/keymap/menu/macro fan-out, no .eb macros into ProgramData\Hummingbird\Connectivity\15.00\Shared, and no public desktop shortcuts. - preinstall.json: add PartMarker + gea-shopfloor-partmarker to OpenText PCTypes - 00-PreInstall-MachineApps.ps1: add PartMarker alias group to the preinstall matcher (parity with Install-FromManifest.ps1, which already had it) Co-Authored-By: Claude Opus 4.8 (1M context) --- playbook/preinstall/preinstall.json | 2 +- .../shopfloor-setup/Shopfloor/00-PreInstall-MachineApps.ps1 | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/playbook/preinstall/preinstall.json b/playbook/preinstall/preinstall.json index 9c4a4b4..a5f930d 100644 --- a/playbook/preinstall/preinstall.json +++ b/playbook/preinstall/preinstall.json @@ -164,7 +164,7 @@ "Type": "EXE", "InstallArgs": "", "LogFile": "C:\\Logs\\PreInstall\\Setup-OpenText.log", - "PCTypes": ["Standard", "CMM", "Keyence", "Genspect", "WaxAndTrace", "Lab", "Heattreat"] + "PCTypes": ["Standard", "CMM", "Keyence", "Genspect", "WaxAndTrace", "Lab", "Heattreat", "PartMarker", "gea-shopfloor-partmarker"] }, { "_comment": "UDC_Setup.exe spawns a hidden WPF window (UDC.exe) after install and never exits, so the runner needs KillAfterDetection: true to terminate UDC_Setup.exe + UDC.exe once the registry detection passes. This is an OPT-IN flag - normal installers should NOT set it because killing msiexec mid-install leaves msiserver holding the install mutex and the next msiexec call returns 1618 (Oracle hit this exact bug).", diff --git a/playbook/shopfloor-setup/Shopfloor/00-PreInstall-MachineApps.ps1 b/playbook/shopfloor-setup/Shopfloor/00-PreInstall-MachineApps.ps1 index e3954e8..0150478 100644 --- a/playbook/shopfloor-setup/Shopfloor/00-PreInstall-MachineApps.ps1 +++ b/playbook/shopfloor-setup/Shopfloor/00-PreInstall-MachineApps.ps1 @@ -321,7 +321,8 @@ foreach ($app in $config.Applications) { @('WaxAndTrace', 'gea-shopfloor-waxtrace'), @('Genspect', 'gea-shopfloor-genspect'), @('Display', 'gea-shopfloor-display'), - @('Heattreat', 'gea-shopfloor-heattreat') + @('Heattreat', 'gea-shopfloor-heattreat'), + @('PartMarker', 'gea-shopfloor-partmarker') ) $myNames = New-Object System.Collections.Generic.HashSet[string]([System.StringComparer]::OrdinalIgnoreCase) foreach ($n in @($pcType, $pcProfileKey) | Where-Object { $_ }) {