PC-DMIS refuses to install without a valid license in /qn mode; its BA / MSI custom actions ProcessLicensingFromBundle (which spins for ~13 minutes trying to activate against licensing.wilcoxassoc.com) and IsLicenseDateValid (which errors 1603 when no license file is present) are the gate. Bypassed by dark-extracting the chained MSIs from each Burn bundle and pre-patching both custom actions' InstallExecuteSequence.Condition columns to '0' via Windows Installer COM SQL UPDATE. The patched MSIs install cleanly with no license, PCDLRN.exe loads at runtime, hits its own runtime license check, and shows the normal "no license" dialog. Tech activates via clmadmin.exe post-imaging and PC-DMIS launches normally. - playbook/preinstall/preinstall.json: adds VC++ 2010 x64 and VC++ 2012 x64 redistributable entries scoped to all PC types. PC-DMIS links msvcr100.dll / mfc100u.dll (VS 2010) and msvcr110.dll / mfc110u.dll (VS 2012); without these the exe gets DLL_NOT_FOUND (0xC0000135) at launch. Win11 ships VC++ 2022 (covers 2015+) but not 2010/2012, so we ship these from the dark-extracted bundle payloads. Small (~13 MB combined), inert on PCs that don't need them, so the filter is "*". - playbook/shopfloor-setup/CMM/cmm-manifest.json: version 2.0. Drops the bundle EXEs, installs patched MSIs directly with properly quoted INSTALLFOLDER / APPLICATIONFOLDER paths (the earlier "hangs" were caused by Start-Process splitting unquoted paths on spaces, not actual msiexec hangs). Skips the chained CLM Tools 1.5/1.7 MSIs - CLM 1.8.73 standalone provides the same interfaces and PC-DMIS MSIs have no LaunchCondition requiring Tools 1.5 / 1.7 specifically. Keeps Protect Viewer from the 2019 R2 bundle as a separate entry. CLM 1.8 and goCMM bundles run unpatched (no install-time license check). - playbook/sync-cmm.sh: now also includes *.msi files in the upload set, not just *.exe. Known caveats: patched MSIs have HashMismatch signatures (expected - Windows Installer accepts them in /qn mode on locally-cached machines). Every Hexagon bundle version bump requires re-dark- extracting and re-patching. Unsupported by Hexagon; do not call them for install-related issues without reverting to the original bundles first. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
4.0 KiB
Executable File
4.0 KiB
Executable File