This documents shows how to create a package to install the TextEdit application in the /Applications folder. This will let you discover the Settings and the Files panes.
Creating a new project
1 | Open the Iceberg application. |
2 | Choose File > New Project . |
3 | Select the Core Templates Package project template and click Next. |
4 | Type MyPackage in the Project name text field and click Finish. |
1 | Choose View > Files. | ||
2 | Click on the disclosure triangle of the / folder to reveal its content. | ||
3 | Select the Applications line. | ||
4 | Choose Archive > Add Files . | ||
5 | Go the Applications folder. | ||
6 | Select the TextEdit application and click Add. | ||
7 | Choose the reference style from the Reference Style pop-up menu.
| ||
8 | Click Add. |
Installing items in the /Applications folder requires administrative privileges. You are going to tweak the package settings so that the user needs to authenticate when he/she installs the package.
1 | Choose View > Settings. |
2 | Choose Root Authorization from the Authorization pop-up menu. |
1 | Choose File > Save. |
2 | Choose Build > Build. |
The MyPackage.pkg package will be built in the build folder at the same level that the project document.