When attempting to upgrade the Aria Operations for Logs Windows Agent, the upgrade utility fails to uninstall the previous version of Aria Operations for Logs Agent with the below error.
Aria Operations for Logs 8.18.x
This is due to a stale registry entry that references an older version of the Aria Operations for Logs Agent within the Windows Guest OS.
Before proceeding with the below resolution, please ensure that you take a backup of the registry.
Remove any entries that reference an older version of the Aria Operations for Logs agent within the registry and then reattempt the Agent upgrade.
The references can be found in \HKLM\SOFTWARE\Classes\Installer\Products\
For more information on using the Windows registry, please see Microsoft KB-256986