oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button

Xcode for the Rest of Us
Pages: 1, 2, 3

Using the PackageMaker Assistant

You start by double-clicking on the PackageMaker application located at /Developer/Applications/Utilities/PackageMaker. You are asked to pick a new project:

figure 3

Figure 3. New Project choices

I am going to ask PackageMaker Assistant to walk me through creating a distribution project, so I click the Assist Me button. Next, you can give your project a meaningful title and put in your organization's name:

figure 4

Figure 4. Naming your project

Laying Out the Installation Hierarchy

Now, on to the fun. Here is where you choose the files and/or directories you want to install, and where you want them installed on the user's hard drive.

I am going to choose the Student Materials folder from my hard drive plus the Skills Assessment Guide for certification study post-class. I will also specify where I want the materials installed (/Users/Shared) per package. Please be careful about checking the Relocatable box unless you are sure the files and/or directories do not have dependencies elsewhere in the file system.

figure 5

Figure 5. Choosing your package contents and installation locations

For each of the files/directories chosen, I can supply comments and post-installation actions by clicking on the large i:

figure 6

Figure 6. Content options

In Tiger, a new package-naming convention is in effect, which looks very much like a variation on reverse DNS: com.appleComputer.supportEssentialsStudentMaterials.StudentMaterials. You may change it if you like. You may also change the version number.

figure 7

Figure 7. Naming conventions and version numbers

Pages: 1, 2, 3

Next Pagearrow