Jump to content

Installer (macOS)

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Gepree (talk | contribs) at 14:12, 25 February 2017 (Updated version to 6.2.0). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Installer
Developer(s)Apple Inc.
Stable release
6.2.0 / January 23, 2017; 7 years ago (2017-01-23)[1]
Operating systemmacOS
TypeInstaller
LicenseProprietary
Websiteapple.com

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.[2]

Installer package

Installer packages have the file extension .pkg. Prior to Mac OS X Leopard, installer packages were implemented as Mac OS X packages.[3] These packages were a collection of files that resided in folders with a .pkg file extension.[4][5] 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.[6] 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

References

  1. ^ "OS X 10.10 Yosemite release date". Retrieved November 16, 2014.
  2. ^ "Software Delivery Guide - Specifying Install Operations". Apple. Retrieved October 11, 2016.
  3. ^ "Software Delivery Guide". Apple. Retrieved March 15, 2015.
  4. ^ "The Flat Package". MacTech. Retrieved March 15, 2015.
  5. ^ "OSX legacy packaging redux". Matthew Brett. Retrieved March 15, 2015.
  6. ^ "XAR NEW MacOS X 10.5 package format". MacGeekBlog. Retrieved March 15, 2015.