Netscape logo
Guide to Customizing and Distributing Mozilla 1.4.1

Previous      Contents      Next     

Chapter 13   Preparing Macintosh Installers and Program Files

To create a customized Macintosh installer, you first create a customized Windows installer, then transfer the customized Windows files to a standard Macintosh installation package (for Mac OS 9) or an installed version of Mozilla 1.4.1 (for Mac OS X). This chapter provides detailed instructions for this procedure.

Note: If you are preparing a Linux installer, you simply transfer the tar file generated by the CCK tool file to a Linux system for testing and distribution. For details, see Chapter 4 "Preparing Platform and Installer Information."

This chapter contains these sections:

Tools Required
Creating a Customized Macintosh Installer

Tools Required


To create a customized Mozilla browser installer for Macintosh systems, you need these Macintosh tools:

Creating a Customized Macintosh Installer


The first five steps involved in creating a customized Macintosh installer are common to both Mac OS 9 and Mac OS X:

  1. Use the CCK tool to create a customized Mozilla 1.4.1 installer for Windows as described in previous chapters.

  2. Locate the Output directory:

  3. CCKTool\Configs\my_config\Output\
     

  4. Use WinZip or a similar utility to extract these jar files:

  5. Use Winzip or a similar utility to extract these additional files:

  6. Transfer all of the files listed in the preceding steps to a Macintosh running Mac OS 9 or Mac OS X.

At this point, the instructions differ depending which operating system you are running:

Create a Customized Mac OS 9 Installer
Creating a Mac OS X Installer

Create a Customized Mac OS 9 Installer

After you complete steps 1 through 5 above under"Creating a Customized Macintosh Installer," follow these steps to create a Mac OS 9 installer:

  1. Go to http://www.mozilla.org and download the Full Installer for the Mac OS 9 version of Mozilla 1.4.1.

  2. Locate the Installer Modules folder inside the Mozilla Full Installer (auto-expanded) folder.

  3. Select browser.xpi, langenus.xpi, and regus.xpi and extract the complete contents of these files.

  4. If you are using the ZipIt utility, first set the preferences as shown here:



     



     
    Within the ZipIt window, open viewer/chrome to locate the jar files (for all-ns.js, open viewer/defaults/pref).
     
  5. Replace the extracted files specified below with those that you transferred from Windows, then zip up the .xpi files again and replace the original .xpi files in the original locations:

  6. To customize the Welcome Dialog or to add or subtract components, use a text editor to modify the file Config.ini.

  7. Use the Stuffit utility to create a self-extracting archive from the Mozilla Full Installer folder.

  8. Verify the customization by expanding the executable, then install the build and check for the appropriate customizations, as with Windows builds.

If you are creating a network installer, use the self-extracting archive. Users will download this file, extract its contents, and run the Mozilla Installer file to install Mozilla.

If you are creating a CD, use the Mozilla Full Installer directory for the contents of the Macintosh partition, not the self-extracting archive.

Creating a Mac OS X Installer

After you complete steps 1 through 5 above under "Creating a Customized Macintosh Installer," follow the steps in this section to create a Mac OS X installer.

Note: You can perform steps 1 through 7 on either Mac OS 9 or Mac OS X.

  1. Go to http://www.mozilla.org and download the binary file for the Mac OS X version of Mozilla 1.4.1.

  2. Unpack the binary with ZipIt or StuffIt.

  3. Replace the Mac OS X jar files (modern.jar, en-US.jar, classic.jar, and US.jar) in /chrome with the corresponding files from the Windows installer.

  4. Replace the Mac OS X file all-ns.js in /Defaults/Pref with the corresponding file from the Windows installer.

  5. Replace the Mac OS X files mailaccount.rdf and newsaccount.rdf in /Defaults/isp and /Defaults/isp/US with the corresponding files from the Windows installer.

  6. Replace the Mac OS X files panels.rdf and bookmarks.html in /Defaults/Profile and /Defaults/Profile/US with the corresponding files from the Windows installer.

  7. Replace the Mac OS X file communicatorOverlay.xul in /chrome/comm.jar/communicator/communicatorOverlay.xul with the corresponding file from the Windows installer.

  8. Verify your customization by launching Mozilla on Mac OS X and checking for the appropriate customizations, as with Windows builds.



Previous      Contents      Next     

Copyright © 2003 Netscape Communications Corp. All rights reserved.


Last Updated October 05, 2001