VIX is an API for writing scripts to automate VMware's virtual machine operations and run programs that manipulate files within guest operating systems.
Questions tagged [vix]
31 questions
10
votes
4 answers
Vix vmrun doesn't work with VMware Player
I am trying to run a batch file on my virtual machine through VIX vmrun.
For starters it doesn't even want to start. When I try this in the command line:
vmrun -T player start "D:\myUser\VMWare\Windows7\Windows 7.vmx"
It says:
Unable to connect…

Rex Feral
- 458
- 2
- 4
- 17
7
votes
4 answers
Is there a C# wrapper for the VMware VIX API?
I am using VMware Workstation 6.5 on Windows Vista x64. I would like to automate some of the VM management tasks. I know that there is a COM API (http://www.vmware.com/support/developer/vix-api/) available which I could use directly.
Is there a C#…

Arnold Zokas
- 8,306
- 6
- 50
- 76
4
votes
2 answers
How can I use Vix API command line client without typing plaintext password?
I'm thinking of use VMWare API Vix to manage VmWare operations. I've been checking documentation but all the scripts uses variables with the password in plain text.
I'm not feeling sure with this and I want to hash or protect this password without…

MarcoGarzini
- 82
- 10
3
votes
1 answer
How to configure compiler for VIX API with Visual Studio 2012 c++?
Guidance is required to configure Visual Studio 2012 compiler with VIX API. I have already installed VIX API on my computer with Windows 8 64bit operating system.
Can anyone show me step by step how to:
setup the compiler
compile samples
compile my…

user2219455
- 31
- 1
3
votes
1 answer
How to get more specific error reason than VIX_E_FAIL
When I use native method VixDiskLib_Write in my C# App I get VIX_E_FAIL error, if connection suddenly disappear. Is there any way to get more specified problem reason?

Anna
- 63
- 4
3
votes
2 answers
Unable to use VIX api to power on VM, install software with msiexec, then create snapshot
I am at a loss on how to use the VIX api to install my software under test as part of what hopefully will be an addition to my continuous integration. Here are the operations at a high level:
power on VM snapshot
Install an msi package on the VM…

JohnZaj
- 3,080
- 5
- 37
- 51
3
votes
1 answer
VIX API Locale for non-Unicode programs Error
I use the VIX API 1.11 on the Windows OS and I have a problem with locale for non-Unicode programs.
When I try to call the VixHost_Connect() function to connect to VmWare Workstation Hypervisor, I have the error window on the screen with the…

Alex Kolesnyk
- 153
- 1
- 1
- 5
2
votes
2 answers
How can I connect to vmware using VIX (c# wrapper)
I'm trying to connect to VMWare Player machine using VMWareTasks (http://vmwaretasks.codeplex.com) but throw an error..
// declare a virtual host
using (VMWareVirtualHost virtualHost = new VMWareVirtualHost())
{
string vmfile =…

Carlos Huchim
- 102
- 1
- 11
2
votes
2 answers
For vSphere and vCenter automation, is PowerCLI cmdlets or VIX API the better approach?
http://www.vmware.com/support/developer/vix-api/ has VIX docs and says it is useful for automation of interactions with ESXI and vCenter
vSphere PowerCLI is a command-line and scripting tool based on PowerShell that provides useful functionality for…

Jai
- 319
- 2
- 9
- 30
1
vote
1 answer
Calling Vix API from PowerShell
Long time stackoverflow reader, first time poster. Forgive me if I'm not asking a question correctly.
I'm trying to use the VixCOM API with PowerShell. I don't have much experience with either. I am aware of VMWareTasks: C# VixCOM wrapper library &…

arch-imp
- 217
- 3
- 12
1
vote
1 answer
VMWare guest tools (vixtools) API is not finding the system /tmp directory
I am working on a Java class that accesses VMWare VMs on a VCenter using the Java API.
The Java API allows us to connect to the VCenter, access the guest VM (CentOS7) and list files in directories with no problems except for the /tmp directory.
for…

rwheadon
- 241
- 1
- 12
1
vote
1 answer
Vix API in python
I need to import VIX api libs in ubuntu using ctypes module.
When I do:
vix = CDLL('libvix.so')
It fails: "cannot open..."
what´s the problem??? libvix.so and python module are in the same directory
thanks!!

igferne
- 319
- 1
- 5
- 11
1
vote
0 answers
VM powered on by VIX API automation shuts down unexpectedly during large file copy on ESXi 6.0 server
The following DLLs are being used Vestris.VmWareLib.dll ( 1.7.824.0) and Interop.VixCom.dll (1.0.0.0) for powering on VMs and copying files on ESXi 6.0 server as part of an automation solution using C#.
We have noticed recently that during an…

Dromin_Abu
- 11
- 2
1
vote
1 answer
VMware VIX API FindItems() method never returns when querying for registered VMs
I am using VMware Workstation 6.5 on Windows Vista x64.
I am trying to write some C# code that uses VMware Vix v1.6.1 COM API to get a list of registered virtual machines.
The code I am using is as follows:
using System;
using VixCOM;
namespace…

Arnold Zokas
- 8,306
- 6
- 50
- 76
1
vote
1 answer
Visual Studio Shell 2015 does not use custom icons in solution explorer
I have upgraded my application from VS Shell 2013 to Shell 2015 and the custom icons for my editor extensions are not visible in the solution explorer. During the upgrade the wix is also upgraded to 3.10
The icons are installed with Wix through the…

tstanitz
- 111
- 1
- 11