Target

Technology area
Installer

Overview

The Target object provides methods to obtain information about the installation volume. This object is accessed using the my.target property.

Tasks

Properties

Accessing Installation Receipts

Properties

availableKilobytes

Discussion

Available space in the installation volume, in kilobytes.

mountpoint

Discussion

String with that identifies the installation volume’s mountpoint.

systemVersion

Discussion

String specifying the version of the host’s operating system.

Methods

receiptForIdentifier

Provides information about the receipt for a given package on the installation host.

receiptForIdentifier( packageID)
Parameters
packageID

String specifying a package identifier. For example, com.apple.TextEdit.pkg.

Return Value

Dictionary with information about the receipt for the specified package.