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) <noreply@anthropic.com>
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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 ---
|
||||
|
||||
Reference in New Issue
Block a user