My goal is to have a powershell script to import the VMware VMs in our Vcenter clusters into the Nutanix cluster. I am almost got it complete but this problem with the MSI installer is something I just can't figure out.
Honestly I don't think my script has anything to do with the problem but its possible which is why I am reach out.
Testing Virtio MSI Script
I thought what if I could use my same script but push the installer to a different remote host but the same result, failed everytime. Then I attempted just to take a MSI file to verify the script does work to copy the installer and run the MSI on the remote server. Now I came to find out that was successful using the nutanixcmdlet.msi. Maybe I had an issue with the Nutanix-VirtIO-1.1.2.msi and I download a new one off the nutanix download tools section. Again I ran my script but the result was the same as before it failed with error code 1603
I continue to get error in the part of my script that runs the MSI installer due to returning a exit Error code of 1603
Thing I verified are:
PS Remoting is Enabled
Not using Windows Firewall disabled
Exported a certificate Trusted Publishers
The odd behavior is that when I was doing testing on the script and had issue with the adding of the VMware VM drives (now has been fixed) over to Nutanix VM a single VM out of three tested with could install the MSI.
.\InstallSoftwareRemotely.ps1 -AppPath "C:\nutanix\Nutanix-VirtIO-1.1.2.msi" -ComputerList testahv06 -Credential
Best answer by gwhig12
The functionality would be a great value to be able to install the VirtIO driver within the script.
I tried to adapt a script written by Steven Poitras called NTNX-Install-MSI from "GitHub" but I couldn't get the exported certificate to work which may be related to the issue.