Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Apple > Operating Systems

This chapter is from the book

This chapter is from the book

Selectively Installing Mac OS X Files

Suppose at some point you accidentally delete an application that is included as part of Mac OS X or that came preinstalled on your drive. Or perhaps the application somehow gets corrupted and no longer launches. Even worse, you never made a backup copy of it. What can you do? You have several choices.

Do a Custom Install/Restore

A Custom Install ideally allows you to reinstall just the software you want, without having to do a complete reinstall of Mac OS X. With a complete reinstall, you run the risk of overwriting a file (possible a newer version of the file) that you don't want to modify—not to mention the fact that you're reinstalling thousands of perfectly OK files to get the one file that's missing (or not OK). As always, exactly how to do a Custom Install varies as a function of the Mac model you have.

To do a Custom Install on Macs that come with an Install DVD that includes an Install Bundled Software Only icon, start by double-clicking this icon. When you get to the Installation Type pane, click the Customize button. From here, you will be able to select which applications you want to reinstall. If the software you want is not listed, quit the Installer and instead double-click the Install Mac OS X and Bundled Software icon. Restart your Mac when requested and similarly check the Customize options.

Alternatively, you may be able to locate and launch a specific desired .pkg file (such as iPhoto.pkg) from an Install/Restore disc that allows you to install just the particular software you want. To find most of the packages you might want, go to /System/Installation/Packages on the initial Install 1 DVD.

Note: Some package items are in an invisible folder called .packages located inside the Packages folder(s). To see these items, use a utility such as InVisibles to make invisible items visible. Or use the Finder's Go to Folder command and type the path to the desired folder. For example, for the Install Disc 1 DVD, you would type /Volumes/Mac OS X Install Disc 1/System/Installation/Packages/.packages. Installing from an application's .pkg file is almost the same as installing the software via a Custom Install from the "full" Mac OS X Installer. One advantage of the separate install is that you may not need to restart your Mac from the Install disc in order to install. Also, you may be able to locate and install a .pkg file that is not listed separately in the Customize pane of the full Installer.

Note: In some cases, a .pkg file (especially an .mpkg file) may serve only to redirect the Installer to other .pkg file(s) where the software is actually located.

Note: If you install a version of an application from your Mac OS X Install disc, and a later update to Mac OS X—or just to that application—had previously updated the application, you'll need to go back and reinstall the update(s) to make sure you've got the latest version of the application.

03fig11.jpg

Figure 3.11 The/System/Installation/Packages folder on a Mac OS X Install Disc.

Copying from the Mac OS X Install discs

If the latest version of the file you want is on the Mac OS X Install discs, as an accessible file, you can copy it directly from the disc.

