好的,设法让它工作,方法如下:
1) 在 VMware\VMware VIX 文件夹中有一个 vixwrapper-config.txt 文件。进行备份并在文件内容上覆盖以下内容:
#@Version-Info
#
# VixAllProducts revision mapping for Workstation/Player
#
# This file translates product version specifications into the appropriate Vix
# implementations.
#
# Each @Version-Info line has 5 white-space seperated entries:
#
# provider-type: ws, esx, viserver, etc
# apiVersion: the apiVersion supported, as passed in from VixHost_Connect()
# ipc-type: none, vmdb, vmodl, cim
# product-version: the product version string
#
# implementation-directory: the path to the library that implements the
# version described by the first 4 parameters
#
#
# The configuration is based on the first 4 fields, which describe
# the product. The 5th field is the location. To force it to try
# multiple location, the same configuration can be repeated. Note that
# list is built in LIFO order, so the latest entry in the configuration
# will be the first used. If for some reason that value fails, it will
# continue through any other matches.
# Workstation 11.1.2 and Player 7.1.2
ws 17 vmdb 11.1.2 Workstation-11.0.0-and-vSphere-6.0.0
player 17 vmdb 7.1.2 Workstation-11.0.0-and-vSphere-6.0.0
ws-shared 17 none 11.1.2 Workstation-11.0.0-and-vSphere-6.0.0
# EOF
2)如果有一个名为“Workstation-11.0.0-and-vSphere-6.0.0”的文件夹,则将其移动到其他地方作为备份
3) 复制文件夹“Workstation-10.0.0-and-vSphere-5.5.0”并命名:
Workstation-11.0.0-and-vSphere-6.0.0
4)不要忘记将vmrun路径添加到用户变量:PATH(vmrun路径应该是这样的:“C:\Program Files (x86)\VMware\VMware VIX\”)
现在 vmrun 命令应该可以工作了。
以下命令打开虚拟机:
vmrun -T player start "D:\myUser\VMWare\Windows7\Windows 7.vmx"