Installation of VMware Tools on a Windows virtual machine fails with the following error message:
"VMware Product Installation Setup cannot continue. The Microsoft Runtime DLL installer failed to complete installation"
In vminst.log file, located at %TEMP%, we see entries similar to: (Alternate path c:\windows\temp\vminst.log)
BootStrapper-build-24964629| I0: Launching VC dll installer failed with 1603.BootStrapper-build-24964629| I0: DisplayMessageBox: "VMware Product Installation" - "Setup cannot continue. The Microsoft Runtime DLL installer failed to complete installation."BootStrapper-build-24964629| I0: Cleaning up temp dir "C:\Windows\TEMP\{1E464966-B9CA-434A-9A35-BADFBCC7AFAD}~setup\"BootStrapper-build-24964629| I2: Util_DeleteDirectory: Deleting [C:\Windows\TEMP\{1E464966-B9CA-434A-9A35-BADFBCC7AFAD}~setup\]BootStrapper-build-24964629| I0: Sending rpc command 'info-set guestinfo.toolsInstallErrCode 1603' to the hostBootStrapper-build-24964629| I0: Sending rpc command 'toolinstall.installerActive 0' to the hostBootStrapper-build-24964629| I0: Failed to send rpc command 'toolinstall.installerActive 0'BootStrapper-build-24964629| I0: Sending rpc command 'toolinstall.end 0' to the hostBootStrapper-build-24964629| I0: Setup exit code is: 1603BootStrapper-build-24964629| W1: Util_DeleteKey: Deleting a key that isn't empty: "HKEY_LOCAL_MACHINE\SOFTWARE\VMware, Inc.\VmxLog"BootStrapper-build-24964629| I1: Util_IsKeyEmpty: Failed to open key SOFTWARE\VMware, Inc.\VmxLoginst-build-24964629| I2: Util_FileExists: Found "C:\Windows\TEMP\vminst.log"inst-build-24964629| I2: Util_FileExists: Did not find file/directory: "C:\Windows\TEMP\vmmsi.log"| posix code 2 (No such file or directory)Upgrader| I1: Upgrader: Upgrader runQueued : 1, runState: 3Upgrader| I1: Upgrader: Setup process returned 1603Upgrader| I1: Upgrader: Exiting UpgraderLoop because we are doneUpgrader| I1: Removing file/directory: C:\Windows\TEMP\vmware-SYSTEM\00007ad0\autorun.icoUpgrader| I1: Removing file/directory: C:\Windows\TEMP\vmware-SYSTEM\00007ad0\autorun.infUpgrader| I1: Removing file/directory: C:\Windows\TEMP\vmware-SYSTEM\00007ad0\certified.txtUpgrader| I1: Removing file/directory: C:\Windows\TEMP\vmware-SYSTEM\00007ad0\manifest.txtUpgrader| I1: Removing file/directory: C:\Windows\TEMP\vmware-SYSTEM\00007ad0\Program FilesUpgrader| I1: Removing file/directory: C:\Windows\TEMP\vmware-SYSTEM\00007ad0\setup.exeUpgrader| I1: Removing file/directory: C:\Windows\TEMP\vmware-SYSTEM\00007ad0\VMwareToolsUpgrader.exeUpgrader| I1: Removing file/directory: C:\Windows\TEMP\vmware-SYSTEM\00007ad0\windows.isoUpgrader| I1: Removing empty directory: C:\Windows\TEMP\vmware-SYSTEM\00007ad0Upgrader| E1: Upgrader: To VMX: toolinstall.end 0Upgrader| W1: Failed to send RPC to end tool install.Upgrader| E1: Upgrader: To VMX: tools.capability.hgfs_server tools-upgrader 0Upgrader| I1: Upgrader finished execution, now signalling event.Upgrader| I1: Upgrader: returning [0]Upgrader| I1: Util_IsKeyEmpty: Failed to open key SOFTWARE\VMware, Inc.\VmxLogUpgrader| W1: Util_DeleteKey: Deleting a key that isn't empty: "HKEY_LOCAL_MACHINE\SOFTWARE\VMware, Inc.\VmxLog"
Windows Virtual Machines
The issue lies within the Windows Operating System itself, where the OS is unable to correctly execute the VMware Tools installer (.exe) file.
Primarily we need "Microsoft Visual C++ Redistributable package is a prerequisite for installing VMware Tools" if this package is missing then you will face issue installing VMware tools, but in this case the package was still there and still tools installation would fail.
This resolution involves extracting the installer's contents to obtain the Microsoft Software Installer (.msi) file, which can often bypass issues related to the execution of the main setup file.
Download the VMware Tools installer file (the .exe file) from the Broadcom site.
Save the downloaded .exe file to a known location on the Windows Virtual Machine (e.g., C:\temp).
Launch the Command Prompt in administrator mode (Right-click on Start menu navigate to Command Prompt Run as administrator).
Navigate to the directory where you saved the installer file (e.g., using the cd command if needed).
Run the command below to extract the contents and convert the executable to an MSI file:
Note: Replace the example filename (VMware-tools-##.#.#-#######-x86\_64.exe) with the actual name of your downloaded installer file. The
/xswitch tells the installer to extract its contents.
Once the command is executed, the extracted files, including the necessary .msi file, will be stored in the temporary location of the Windows machine.
To quickly navigate to this location, open the Command Prompt and run the following command:
In the opened temporary folder, locate the extracted .msi file (it will typically be in a folder named with a string of random characters, e.g., {<GUID>}).
Double-click on the .msi file to launch the installation wizard directly.
Follow the on-screen prompts to complete the installation of VMware Tools.