On some Install Disc 1 discs, for example, check inside the System folder at the root level of the disc. Here you will find a Library folder that contains copies of some files (such as Fonts) that eventually get installed in /System/Library on your drive. Should you need to replace one of these files (perhaps because you tried a hack on one of the files, and it failed and you don't have a backup), you can use the copy here. One caution: Occasionally, a file used on an Install disc will differ from that used on a hard drive. Overall I would be cautious about using this method and recommend performing a Custom Install instead.

The /Applications/Utilities folder contains working copies of applications such as Disk Utility and Installer.

Reinstalling from a Web download

If you cannot or do not wish to reinstall software from the Install disc(s), you may be able to download a separate installer from the Web. Check Apple's Web site to see if one is available.

Extracting from an expanded .pax.gz file

If the file you want is contained within a .pkg file—for example, MacOSXUpdateCombo10.4.3.pkg—you will most likely need to extract the file from the larger update. Here's one way to do so:

  1. Locate the .pax.gz file (for example, Archive.pax.gz) inside the Installer package file. (To view the contents of the package file, Control-click it and then select Show Package Contents from the menu that appears; then open the Contents folder.)
  2. Make a copy of the .pax.gz file and move it to the Desktop. (Although this step is not required, it serves as a good precaution against damaging the only copy.)
  3. Decompress the copied file. If the current version of StuffIt Expander does not decompress the file, use the shareware application OpenUp, by Scott Anguish (www.stepwise.com/Software/OpenUp). For large update packages, expect this output to take up a healthy amount of disk space (since it contains every file in the update).
  4. Locate the desired file and use it to replace the original. You may need root access to do this. You can delete the remaining expanded files or save them in case you need to do this again someday.
03fig12.jpg

Figure 3.12 Top, inside the package file of a Keynote Updater; bottom, the receipt file for the same updater. Note that the .pax.gz file is missing from the receipt file.

03fig13.jpg

Figure 3.13 This Pacifist window displays the contents of a Tiger Mac OS X update file. Clicking the disclosure triangles reveals subdirectory contents.

Use Pacifist

A simpler (and thus better) alternative to the previous procedure is to use a shareware utility called Pacifist, by CharlesSoft (www.charlessoft.com). Simply open a package (.pkg or .mpkg) file from within Pacifist, and you will see a complete list of all files in the .pkg file. You can then choose to extract a single file (or more, if you wish)—either to its intended destination location or to any location you select.

Note: On the Mac OS X Install CD, most of the to-be-installed software is stored in .pkg files. For example, inside the System folder at the root level of the CD is a folder called Package, which contains several .pkg files (most notably Essentials.pkg) that include the bulk of the Mac OS X software. You can open these packages via Pacifist to extract individual files. In fact, Pacifist has an Open Mac OS X Install Packages button that will provide a list of all packages on a Mac OS X Install disc along with the contents of each.

Of course, if you have a newer version of Mac OS X installed on your hard drive than the version on the Install CD, check any Update .pkg file(s) you have to see if there is a newer version of the software than the version on the Install CD—unless you specifically intend to downgrade as part of some troubleshooting work-around (in which case you want the version on the Install CD).

Cautions regarding extracting files from update packages

Two cautions about using Pacifist or otherwise extracting software from a .pax.gz file:

  • Related files may not get extracted. Sometimes the software you want to replace is part of a related set of files. For example, an application may require a file in an Application Support folder and/or an update to a Framework in order to function correctly. In such cases, if the additional files are not already present on your drive, just installing the application may not be sufficient. A complete reinstall of Mac OS X then becomes a better choice. You will know this is a possibility if the application does not work after the installation.
  • The extracted file may be incomplete. Starting with Mac OS X 10.3.4, Apple began releasing three different versions of most OS updates: Combo, Delta, and Patch.

    Combo updates contain all the changes made, from the original major version of the OS to the most recent minor update. For example, the Mac OS X 10.4.3 Combo Update can update any version of Mac OS X 10.4, from 10.4.0 to 10.4.2.

    Delta updates typically contain only the changes from the immediately previous version. For example, the Mac OS X 10.4.3 Update can only update systems running Mac OS X 10.4.2.

    Patch updates are similar to Delta updates. However, to keep the size of the update .pkg file to a minimum, they typically include only those files within application packages (and any other bundles) that have been modified in the update. Thus, a patch update that contains a new version of Safari may only include the files in the Safari package that have been changed. The extracted Safari application package would thus be incomplete and would not run.

    Patch updates can be used only by certain installations of the previous update. They are only available as a download via Software Update because Software Update must first see if your installation of Mac OS X is eligible to use the Patch version. Because a Patch version of an update does not contain complete versions of most software, you should not use a utility such as Pacifist to extract parts of the update.

    You can see if an update package you've downloaded is a Patch version by looking at its name—if so, the name will end in Patch.pkg.

I would hesitate to use Pacifist to extract files from anything but a Combo update package or, even better, a full Mac OS X Installer package.

Peachpit Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from Peachpit and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about Peachpit products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites; develop new products and services; conduct educational research; and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email ask@peachpit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by Adobe Press. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.peachpit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020