VMware

VMware GSX Server 2.5.2


Features | Documentation | Knowledge Base | Discussion Forums

previous Prev   Contents   Last   Next next

Installing the VmPerl and VmCOM Scripting APIs on a Windows Host

Installing the VmPerl and VmCOM Scripting APIs on a Windows Host

On a Windows machine, either the server host or remote computer, you can use either the VmPerl API or the VmCOM API. Both scripting APIs are installed automatically on the GSX Server for Windows host from the master installer if you chose a complete installation. In addition, you can make the APIs available for download by customizing the download menu on the Login page of the VMware Management Interface. For more information, see Downloading Remote Management Packages.

You have a choice of installing either the VmCOM or the VmPerl Scripting API, or both.

  1. Choose Start > Run and browse to the directory where you saved the downloaded installer file (the name is similar to VMware-VmPerlAPI-<xxxx>.exe or VMware-VmCOMAPI-<xxxx>.exe, where <xxxx> is a series of numbers representing the version and build numbers).

  2. The installer starts. Click Next.

  3. Acknowledge the end user license agreement (EULA). Select Yes, I accept the terms in the license agreement, then click Next.

  4. Choose the directory in which to install the scripting API. To install it in a directory other than the default, click Change and browse to your directory of choice. If the directory does not exist, the installer creates it for you. Click Next.

    Note: Windows and the Microsoft Installer limit the path length to 255 characters for a path to a folder on a local drive and 240 characters for a path to a folder on a mapped or shared drive. If the path to the scripting API program folder exceeds this limit, an error message appears. You must select or enter a shorter path.

  5. Click Install. The installer begins copying files to your machine.

  6. Click Finish. The VMware Scripting API is installed.

If you install the VmCOM API, two folders named MiniMUI and SampleScripts are created in the same directory as the VmCOM Scripting API. The MiniMUI folder contains a sample Microsoft Visual Basic 6 project that uses VmCOM. The SampleScripts folder contains VBScript and JScript samples using the VmCOM Scripting API.

If you install the VmPerl API, a SampleScripts folder is created in the same directory as the VmCOM Scripting API. The SampleScripts folder contains sample scripts using the VmPerl Scripting API.

previous Prev   Contents   Last   Next next