Information Property

Return or set information about the current package.

Syntax

object.Information(index) [= value]

The Information property syntax has the following parts:

Part Description
object An object expression that evaluates to a Package object.
index An integer that specifies the information to return or set in the current package.
value A string that specifies the value of the specified package information.

Settings

The settings for index are:

Constant Description
apCompanyName The name of the company or organization that created the package file.
apCompanyEmail The electronic mail address of the company or organization that created the package file.
apCompanyURL The URL for the company or organization that created the package file.
apProductName The name of the product being updated.
apProductVersion The version of the product being updated. Note that unlike the numeric package version, this may contain any numbers, letters or symbols and is used for display purposes only.
apProductBuild The build number for the product being updated.
apProductURL The URL for the product being updated. Unlike the company URL, this would typically provide the URL for information specific to the product.
apProductKey The registry key under HKEY_LOCAL_MACHINE\Software where configuration information about the product is stored.
apProductDescription A description of the product being updated.
apProductCopyright The copyright message for the product being updated.
apProductTrademark Any trademark information for the product being updated.
apProductLicense Licensing information for the product being updated.
apProductComments Additional comments about the product being updated.

Remarks

The information stored in the package is for application specific or user display purposes. It is not required that any of these values be set. Only the apProductKey value is checked during the process of applying the package, and is used to attempt to determine the default installation directory if one has not been explicitly specified by the application.

See Also

Resource Property