Parcel Object
To create an object expression that checks target systems for information about a package in an Advanced UI or Suite/Advanced UI installation, use the Parcel object. The Parcel object has support for properties such as Eligible, ActionState, and DetectedState.
Syntax
[@Parcel(PackageGUID).ActionState]
[@Parcel(PackageGUID).DetectedState]
[@Parcel(PackageGUID).Eligible]
[@Parcel(PackageGUID).ExitCode]
[@Parcel(PackageGUID).Type]
Parameters
One parameter is available for the Parcel object.
Parameter |
Description |
PackageGUID |
Specify the GUID of the package. |
Properties
The following properties are available for the Parcel object.
Property |
Description |
||||||||||||||||||
ActionState |
Retrieves the currently set action state of the package. This value may change, depending on when at run time the property is queried. Valid values are:
|
||||||||||||||||||
DetectedState |
Retrieves the installed state of the package. Valid values are:
|
||||||||||||||||||
Eligible |
Retrieves a Boolean value that indicates whether the target system meets the requirements that are necessary for the package to be run. |
||||||||||||||||||
ExitCode |
Retrieves the exit code for the package once its scheduled operation has completed. The value of this property is indeterminate before package operations are run. |
||||||||||||||||||
Name |
Retrieves the display name of the package. |
||||||||||||||||||
Type |
Retrieves the type of package. Valid values are:
|
Examples
The following examples demonstrate use of the Parcel object in object expressions.
Expression |
Description |
[@Parcel(0F283EC0-E9D1-4D18-801D-0014F6CA96DF).DetectedState] |
Determine whether the referenced package is installed. |
[@Parcel(0F283EC0-E9D1-4D18-801D-0014F6CA96DF).ExitCode] |
Obtain the exit code for the package once its scheduled operation has completed. |