7.2

Table Of Contents
Table 314. Custom Properties V Table (Continued)
Property Description
VirtualMachine.SoftwareN.Name
Species the descriptive name of a software
application N or script to install or run during
provisioning. This is an optional and information-
only property. It serves no real function for the
enhanced clone workow or the guest agent but it is
useful for a custom software selection in a user
interface or for software use reporting.
VirtualMachine.SoftwareN.ScriptPath
Species the full path to an application's install
script. The path must be a valid absolute path as seen
by the guest operating system and must include the
name of the script lename.
You can pass custom property values as parameters
to the script by inserting {CustomPropertyName} in the
path string. For example, if you have a custom
property named ActivationKey whose value is
1234, the script path is D:\InstallApp.bat –key
{ActivationKey}. The guest agent runs the
command D:\InstallApp.bat –key 1234. Your
script le can then be programmed to accept and use
this value.
You can also pass custom property values as
parameters to the script by inserting
{YourCustomProperty} in the path string. For example,
entering the
value \\vra-
scripts.mycompany.com\scripts\changeIP.bat
runs the changeIP.bat script from a shared
location, but entering the
value \\vra-
scripts.mycompany.com\scripts\changeIP.bat
{VirtualMachine.Network0.Address} runs the
changeIP script but also passes the value of the
VirtualMachine.Network0.Address property to
the script as a parameter.
Insert {Owner} to pass the machine owner name to
the script.
Chapter 3 Custom Properties Grouped by Name
VMware, Inc. 79