Following error and log snippets will be observed during the upgrade/install failure of VMware tools version 13.0.x -
The file C.Windows\comcache\le\'is not a valid installation package for the product VMware Tools. Try to find the installation package (########-####-####-####-############).msi' in a folder from which you can install VMware Tools
VMware vSphere ESXi 7.x
VMware vSphere ESXi 8.x
This issue is caused due to old or initial installation failure which registered a .msi key against the installation ID and did not get cleaned up during uninstall or cleanup of the VMware tools
Engage OS vendor and remove the installer ID from the HKEY and its associated folder reporting in the installer error, followed by reboot and start installation again-
Run procmon tool (read only) from Microsoft to find the key location for such failed installed registries at the OS level -
https://learn.microsoft.com/en-us/sysinternals/downloads/procmon