SetObjectProperty
Previous Topic  Next Topic 

::InstallAPI::SetObjectProperty


Set the value of a single property on a given object.



Supported Platforms

All



Returns

The new value of the property.



Options


-object <object ID or alias> (required)

The object ID or alias of the object to set the new property on.


-property <property name> (required)

The name of the property to set on the given object.


-value <property value> (required)

The new value to assign to the object property.



Example


The following example would change the destination directory that an Unzip File action is supposed to unzip to.


::InstallAPI::SetObjectProperty -object "unzip action" -property Destination -value <%InstallDir%>/foo