Repository navigation
Supported Pkginfo Keys
A list of supported keys for pkginfo files.
This is a list of supported keys for pkginfo files. See Pkginfo Files for examples of the proper use of these keys.
| Key | Type | Notes |
|---|---|---|
| additional_startosinstall_options | array of strings | (Support removed in Munki 7) For macOS installers only. Uses the startosinstall binary in the macOS installer application to specify additional options, like --eraseinstall. |
| allow_untrusted | boolean | If true, adds -allowUntrusted to /usr/sbin/installer, allowing installation of Apple packages signed with untrusted or expired certificates. Defaults to false. See Allowing Untrusted Packages. |
| apple_item | boolean | Should this item be considered as an Apple update item? See Apple-Software-Updates-With-Munki Defaults to false. |
| autoremove | boolean | See AutoRemove. Defaults to false. |
| blocking_applications | array of strings | See Blocking Applications and Assisted Quit of Blocking Applications. |
| blocking_applications_manual_quit_only | boolean | Munki 7.1 and later. If true, the user must manually quit this item's blocking applications; Managed Software Center will not attempt to quit them. Defaults to false. Applies when MSCOfferToQuitBlockingApps is true. See Assisted Quit of Blocking Applications. |
| blocking_applications_quit_script | string | Munki 7.1 and later. Optional script to quit this item's blocking applications when MSCOfferToQuitBlockingApps is true. Runs as the current GUI user, not as root. See Assisted Quit of Blocking Applications. |
| blocking_applications_with_launch_args | dictionary | Munki 7.4 and later. Maps blocking application identifiers to arrays of strings passed as arguments when Assisted Quit reopens applications after a successful update. Dictionary keys also define blocking applications and are combined with blocking_applications. An empty argument array defines a blocker without launch arguments. See Launch arguments for relaunched applications. |
| catalogs | array of strings | Required. See Using Munki Catalogs |
| category | string | Optional. The Category the item should appear under in Managed Software Center. |
| copy_local | boolean | (Support removed in Munki 7) Adobe CS5 install items only. Copy update to /tmp before installing. |
| custom_action_labels | dictionary | Munki 7.4 and later. Customizes action labels for optional installs, including OnDemand items. Missing labels retain their defaults. Supports localization via localized_strings. See custom_action_labels and Customizing Buttons for On Demand or Optional Installs. |
| description | string | Description of the item being installed. May contain (escaped) HTML for links (in standard <a href="https://web.link">link</a> format) and/or images
|
| description_staged | string | Specific to stage_os_installer type items. Description used in Managed Software Center after the OS installer is staged and ready to be launched. See Staging macOS Installers for details. |
| download_on_low_data | string | Munki 7.4 and later. Controls whether this item is downloaded on a low-data connection. auto, or an absent key, follows MaxSizeOverLowDataConnection; always downloads regardless of the threshold; never defers regardless of size. Invalid values are treated as auto. Low-data deferral is disabled when MaxSizeOverLowDataConnection is -1. Items past force_install_after_date and their required dependencies are exempt from deferral. See Low Data Connection Support. |
| developer | string | Optional. Used for grouping software by Developer in Managed Software Center. |
| display_name | string | "User-facing" display name that is used in Managed Software Center. |
| display_name_staged | string | Specific to stage_os_installer type items. Display name used in Managed Software Center after the OS installer is staged and ready to be launched. See Staging macOS Installers for details. |
| featured | boolean | If true, marks this optional install as a Featured item in Managed Software Center. Defaults to false. Items can also be featured using the featured_items manifest key. See Featured Items in Managed Software Center. |
| force_install_after_date | date | yyyy-mm-ddThh:mm:ssZ (evaluated in local time). See Force Install After Date |
| forced_install | boolean | This is Deprecated. Use unattended_install |
| forced_uninstall | boolean | This is Deprecated. Use unattended_uninstall |
| icon_hash | string | Optional SHA-256 hash used to detect changes to the item's icon. If absent, Munki looks up the icon hash in the generated _icon_hashes.plist resource. |
| icon_name | string | Specify the name of the icon file to be used. If not present, defaults to value of 'name' key + '.png'. |
| installable_condition | string | NSPredicate string that must evaluate true for this item to be allowed to install. Same format as used in Conditional Items, but is used only to filter whether the item can be installed on the client, not to decide whether it will be installed. See here for more details. |
| installcheck_script | string | If present, this script is executed to determine if an item needs to be installed. A return code of 0 means install is needed; any other return code causes install to be skipped. More information here |
| installed_size | integer | Size of the installed item in kbytes. Used to determine if there is enough free space before install. Typically generated by makepkginfo/munkiimport. |
| installed_size_staged | integer | Specific to stage_os_installer type items. Estimated disk space required for the macOS install in kbytes, displayed after the installer is staged. Typically generated by makepkginfo/munkiimport. See Staging macOS Installers. |
| installer_choices_xml | array of dictionaries | See installer_choices_xml. |
| installer_environment | dictionary | See installer_environment. |
| installer_item_hash | string | SHA-256 hash of item to ensure integrity at install time. Typically generated by makepkginfo/munkiimport. Can also generate with shasum -a 256 <filepath>
|
| installer_item_location | string | Relative path (from the pkgs directory) to the installer item. Typically auto generated. |
| installer_item_size | integer | Size of the installer item in kbytes. Used to determine if there is enough free space before install. Typically generated by makepkginfo/munkiimport. |
| installer_type | string | This key may be absent, in which case an installer item type of Apple package is assumed. Possible values include copy_from_dmg, nopkg, stage_os_installer. Support for types appdmg, profile, startosinstall, AdobeSetup, AdobeUberInstaller, AdobeAcrobatUpdater, AdobeCS5AAMEEPackage, AdobeCS5PatchInstaller, and AdobeCCPInstaller was removed in Munki 7. This key is typically auto-generated. |
| installs | array of dictionaries | A list of files/bundles/applications installed by this item. See Installs. |
| items_to_copy | array of dictionaries | A list of items to copied from a disk image. See items_to_copy. |
| licensed_seat_info_available | boolean | If true, enables license-seat availability checks for this item when it is an uninstalled optional install. Requires the LicenseInfoURL preference. Defaults to false. See License Seat Tracking. |
| localized_strings | dictionary | Optional key to localize pkgsinfo strings. More info |
| maximum_os_version | string | Highest OS version with which this item is compatible. |
| minimum_munki_version | string | Lowest version of the Munki tools that must be running before attempting to install this item. |
| minimum_os_version | string | Lowest OS version with which this item is compatible. Defaults to 10.4.0 for bundle packages and 10.5.0 for flat packages. |
| name | string | Mandatory. The single most important key. This is the name for the item, referred to in manifest files and in requires and update_for arrays. |
| notes | string | Arbitrary admin notes. Not included in catalogs when built with makecatalogs. |
| OnDemand | boolean | Whether this item should be treated as an "OnDemand" install. More info |
| package_path | string | Relative path to the package from the root of a mounted disk image. Useful if there are multiple packages on a disk image or the package you'd like to install is not located at the root of the mounted disk image. |
| PackageCompleteURL | string | Optional key to redirect actual package download to arbitrary location. Useful to offload bandwidth from location of munki repo/server. installer_item_location is still required even though PackageCompleteURL overrides its value. |
| PackageURL | string | PackageInfo-level key that overrides the value of PackageURL in Munki's global preferences. An alternate way to redirect download of a specific package to an alternate server. |
| postinstall_script | string | A script to be executed after a successful install. See Pre and Postinstall Scripts. |
| postuninstall_script | string | A script to be executed after a successful uninstall. See Uninstalling Software. |
| precache | boolean | Whether to precache a download for an optional install item. See here for more details. |
| preinstall_alert | dictionary | An alert dialog to be shown to the user before an attempted install. More info |
| preinstall_script | string | A script to be executed before an attempted install. See Pre and Postinstall Scripts. |
| preuninstall_alert | dictionary | An alert dialog to be shown to the user before an attempted uninstall. More info |
| preuninstall_script | string | A script to be executed before an attempted uninstall. See Uninstalling Software. |
| preupgrade_alert | dictionary | An alert dialog to be shown to the user before an attempted upgrade. More info |
| receipts | array of dictionaries | A list of package receipts left by this item. See Receipts. |
| requires | array of strings | A list of other Munki-managed packages that are required to be installed before this item can be installed. More info |
| RestartAction | string | Possible values: RequireShutdown, RequireRestart, RecommendRestart, RequireLogout, None. See RestartAction. |
| RestartActionForUninstall | string | Munki 7.4 and later. Overrides RestartAction for uninstalls. Possible values: RequireShutdown, RequireRestart, RecommendRestart, RequireLogout, None. If absent, uninstalls use RestartAction. See RestartActionForUninstall. |
| supported_architectures | array of strings | Currently useful values: arm64 or x86_64. See supported_architectures. |
| suppress_bundle_relocation | boolean | Deprecated. If true, Munki will attempt to suppress the Apple Installer feature that causes it to update applications and other bundle types that have been moved from their default location. Functional only on bundle-style packages; this option has no effect on flat packages. |
| unattended_install | boolean | If true, Munki can attempt to install this item without notifying the current GUI user. Note: this is an optional key. Setting it to false is the same as omitting the key altogether. |
| unattended_uninstall | boolean | If true, Munki can attempt to uninstall this item without notifying the current GUI user. Note: this is an optional key. Setting it to false is the same as omitting the key altogether. |
| uninstall_method | string | Possible values: removepackages, remove_copied_items, uninstall_script, uninstall_package, or the absolute path to a local script. See Uninstalling Software. |
| uninstall_script | string | Script that performs an uninstall. See Uninstalling Software. |
| uninstallable | boolean | If true, Munki can attempt to uninstall this item. See Uninstalling Software. |
| uninstallcheck_script | string | If present, this script is executed to determine if an item needs to be uninstalled. A return code of 0 means uninstall is needed; any other return code causes uninstall to be skipped. See Uninstalling Software. |
| uninstaller_item_hash | string | SHA-256 hash of the uninstaller item used with uninstall_method "uninstall_package". Typically generated by makepkginfo/munkiimport. See Uninstalling Software. |
| uninstaller_item_location | string | Used with uninstall_method "uninstall_package". See Uninstalling Software. |
| uninstaller_item_size | integer | Size of the uninstaller item in kbytes. Used to determine if there is enough free space to download the uninstaller. Typically generated by makepkginfo/munkiimport. See Uninstalling Software. |
| unused_software_removal_info | dictionary | Configures automatic removal of unused optional installs. Requires a working uninstall method. See unused_software_removal_info and Removal of Unused Software. |
| update_for | array of strings | List of other Munki-managed packages that this should be considered an update for. More info |
| version | string | Required. Version number string. Examples: 1.0, 3.6.10
|
| version_script | string | If present, this script is executed to determine the version of the installed item. In most cases, using a version_script (if possible) will be superior to using an installcheck_script. More info |
Array of dictionaries
Most keys are automatically generated by makepkginfo or munkiimport when importing an Apple package. The only key you might need to add or modify is the "optional" key.
| Receipt Key | Type | Description |
|---|---|---|
| filename | string | Legacy field generally no longer used |
| installed_size | integer | Size in Kbytes |
| name | string | Legacy field generally no longer used |
| packageid | string | Package identifier |
| version | string | |
| optional | boolean | If set to true, Munki won't use this receipt to determine installation state, but will use its information (if present) when removing an installed package |
Array of dictionaries
Not all keys appear in every entry. Use makepkginfo -f /path/to/item to generate these.
| Installs Key | Type | Description |
|---|---|---|
| CFBundleIdentifier | string | Value for CFBundleIdentifier in a plist or application/bundle type. |
| CFBundleName | string | Value for CFBundleName in a plist or application/bundle type. |
| CFBundleShortVersionString | string | Value for CFBundleShortVersionString in a plist or application/bundle type. |
| CFBundleVersion | string | Value for CFBundleVersion in a plist or application/bundle type. |
| md5checksum | string | An MD5 checksum used for version comparison by the file type. |
| minosversion | string | Minimum OS version required for an application type item. Derived automatically from the application bundle's Info.plist. |
| minimum_update_version | string | Optionally limit matching applications to versions of the app greater than or equal to this version. |
| path | string | Path to the item installed. |
| type | string | One of 'application', 'bundle', 'plist' or 'file'. |
| version_comparison_key | string | When install item is any type but 'file', this is the name of the plist key to be used for version comparison logic. If unspecified, 'CFBundleShortVersionString' is used. |
More info on installs arrays is here.
Array of Dictionaries
Used with copy_from_dmg installer_type to tell Munki what and where to copy.
| items_to_copy key | Type | Description |
|---|---|---|
| destination_path | string | Destination directory for the item, required. Either this or destination_item (containing a full path) must be present. |
| group | string | Optional. Group for copied item. Defaults to admin. |
| mode | string | Optional. Mode for copied item (see man chmod for valid formats). Defaults to 'o-w' |
| source_item | string | Required. Relative path from the root of the disk image to the item to be copied. |
| destination_item | string | Copy item as name specified. Used if you want to rename the item as it is copied. You can specify a full path to the destination item when you omit destination_path. |
| user | string | Optional. Owner for copied item. Defaults to root. |
Array of Dictionaries
Used with Apple metapackages to control what subpackages are installed. See ChoiceChangesXML for more information.
| installer_choices_xml key | Type | Description |
|---|---|---|
| attributeSetting | integer | |
| choiceAttribute | string | ("visible", "enabled", "selected") |
| choiceIdentifier | string |
Dictionary
Used to specify arbitrary environment variables for use by /usr/sbin/installer. The combination of the key 'USER' and the value 'CURRENT_CONSOLE_USER' is special, and causes Munki to set the USER variable to the current console user and the HOME variable to the home of the current console user.
| Key | Type | Notes |
|---|---|---|
| VARIABLE_NAME | string |
Dictionary
Munki 7.4 and later. Used to customize action labels for optional installs in Managed Software Center. All keys are optional and have string values; omitted keys use the default labels. Use brief, plain text labels. For OnDemand items, only install and installing apply. Labels can be localized using localized_strings. See Customizing Buttons for On Demand or Optional Installs for examples.
| Key | Type | Notes |
|---|---|---|
| install | string | Replaces the "Install" action label. |
| installing | string | Replaces the "Installing" status label. |
| installed | string | Replaces the "Installed" status label for an installed item that cannot be removed. |
| remove | string | Replaces the "Remove" action label. |
| removing | string | Replaces the "Removing" status label. |
| update | string | Replaces the "Update" action label. |
Dictionary
Used to automatically remove optional installs that have not been used for a specified number of days. Applies only to optional installs, and the item must have a working uninstall method. See Removal of Unused Software for more information.
| Key | Type | Notes |
|---|---|---|
| bundle_ids | array of strings | Optional. Bundle identifiers of applications to check for use. If absent, bundle identifiers are extracted from application entries in the installs array. |
| removal_days | integer | Required. A positive number of days without application use or an install request before the item can be removed. Munki must have at least this many days of usage data, and none of the applications being checked may be running. |
- Getting Started
- Overview
- Discussion Groups
- Demonstration Setup
- Glossary
- Frequently Asked Questions
- Contributing to Munki
- Release Notes
- Introduction
- New features
- Changes
- Introduction
- New features
- Removed features
- Python removal
- PPPC/TCC for Munki 7
- Middleware for Munki 7
- Logging
- Installation package changes
- Launchd job changes
- Introduction
- Staging macOS Installers
- Apple update changes
- Default Installs (Munki 6.1)
- Conditional Application Data (Munki 6.5)
- Introduction
- Munki Links
- Product Icons
- Screenshots In Product Descriptions
- Client Customization
- Customizing the sidebar
- Custom Help Content
- Featured Items
- Update Notifications:
- Managed Software Center Logging
- Localization
- Introduction
- iconimporter
- makepkginfo
- munkiimport
- managedsoftwareupdate
- makecatalogs
- manifestutil
- repoclean
- Preferences
- Default Repo Detection
- Default Manifest Resolution
- Managed Preferences Support In Munki
- Apple Software Updates With Munki
- Additional macOS configuration for Munki:
- Introduction to Pkginfo Files
- Supported Pkginfo Keys
- Important Pkginfo Features
- Installer type details:
- Pkginfo in Operation:
- Version comparisons
- Default Installs
- Removal of Unused Software
- Upgrading macOS:
- Apple Updates:
- Securing the Munki repo
- Preflight And Postflight Scripts
- Managed Software Center Logging
- Munki With Git
- Bootstrapping With Munki
- License Seat Tracking
- LaunchD Jobs and Changing When Munki Runs
- Web Request Middleware
- Repo Plugins
- Downgrading Software
- Downgrading Munki tools
- Authorized Restarts
- Allowing Untrusted Packages
- On Demand Items
- AutoPkg
- Repackaging
- Creating Disk Images
- Stupid Munki Tricks
- Troubleshooting
- Professional Support
- Building Munki packages
- Signing Munki
- Removing Munki
- Who's Using Munki
- More Links And Tools
- Munki 3 Information
- Munki 4 Information
- macOS Sonoma info
- macOS Monterey Info
- macOS Ventura info
- make_munki_mpkg.sh
- make_munki_mpkg_from_git.sh
- Munki packages and restarts
- Pkginfo For Apple Software Updates
- Managing Configuration Profiles
- Configuration Profile Emulation
- softwareupdate and Configuration profile notes
- About Munki's Embedded Python
- Customizing Python for Munki
- Modular Imaging with Munki
- Report Broken Client
- Munki Configuration Script
- Microsoft Office
- Adobe Products
- Upgrading macOS: