When you create an installer for macOS, the first step is to create a project. This project will be used to define files to be installed and where to install them.
Packages can create two types of installer supported by Installer
:
Type | Description |
---|---|
Raw package | A raw package contains a list of files to install and a description of where to install them. It also contains additional metadata. |
Distribution | A distribution is a wrapper for one or multiple raw packages. It can contain information that should be presented to the user such as a End User License Agreement. It can define which raw package can be installed, should be installed by default or which one a user can choose to install or not. |
Packages lets you decide what kind of project you want to create through a list of project templates.
The following templates are currently available:You can create your own templates (and add a custom UI in the assistant) if needed.
To create a new distribution project:
1 | Choose File > New Project… |
2 | Select Distribution in the list of templates. |
3 | Click Next. |
4 | Type the name of the project in the Project Name text field. |
5 | Click Choose… |
6 | Select the folder where the project shall be created and click Choose. |
7 | Click Finish. |
To create a new raw package project:
1 | Choose File > New Project… |
2 | Select Raw Package in the list of templates. |
3 | Click Next. |
4 | Type the name of the project in the Project Name text field. |
5 | Click Choose… |
6 | Select the folder where the project shall be created and click Choose. |
7 | Click Finish. |
By default, the project template window is displayed on launch (if the application has not been launched by opening a document).
To show/hide this window on launch:
1 | If the project template window is not currently visible, choose File > New Project… |
2 | Click the Show on launch checkbox. |
3 | Click Cancel. |
Revision History | ||
|