Installer (macOS)

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Mac OS X Installer.png
Installer Screenshot.png
Installer 6.1.0 running installation of VirtualBox on OS X Yosemite
Operating systemmacOS

Installer is an application included in macOS (and in its progenitors OPENSTEP and NeXTSTEP) that extracts and installs files out of .pkg packages. It was created by NeXT, and is now maintained by Apple Inc. Its purpose is to help software developers create uniform software installers.

Installer launches when a package or metapackage file is opened. The installation process itself can vary substantially, as Installer allows developers to customize the information the user is presented with. For example, it can be made to display a custom welcome message, software license and readme. Installer also handles authentication, checks that packages are valid before installing them, and allows developers to run custom scripts at several points during the installation process.[1]

Installer package[edit]

Installer packages have the file extension .pkg. Prior to Mac OS X Leopard, installer packages were implemented as Mac OS X packages.[2] These packages were a collection of files that resided in folders with a .pkg file extension.[3][4] In Mac OS X Leopard the software packaging method was changed to use the XAR (eXtensible ARchiver) file format; the directory tree containing the files is packaged as an xar archive file with a .pkg extension.[5] Instead of distributing multiple files for a package, this allowed all of the software files to be contained in a single file for easier distribution with the benefit of package signing.

See also[edit]


  1. ^ "Software Delivery Guide - Specifying Install Operations". Apple. Retrieved October 11, 2016.
  2. ^ "Software Delivery Guide". Apple. Retrieved March 15, 2015.
  3. ^ "The Flat Package". MacTech. Retrieved March 15, 2015.
  4. ^ "OSX legacy packaging redux". Matthew Brett. Retrieved March 15, 2015.
  5. ^ "XAR NEW MacOS X 10.5 package format". MacGeekBlog. December 30, 2006. Retrieved March 15, 2015.