From 9235d19e55f105d7135252e69ff6db7255f09eb6 Mon Sep 17 00:00:00 2001 From: cproudlock Date: Wed, 22 Apr 2026 16:15:01 -0400 Subject: [PATCH] preinstall: drop Oracle 10.2.0.3, defer to runtime enforcer for 11.2 10.2.0.3 was being installed into every Standard/CMM/Genspect/Keyence/ WaxAndTrace/Display image at build time. Oracle 11.2 is now installed and version-enforced at runtime by the GE-Enforce common manifest entry (Install-Oracle11r2.cmd), so baking 10.2 into the image creates drift: 10.2 on disk, 11.2 expected by registry. Remove from preinstall.json and drop the flat installer from sync-preinstall.sh so new builds come up clean and the enforcer does the install on first boot. Co-Authored-By: Claude Opus 4.7 (1M context) --- playbook/preinstall/preinstall.json | 11 ----------- playbook/sync-preinstall.sh | 1 - 2 files changed, 12 deletions(-) diff --git a/playbook/preinstall/preinstall.json b/playbook/preinstall/preinstall.json index f2eeae4..bfecdb2 100644 --- a/playbook/preinstall/preinstall.json +++ b/playbook/preinstall/preinstall.json @@ -2,17 +2,6 @@ "Version": "1.0", "Site": "West Jefferson", "Applications": [ - { - "Name": "Oracle Client 10.2.0.3", - "Installer": "Oracle 10.2.0.3.msi", - "Type": "MSI", - "InstallArgs": "/qn /norestart", - "DetectionMethod": "Registry", - "DetectionPath": "HKLM:\\SOFTWARE\\WOW6432Node\\ORACLE\\KEY_OraClientInfra10_2_0", - "DetectionName": "ORACLE_HOME_NAME", - "DetectionValue": "OraClientInfra10_2_0", - "PCTypes": ["Standard", "CMM", "Genspect", "Keyence", "WaxAndTrace", "Display"] - }, { "_comment": "VC++ 2008 SP1 x86 - the bootstrapper (vcredist2008_x86.exe) ignores /norestart and triggers an immediate Windows reboot when files are in use (per Aaron Stebner's MSDN docs). Fix: install the extracted vc_red.msi directly with REBOOT=ReallySuppress, which IS hard-honored by Windows Installer. msiexec may return 3010 (would-have-rebooted-but-suppressed) but won't actually reboot. cab name 'vc_red.cab' is hardcoded in the MSI's Media table - do not rename.", "Name": "VC++ Redistributable 2008 x86", diff --git a/playbook/sync-preinstall.sh b/playbook/sync-preinstall.sh index 870f5db..ab86c1f 100755 --- a/playbook/sync-preinstall.sh +++ b/playbook/sync-preinstall.sh @@ -53,7 +53,6 @@ TREE_SUBDIRS=( # Individual files copied flat (basename only) into installers/. FLAT_INSTALLERS=( "machineapps/UDC_Setup.exe" - "globalassets/oracleclient/Oracle 10.2.0.3.msi" ) # --- Helpers ---