I was recently working with a customer who was experiencing sporadic Morpheus agent installation failure on their Windows deployments in VMware. They were using Guest Customizations to install the Morpheus agent.
After investigation it was discovered that the Windows templates had an out-of-date version of VMware tools, and because their vCenter was set to auto-update vmware-tools, it was triggering the vmware-tools update after VM start-up. This vmware-tools MSI was not only potentially conflicting with the Morpheus Agent installation MSI, but was also installing a new network driver and temporarily impacting network connectivity. This conflict was sporadically causing the agent installation failure after VM start-up.
In this situation the customer disabled the autoupdate functionality for vmware-tools and the Morpheus Agent installation was consistently successful across their deployments.
I wanted to create this post in the hope of helping anyone else who may run into this problem in the future, and also for people to provide other resolutions and support on this matter.
All the best!