Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to create an application that will traverse a Virtual Infrastructure using the vSphere Web Services API (this part I have handled) and perform and unattended install of some given package on Linux and Windows machines (this latter part I can't figure out. It looks like you can not use the VMware Update Manager to install custom packages ).

Is this possible? If so how can it be done? Credentials/permissions are not an issue as the person running this application should have total access to the infrastructure.

Thank you.

share|improve this question
up vote 0 down vote accepted

Have you looked at the (older) VIX API

There is a C example given at that link showing how to execute a simple commands within a guest and return some data. There are VIX functions for logging into Guests, copying files between Guest and host and vice versa, initiating\clearing snapshots as well as executing commands. There are more but given just those capabilities you should be able to build a robust installation framework to do what you need.

share|improve this answer
Perfect. Thank you. – nc. Jul 30 '09 at 14:13

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.