Mac Developer Library

Developer

Installer JavaScript Reference

Introduction to Installer JavaScript Reference

Classes  

JavaScript in Distribution Definition Files

A distribution definition file defines the install experience for a product. The Installer application opens and interprets distribution definition files to generate the user interface users manipulate to execute and customize a product install.

Distribution definition files contain XML and JavaScript code. The XML code defines the structure of a distribution, while the JavaScript code defines and manages install-time properties, such as installation options. Distribution Definition XML Schema Reference describes the XML schema used to define the structure of a distribution.

This document describes the object model that the JavaScript code in a distribution definition file can use to manage user input and system properties.

Who Should Read this Document

This document is targeted mainly to creators of distribution packages.

Classes

Installer Applications

Describes a JavaScript class that represents running applications.

Installer Choice

Describes a JavaScript class that represents a single installer choice.

Installer Files

Describes a JavaScript class that represents files on disk.

Installer IORegistry

Describes a JavaScript class that represents the IOKit registry.

Installer ProcessInformation

Describes a JavaScript class that represents process information for a running application.

Installer Result

Describes a JavaScript class that represents the result of an installation or volume check script.

Installer System

Describes a JavaScript class that represents the target host system.

Installer Target

Describes a JavaScript class that represents the installation volume.