Quantcast
Channel: VMware Communities : Discussion List - vSphere SDK for Perl
Viewing all articles
Browse latest Browse all 1577

Install VMware Tools with VMware Sphere SDK

$
0
0

Can we install VMware tools with VMware Sphere SDK?

In vSphere API/SDK Documentation writes follows:

 

VirtualMachine includes three methods for automating installation and upgrade of VMware Tools.
MountToolsInstaller– Mounts the VMware Tools CD installer as a CD-ROM for the guest operating system. To monitor the status of the tools installallation, check GuestInfo.toolsStatus. Check GuestInfo.toolsVersionStatus and GuestInfo.toolsRunningStatus for related information.
UnmountToolsInstaller– Unmounts the VMware Tools installer CD.
UpgradeToolsTask– Performs an upgrade of VMware Tools. This method assumes VMware Tools has been installed and is running. The method takes one argument, InstallerOptions, which allows you to specify command-line options passed to the installer to modify the installation procedure for tools.
Use theToolsConfigInfo data object in VirtualMachineConfigSpec.toolsInfo property to specify the settings for the VMware Tools software running on the guest operating system.
After my test,I can only upgrade tools but can't install.
Could you give me some advice to solve this problem?

Viewing all articles
Browse latest Browse all 1577

Trending Articles