7.4

Table Of Contents
Table 145. Custom Properties V Table (Continued)
Property Description
VirtualMachine.SoftwareN.Name
Specifies 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
workflow 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
Specifies 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 filename.
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 file 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.
Custom Properties Reference
VMware, Inc. 90