I have several end users where Oracle Java JRE 1.8.0_xxx is installed but the automation to use the UninstallString via msiexec /X is failing by saying the product isn't installed. On these machines it does indeed not show up in Programs and Features, but the installation is there. The binaries and executables are all in C:\Program Files\Java\jre1.8.0_xxx\ and the registry is still holding a GUID for the product. What other way is there to uninstall this?
Editing to add the verbose logging of the failed uninstall
=== Verbose logging started: 11/30/2023 12:29:11 Build type: SHIP UNICODE 5.00.10011.00 Calling process: C:\Windows\system32\msiexec.exe ===
MSI (c) (A0:30) [12:29:11:782]: Font created. Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg
MSI (c) (A0:30) [12:29:11:782]: Font created. Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg
MSI (c) (A0:4C) [12:29:11:802]: Resetting cached policy values
MSI (c) (A0:4C) [12:29:11:802]: Machine policy value 'Debug' is 0
MSI (c) (A0:4C) [12:29:11:802]: ******* RunEngine:
******* Product: {26A24AE4-039D-4CA4-87B4-2F64180311F0}
******* Action:
******* CommandLine: **********
MSI (c) (A0:4C) [12:29:11:803]: Client-side and UI is none or basic: Running entire install on the server.
MSI (c) (A0:4C) [12:29:11:803]: Grabbed execution mutex.
MSI (c) (A0:4C) [12:29:11:924]: Cloaking enabled.
MSI (c) (A0:4C) [12:29:11:924]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (A0:4C) [12:29:11:929]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (20:90) [12:29:11:959]: Running installation inside multi-package transaction {26A24AE4-039D-4CA4-87B4-2F64180311F0}
MSI (s) (20:90) [12:29:11:959]: Grabbed execution mutex.
MSI (s) (20:90) [12:29:11:974]: Resetting cached policy values
MSI (s) (20:90) [12:29:11:974]: Machine policy value 'Debug' is 0
MSI (s) (20:90) [12:29:11:974]: ******* RunEngine:
******* Product: {26A24AE4-039D-4CA4-87B4-2F64180311F0}
******* Action:
******* CommandLine: **********
MSI (s) (20:90) [12:29:11:974]: Machine policy value 'DisableUserInstalls' is 0
MSI (s) (20:90) [12:29:11:975]: MainEngineThread is returning 1605
MSI (s) (20:90) [12:29:11:985]: User policy value 'DisableRollback' is 0
MSI (s) (20:90) [12:29:11:985]: Machine policy value 'DisableRollback' is 0
MSI (s) (20:90) [12:29:11:985]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (20:90) [12:29:11:985]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (20:90) [12:29:11:986]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (20:90) [12:29:11:987]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (A0:4C) [12:29:11:988]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (A0:4C) [12:29:11:989]: MainEngineThread is returning 1605
=== Verbose logging stopped: 11/30/2023 12:29:11 ===