Contents

InstallEnterpriseApplicationCommand.Command

The command to install an enterprise app on a device.

Declaration

object InstallEnterpriseApplicationCommand.Command

Properties

NameTypeDescription
ChangeManagementStatestring

The change management state. This value doesn’t work with the user enrollments. The only possible value is:

Managed

Take management of the app if the user installed it already and InstallAsManaged is true.

Available in macOS 11 and later.

ConfigurationInstallEnterpriseApplicationCommand.Command.Configuration

A dictionary that contains the initial configuration of the app, if you choose to provide it. Available in macOS 11 and later.

InstallAsManagedboolean

If true, install the app as a managed app. Otherwise, the system installs the app as unmanaged. If you reinstall a manged app and omit this value or set it to false, the app becomes unmanaged.

For manifest-based installs, if true, the system only considers apps installed in /Applications as managed. In macOS 11 through 13, the system requires that the pkg only contains a single signed app.

Available in macOS 11 and later.

iOSAppboolean

If true, the app is an iOS app that can run on a Mac with Apple silicon in macOS 11 and later.

ManagementFlagsinteger

The management flags. The possible values are:

1

If InstallAsManaged is true, remove the app upon removal of the MDM profile.

Available in macOS 11 and later.

ManifestInstallEnterpriseApplicationCommand.Command.Manifest

A dictionary that specifies where to download the app. This value uses the ManifestURL format.

ManifestURLstring

The URL of the app manifest, which needs to begin with https:. The manifest is returned as a property list that uses the ManifestURL format.

ManifestURLPinningCerts[data]

An array of DER-encoded certificates to pin the connection when fetching the ManifestURL.

PinningRevocationCheckRequiredboolean

If true, certificate revocation checks require a positive response when using certificate pinning with ManifestURLPinningCerts.

RequestRequiresNetworkTetherboolean

If true, the device needs to be network-tethered to run the command.

RequestType Requiredstring

The request type for this command.

Topics

Objects