preinstall: add Oracle Client 11.2 as first application
Oracle 11.2 is now installed at image build time (preinstall) rather than deferred to the runtime enforcer. eDNC / NTLARS / UDC / CMM tooling all link against the Oracle home, so shipping an image without Oracle means the first-boot experience is broken until the enforcer completes. Uses the EXE-launches-CMD trick (same pattern as OpenText Setup-OpenText .cmd) since the preinstall runner only knows MSI/EXE. The wrapper itself accepts the zip next to the .cmd (preinstall flat layout) OR under ..\apps\ (SFLD share layout for the runtime enforcer), so one script serves both paths. First entry in Applications[] so downstream apps see Oracle already present. The 686 MB Oracle_OracleDatabase_11r2_V03.zip lives outside git and is pushed to /srv/samba/enrollment/pre-install/installers/oracle/ separately. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -2,6 +2,19 @@
|
||||
"Version": "1.0",
|
||||
"Site": "West Jefferson",
|
||||
"Applications": [
|
||||
{
|
||||
"_comment": "Oracle Client 11.2 Administrator - installed first because downstream apps (eDNC/NTLARS/UDC and CMM tooling) link against the Oracle home and fail cold if it's missing. Installer is a .cmd wrapper (Type=EXE is the preinstall runner's shim for non-MSI launchers, same pattern as OpenText Setup-OpenText.cmd). The wrapper expects Oracle_OracleDatabase_11r2_V03.zip (686 MB) staged next to it, unpacks to %TEMP%, runs Oracle Universal Installer silently with ge_client_install.rsp, then cleans up the staging dir. OUI exit 3 is treated as success (warnings-but-ok). Detection via the registered home key; downstream upgrades or version pins are handled by the runtime enforcer's Oracle Client 11.2 manifest entry in common/manifest.json.",
|
||||
"Name": "Oracle Client 11.2",
|
||||
"Installer": "oracle\\Install-Oracle11r2.cmd",
|
||||
"Type": "EXE",
|
||||
"InstallArgs": "",
|
||||
"LogFile": "C:\\Logs\\OracleClient\\install.log",
|
||||
"DetectionMethod": "Registry",
|
||||
"DetectionPath": "HKLM:\\SOFTWARE\\Oracle\\KEY_OraClient11g_home1",
|
||||
"DetectionName": "ORACLE_HOME_NAME",
|
||||
"DetectionValue": "OraClient11g_home1",
|
||||
"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",
|
||||
|
||||
Reference in New Issue
Block a user