gecko-dev/cck/CCKDocs/mac_linux_cck.htm

584 строки
27 KiB
HTML

<html>
<!--This html file is XHTML complaint, as set forth in the
w3c recommendations except for the following:
Lists work as they do in older versions on HTML and not as
directed in XHTML.
The <a name=" "> tags have targets that use spaces. -->
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
<title> Guide to Customizing and Distributing Mozilla 1.4.1: Chapter&#32;13Preparing Macintosh Installers and Program Files</title>
<!--The following is a javascript which determines whether the client
is on a Windows machine, or is on another type of operating system. Once
the operating system is determined, either a windows or other operating
system cascading style sheet is used. -->
<script type="text/JavaScript">
<!-- Start hiding
window.onerror=null;
var client=navigator.userAgent.toLowerCase();
var WinStyle = "<STYLE NAME=WINDOWS>\n" +
"body,p {font-family: helvetica,arial,sans-serif; font-size:10pt; margin-bottom: 10; margin-top: 0; } \n" +
"th,tr,td,br,li,dl,dd,ul,ol,li {font-family: helvetica,arial,sans-serif; font-size:10pt; } \n" +
".bartext {font-family: helvetica,arial,sans-serif; font-weight: bold; color: #666666; margin-bottom: 0; margin-top: 0; font-size:14pt;} \n" +
".callout {font-family: helvetica,arial,sans-serif; font-size: 8pt;} \n" +
".calloutlarge {font-family: helvetica,arial,sans-serif; font-size: 9pt;} \n" +
".calloutlargebold {font-family: helvetica,arial,sans-serif; font-size: 9pt; font-weight: bold;} \n" +
".calloutsmall {font-family: helvetica,arial,sans-serif; font-size: 7pt; font-weight: normal;} \n" +
".caption {font-family: helvetica,arial,sans-serif; font-weight: bold; color: black; margin-bottom: 5; margin-top: 0; font-size: 11pt;} \n" +
".caution {font-family: helvetica,arial,sans-serif; font-size:10pt; font-weight: bold; margin-bottom: 0; margin-top: 0; } \n" +
"code {font-family: courier,couriernew,monospaced; font-size: 10pt; margin-bottom: 0; margin-bottom:0; margin-top: 0;} \n" +
".copy {align: center; font-family: helvetica,arial,sans-serif; font-size:8pt; margin-bottom: 0; margin-top: 0;} \n" +
".footnote {font-family: helvetica,arial,sans-serif; font-size:10pt; } \n" +
".gloss {font-family: helvetica,arial,sans-serif; font-size:10pt; margin-bottom: 10; margin-top: 0; } \n" +
".grouptitleix {font-family: helvetica,arial,sans-serif; font-weight: bold; color: black; margin-bottom: 10; margin-top: 20pt; font-size: 14pt;} \n" +
".h1 {font-family: helvetica,arial,sans-serif; font-weight: normal; color: black; margin-bottom: 0; margin-top: 30pt; font-size: 18pt;} \n" +
".h2 {font-family: helvetica,arial,sans-serif; font-weight: normal; color: black; margin-bottom: 10; margin-top: 30pt; font-size: 16pt;} \n" +
".h3 {font-family: helvetica,arial,sans-serif; font-weight: bold; color: black; margin-bottom: 10; margin-top: 20pt; font-size: 14pt;} \n" +
".h4 {font-family: helvetica,arial,sans-serif; font-style: italic; font-color: black;margin-bottom: 0; margin-top: 16pt; font-size: 11pt;} \n" +
".h5 {font-family: helvetica,arial,sans-serif; font-weight: normal; color: black; margin-bottom: 0; margin-top: 0; font-size: 8pt;} \n" +
".navigation {font-family: helvetica,arial,sans-serif; font-weight: bold; color: #993300; margin-bottom: 0; margin-top: 0; font-size:10pt;} \n" +
".note {font-family: helvetica,arial,sans-serif; font-size:10pt; font-weight: bold; margin-bottom: 0; margin-top: 0; } \n" +
".list1 {font-family: helvetica,arial,sans-serif; font-size:10pt; margin-bottom: 10; margin-top: 0; margin-left: 12pt; list-style-position: outside; } \n" +
".list2 {font-family: helvetica,arial,sans-serif; font-size:10pt; margin-bottom: 10; margin-top: 0; text-indent: 12pt; margin-left: 18pt; } \n" +
".list3 {font-family: helvetica,arial,sans-serif; font-size:10pt; margin-bottom: 10; margin-top: 0; text-indent: 18pt; margin-left: 24pt; } \n" +
".para1 {font-family: helvetica,arial,sans-serif; font-size:10pt; margin-bottom: 10; margin-top: 0; margin-left: 12pt; } \n" +
".para2 {font-family: helvetica,arial,sans-serif; font-size:10pt; margin-bottom: 10; margin-top: 0; margin-left: 18pt; } \n" +
".para3 {font-family: helvetica,arial,sans-serif; font-size:10pt; margin-bottom: 10; margin-top: 0; margin-left: 24pt; } \n" +
"pre {font-family: courier,couriernew,monospaced; font-size: 10pt; margin-bottom: 0; } \n" +
".refh1 {font-family: palatino,times,timesnewroman,serif; font-weight: normal; color: black;margin-bottom: 10; margin-top: 30pt; font-size: 18pt;} \n" +
".refh2 {font-family: palatino,times,timesnewroman,serif; font-weight: normal; color: black; margin-bottom: 10; margin-top: 30pt; font-size: 16pt;} \n" +
".refhead {font-family: helvetica,arial,sans-serif; font-weight: bold; color: black; margin-bottom: 4; margin-top: 15pt; font-size: 11pt;} \n" +
".tabletext {font-family: helvetica,arial,sans-serif; font-size:10pt; margin-bottom: 10; margin-top: 0; } \n" +
".tablehead {text-align: left;font-family: helvetica,arial,sans-serif; font-weight: bold; font-size:10pt; margin-bottom: 4; margin-top: 0; } \n" +
".text {font-family: helvetica,arial,sans-serif; font-size:10pt; margin-bottom: 10; margin-top: 0; } \n" +
".tip {font-family: helvetica,arial,sans-serif; font-size:10pt; font-weight: bold; margin-bottom: 0; margin-top: 0; } \n" +
".title {font-family: helvetica,arial,sans-serif; font-weight: bold; color: black;margin-bottom: 30pt; margin-top: 16pt; font-size: 16pt;} \n" +
".toc1 {font-family: helvetica,arial,sans-serif; font-size: 11pt; font-weight: bold; margin-bottom: 0; margin-top: 30; text-indent: 20;} \n" +
".tocc {font-family: helvetica,arial,sans-serif; font-size: 11pt; font-weight: bold; margin-bottom: 0; margin-top: 7; text-indent: 20;} \n" +
".tochead1 {font-family: helvetica,arial,sans-serif; font-size: 10pt; font-weight: normal; margin-bottom: 0; margin-top: 2; text-indent: 20;} \n" +
".tochead2 {font-family: helvetica,arial,sans-serif; font-size: 10pt; font-weight: normal; margin-bottom: 0; margin-top: 2; text-indent: 40;} \n" +
".tochead3 {font-family: helvetica,arial,sans-serif; font-size: 10pt; font-weight: normal; margin-bottom: 0; margin-top: 2; text-indent: 60;} \n" +
".tocnontoc {font-family: helvetica,arial,sans-serif; font-size: 10pt; font-weight: normal; text-indent: 0;} \n" +
".tocpart {font-family: helvetica,arial,sans-serif; font-size:13pt; font-weight: bold; margin-bottom: 0; margin-top: 20;} \n" +
".update {text-align: right; font-family: helvetica,arial,sans-serif; font-size:8pt; margin-bottom: 0; margin-top: 0;} \n" +
"</style>";
var OtherStyle = "<style name=NOTWINDOWS>\n" +
"body,p {font-family: helvetica,arial,sans-serif; font-size:12pt; margin-bottom: 10; margin-top: 0; } \n" +
"th,tr,td,br,li,dl,dd,ul,ol,li {font-family: helvetica,arial,sans-serif; font-size:12pt; } \n" +
".bartext {font-family: helvetica,arial,sans-serif; font-weight: bold; color: #666666; margin-bottom: 0; margin-top: 0; font-size:17pt;} \n" +
".callout {font-family: helvetica,arial,sans-serif; font-size: 10pt;} \n" +
".calloutlarge {font-family: helvetica,arial,sans-serif; font-size: 11pt;} \n" +
".calloutlargebold {font-family: helvetica,arial,sans-serif; font-size: 11pt; font-weight: bold;} \n" +
".calloutsmall {font-family: helvetica,arial,sans-serif; font-size: 8pt; font-weight: normal;} \n" +
".caption {font-family: helvetica,arial,sans-serif; font-weight: bold; color: black; margin-bottom: 5; margin-top: 0; font-size: 13pt;} \n" +
".caution {font-family: helvetica,arial,sans-serif; font-size:12pt; font-weight: bold; margin-bottom: 0; margin-top: 0; } \n" +
"code {font-family: courier,couriernew,monospaced; font-size: 12pt; margin-bottom: 0; margin-bottom:0; margin-top: 0;} \n" +
".copy {align: center; font-family: helvetica,arial,sans-serif; font-size:10pt; margin-bottom: 0; margin-top: 0;} \n" +
".footnote {font-family: helvetica,arial,sans-serif; font-size:12pt; } \n" +
".gloss {font-family: helvetica,arial,sans-serif; font-size:12pt; margin-bottom: 10; margin-top: 0; } \n" +
".grouptitleix {font-family: helvetica,arial,sans-serif; font-weight: bold; color: black; margin-bottom: 10; margin-top: 20pt; font-size: 17pt;} \n" +
".h1 {font-family: helvetica,arial,sans-serif; font-weight: normal; color: black; margin-bottom: 0; margin-top: 30pt; font-size: 22pt;} \n" +
".h2 {font-family: helvetica,arial,sans-serif; font-weight: normal; color: black; margin-bottom: 10; margin-top: 30pt; font-size: 19pt;} \n" +
".h3 {font-family: helvetica,arial,sans-serif; font-weight: bold; color: black; margin-bottom: 10; margin-top: 20pt; font-size: 17pt;} \n" +
".h4 {font-family: helvetica,arial,sans-serif; font-style: italic; font-color: black;margin-bottom: 0; margin-top: 16pt; font-size: 14pt;} \n" +
".h5 {font-family: helvetica,arial,sans-serif; font-weight: normal; color: black; margin-bottom: 0; margin-top: 0; font-size: 10pt;} \n" +
".navigation {font-family: helvetica,arial,sans-serif; font-weight: bold; color: #993300; margin-bottom: 0; margin-top: 0; font-size:12pt;} \n" +
".note {font-family: helvetica,arial,sans-serif; font-size:12pt; font-weight: bold; margin-bottom: 0; margin-top: 0; } \n" +
".list1 {font-family: helvetica,arial,sans-serif; font-size:12pt; margin-bottom: 10; margin-top: 0; margin-left: 12pt; list-style-position: outside; } \n" +
".list2 {font-family: helvetica,arial,sans-serif; font-size:12pt; margin-bottom: 10; margin-top: 0; text-indent: 12pt; margin-left: 18pt; } \n" +
".list3 {font-family: helvetica,arial,sans-serif; font-size:12pt; margin-bottom: 10; margin-top: 0; text-indent: 18pt; margin-left: 24pt; } \n" +
".para1 {font-family: helvetica,arial,sans-serif; font-size:12pt; margin-bottom: 10; margin-top: 0; margin-left: 12pt; } \n" +
".para2 {font-family: helvetica,arial,sans-serif; font-size:12pt; margin-bottom: 10; margin-top: 0; margin-left: 18pt; } \n" +
".para3 {font-family: helvetica,arial,sans-serif; font-size:12pt; margin-bottom: 10; margin-top: 0; margin-left: 24pt; } \n" +
"pre {font-family: courier,couriernew,monospaced; font-size: 12pt; margin-bottom: 0; } \n" +
".refh1 {font-family: palatino,times,timesnewroman,serif; font-weight: normal; color: black;margin-bottom: 10; margin-top: 30pt; font-size: 22pt;} \n" +
".refh2 {font-family: palatino,times,timesnewroman,serif; font-weight: normal; color: black; margin-bottom: 10; margin-top: 30pt; font-size: 19pt;} \n" +
".refhead {font-family: helvetica,arial,sans-serif; font-weight: bold; color: black; margin-bottom: 4; margin-top: 15pt; font-size: 13pt;} \n" +
".tabletext {font-family: helvetica,arial,sans-serif; font-size:12pt; margin-bottom: 10; margin-top: 0; } \n" +
".tablehead {text-align: left;font-family: helvetica,arial,sans-serif; font-weight: bold; font-size:12pt; margin-bottom: 4; margin-top: 0; } \n" +
".text {font-family: helvetica,arial,sans-serif; font-size:12pt; margin-bottom: 10; margin-top: 0; } \n" +
".tip {font-family: helvetica,arial,sans-serif; font-size:12pt; font-weight: bold; margin-bottom: 0; margin-top: 0; } \n" +
".title {font-family: helvetica,arial,sans-serif; font-weight: bold; color: black;margin-bottom: 30pt; margin-top: 16pt; font-size: 19pt;} \n" +
".toc1 {font-family: helvetica,arial,sans-serif; font-size: 13pt; font-weight: bold; margin-bottom: 0; margin-top: 30; text-indent: 20;} \n" +
".tocc {font-family: helvetica,arial,sans-serif; font-size: 13pt; font-weight: bold; margin-bottom: 0; margin-top: 7; text-indent: 20;} \n" +
".tochead1 {font-family: helvetica,arial,sans-serif; font-size: 12pt; font-weight: normal; margin-bottom: 0; margin-top: 2; text-indent: 20;} \n" +
".tochead2 {font-family: helvetica,arial,sans-serif; font-size: 12pt; font-weight: normal; margin-bottom: 0; margin-top: 2; text-indent: 40;} \n" +
".tochead3 {font-family: helvetica,arial,sans-serif; font-size: 12pt; font-weight: normal; margin-bottom: 0; margin-top: 2; text-indent: 60;} \n" +
".tocnontoc {font-family: helvetica,arial,sans-serif; font-size: 12pt; font-weight: normal; text-indent: 0;} \n" +
".tocpart {font-family: helvetica,arial,sans-serif; font-size:15pt; font-weight: bold; margin-bottom: 0; margin-top: 20;} \n" +
".update {text-align: right; font-family: helvetica,arial,sans-serif; font-size:10pt; margin-bottom: 0; margin-top: 0;} \n" +
"</style>";
if ( client.indexOf("win") != -1 ){
document.write( WinStyle );
}else{
document.write( OtherStyle );
}
// End hiding -->
</script>
</head>
<body text="#000000" link="#666699" vlink="#666699" alink="#333366" bgcolor="#FFFFFF">
<!--maincontent defines everything between the body tags -->
<!--start maincontent-->
<!--navigationcontent defines the top row of links and the banner -->
<!--start navigationcontent-->
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="bottom" width="67">
<img src="netscape48.gif" height="48" width="48" border="0" alt="Netscape logo" />
</td>
<td valign="middle">
<span class="bartext"> <br />Guide to Customizing and Distributing Mozilla 1.4.1
</span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<hr size="4" noshade="noshade" />
<span class="navigation">
<a style="text-decoration: none" href="advanced_cck.htm">
Previous
</a>
</span>
&nbsp;&nbsp;&nbsp;&nbsp;
<span class="navigation">
<a style="text-decoration: none" href="guide.html">
Contents
</a>
</span>
&nbsp;&nbsp;&nbsp;&nbsp;
<span class="navigation">
<a style="text-decoration: none" href="distribute_cck.htm">
Next
</a>
</span>
&nbsp;&nbsp;&nbsp;&nbsp;
</td>
</tr>
</table>
<!--end navigationcontent-->
<!--bookcontent defines the actual content of the file, sans headers and footers -->
<!--start bookcontent-->
<blockquote>
<br />
<p class="title">
<a name="13832"> </a>
<a name=""> </a>
<font color="#666666">
Chapter&#32;13
&nbsp;
</font>
<a name="13833"> </a>
<a name="Preparing Macintosh Installers and Program Files"> </a>
Preparing Macintosh Installers and Program Files
</p><p class="text">
<a name="14641"> </a>
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.
</p>
<p class="text">
<a name="14656"> </a>
<b>Note:</b> 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 <a href="info_cck.htm#14434" >Chapter&#32;4 "Preparing Platform and Installer Information</a>."
</p>
<p class="text">
<a name="14734"> </a>
This chapter contains these sections:
</p>
<p class="text">
<a name="14735"> </a>
<a href="mac_linux_cck.htm#14438" >Tools Required</a><br /><a href="mac_linux_cck.htm#14296" >Creating a Customized Macintosh Installer</a>
</p>
<p class="h1">
<a name="14438"> </a>
<a name="Tools Required"> </a>
Tools Required
<hr size="2" noshade="noshade" />
</p>
<p class="text">
<a name="14707"> </a>
To create a customized Mozilla browser installer for Macintosh systems, you need these Macintosh tools:
</p>
<ul>
<li>
Stuffit Deluxe 5.5 or higher, which is available from your local computer store or through <a href="http://www.aladdinsys.com/store/"><code>http://www.aladdinsys.com/store/</code></a>
<a name="14293"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li>
ZipIt 1.3.8 or higher, shareware available through <code><a href="http://www.zdnet.com/downloads/">http://www.zdnet.com/downloads/</code></a>
<a name="14294"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
</ul>
<p class="h1">
<a name="14296"> </a>
<a name="Creating a Customized Macintosh Installer"> </a>
Creating a Customized Macintosh Installer
<hr size="2" noshade="noshade" />
</p>
<p class="text">
<a name="14708"> </a>
The first five steps involved in creating a customized Macintosh installer are common to both Mac OS 9 and Mac OS X:
</p>
<ol type="1">
<li value="1">
Use the CCK tool to create a customized Mozilla 1.4.1 installer for Windows as described in previous chapters.
<a name="14298"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li value="2">
Locate the Output directory:
<a name="14299"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<dl><dl><p>
<code>
<a name="14765"></a>
CCKTool\Configs\<em>my_config</em>\Output\<br />
&nbsp;
</code>
</p></dl></dl>
<li value="3">
Use WinZip or a similar utility to extract these jar files:
<a name="14300"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<ul>
<li>
From <code>browser.xpi</code>: <code>modern.jar, comm.jar</code>
<a name="14301"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li>
<li>
From <code>langenus.xpi</code>: <code>en-US.jar</code>
<a name="14302"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li>
<li>
From <code>skinclas.xpi</code>: <code>classic.jar</code>
<a name="15471"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li>
<li>
From <code>regus.xpi</code>: <code>US.jar<br /></code><font face="fontsansserif" SIZE="+2" COLOR="red">&nbsp;</font>
<a name="15472"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li> </ul>
<li value="4">
Use Winzip or a similar utility to extract these additional files:
<a name="15473"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<ul>
<li>
From <code>browser.xpi</code>: <code>all-ns.js</code>, <br /><code>comm.jar/communicator</code>: <code>communicatorOverlay.xul</code>
<a name="14306"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li>
<li>
From <code>deflenus.xpi</code> or <code>regus.xpi</code>: <code>panels.rdf</code>
<a name="14307"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li>
<li>
From <code>deflenus.xp</code>i or <code>regus.xpi</code>: <code>bookmarks.html</code>
<a name="14308"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li>
<li>
From <code>deflenus.xpi</code> or <code>regus.xpi</code>: <code>mailaccount.rdf</code> (this file will not be present unless you customized the Mail settings)
<a name="14309"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li>
<li>
From <code>deflenus.xpi</code> or <code>regus.xpi</code>: <code>newsaccount.rdf</code> (this file will not be present unless you customized the News settings)<br /><font face="fontsansserif" SIZE="+2" COLOR="red">&nbsp;</font>
<a name="15240"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li> </ul>
<li value="5">
Transfer all of the files listed in the preceding steps to a Macintosh running Mac OS 9 or Mac OS X.
<a name="15242"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
</ol>
<p class="text">
<a name="14892"> </a>
At this point, the instructions differ depending which operating system you are running:
</p>
<p class="text">
<a name="15140"> </a>
<a href="mac_linux_cck.htm#14896" >Create a Customized Mac OS 9 Installer</a><br /><a href="mac_linux_cck.htm#14231" >Creating a Mac OS X Installer</a>
</p>
<p class="h2">
<a name="14896"> </a>
<a name="Create a Customized Mac OS 9 Installer"> </a>
Create a Customized Mac OS 9 Installer
</p>
<p class="text">
<a name="14901"> </a>
After you complete steps 1 through 5 above under"<a href="mac_linux_cck.htm#14296" >Creating a Customized Macintosh Installer</a>," follow these steps to create a Mac OS 9 installer:
</p>
<ol type="1">
<li value="1">
Go to <code><a href="http://www.mozilla.org/releases">http://www.mozilla.org</a></code> and download the Full Installer for the Mac OS 9 version of Mozilla 1.4.1.
<a name="14312"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li value="2">
Locate the Installer Modules folder inside the Mozilla Full Installer (auto-expanded) folder.
<a name="14313"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li value="3">
Select <code>browser.xpi</code>, <code>langenus.xpi</code>, and <code>regus.xpi</code> and extract the complete contents of these files.
<a name="14314"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<dl>
<dt> <a name="14590"> </a>
If you are using the ZipIt utility, first set the preferences as shown here:<br /><br><img src="gifs/zipit1.gif">
<br>
<br />&nbsp;</dt> <dt> <a name="14597"> </a>
<br><img src="gifs/zipit2.gif">
<br>
<br />&nbsp;</dt> <dt> <a name="14324"> </a>
Within the ZipIt window, open <code>viewer/chrome</code> to locate the jar files (for <code>all-ns.js</code>, open <code>viewer/defaults/pref</code>).
<br />&nbsp;</dt> </dl>
<li value="4">
Replace the extracted files specified below with those that you transferred from Windows, then zip up the <code>.xpi</code> files again and replace the original <code>.xpi</code> files in the original locations:
<a name="14325"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<ul>
<li>
Replace the file <code>comm.jar/communicator/communicatorOverlay.xul</code> with Windows equivalent from <code>browser.xpi</code>.
<a name="15401"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li>
<li>
Replace the jar files from Macintosh <code>browser.xpi</code> with the Windows equivalents from <code>browser.xpi</code> and <code>skinclas.xpi</code>.
<a name="14326"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li>
<li>
Replace <code>en-US.jar</code> from <code>langenus.xpi</code> and <code>US.jar</code> file from <code>regus.xpi</code> with the Windows equivalents.
<a name="14327"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li>
<li>
Replace <code>all-ns.js</code> from <code>browser.xpi</code> with the equivalent Windows file.
<a name="14328"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li>
<li>
Replace<code> panels.rdf</code>, <code>bookmarks.html</code>, from <code>deflenus.xpi</code> (<code>viewer/defaults/isp</code>) and <code>regus.xpi</code> (<code>viewer/defaults/isp/us</code>) with the Windows equivalents.
<a name="14329"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li>
<li>
Add <code>mailaccount.rdf</code> and <code>newsaccount.rdf </code>from the customized Windows installation to the <code>deflenus.xpi</code> (<code>viewer/defaults/isp</code>) and <code>regus.xpi</code> (<code>viewer/defaults/isp/us</code>) directories. (Unlike the other files, <code>mailaccount.rdf</code> and <code>newsaccount.rdf</code> are not part of the standard Macintosh installer.)<br />&nbsp;
<a name="14330"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li> </ul>
<li value="5">
To customize the Welcome Dialog or to add or subtract components, use a text editor to modify the file <code>Config.ini</code>.
<a name="14331"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li value="6">
Use the Stuffit utility to create a self-extracting archive from the Mozilla Full Installer folder.
<a name="14332"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li value="7">
Verify the customization by expanding the executable, then install the build and check for the appropriate customizations, as with Windows builds.
<a name="14333"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
</ol>
<p class="text">
<a name="14334"> </a>
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.
</p>
<p class="text">
<a name="14338"> </a>
If you are creating a CD, use the Mozilla Full Installer directory for the contents of the Macintosh partition, not the self-extracting archive.
</p>
<p class="h2">
<a name="14231"> </a>
<a name="Creating a Mac OS X Installer"> </a>
Creating a Mac OS X Installer
</p>
<p class="text">
<a name="15434"> </a>
After you complete steps 1 through 5 above under "<a href="mac_linux_cck.htm#14296" >Creating a Customized Macintosh Installer</a>," follow the steps in this section to create a Mac OS X installer.
</p>
<p class="text">
<a name="15446"> </a>
<b>Note:</b> You can perform steps 1 through 7 on either Mac OS 9 or Mac OS X.
</p>
<ol type="1">
<li value="1">
Go to <code><a href="http://www.mozilla.org/releases">http://www.mozilla.org</a></code> and download the binary file for the Mac OS X version of Mozilla 1.4.1.
<a name="14995"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li value="2">
Unpack the binary with ZipIt or StuffIt.
<a name="14931"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li value="3">
Replace the Mac OS X jar files (<code>modern.jar</code>, <code>en-US.jar</code>, <code>classic.jar</code>, and <code>US.jar</code>) in <code>/chrome</code> with the corresponding files from the Windows installer.
<a name="14932"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li value="4">
Replace the Mac OS X file <code>all-ns.js</code> in <code>/Defaults/Pref</code> with the corresponding file from the Windows installer.
<a name="14934"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li value="5">
Replace the Mac OS X files <code>mailaccount.rdf</code> and <code>newsaccount.rdf</code> in <code>/Defaults/isp</code> and <code>/Defaults/isp/US</code> with the corresponding files from the Windows installer.
<a name="14935"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li value="6">
Replace the Mac OS X files <code>panels.rdf</code> and <code>bookmarks.html</code> in <code>/Defaults/Profile</code> and <code>/Defaults/Profile/US</code> with the corresponding files from the Windows installer.
<a name="14937"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li value="7">
Replace the Mac OS X file <code>communicatorOverlay.xul</code> in <code>/chrome/comm.jar/communicator/communicatorOverlay.xul</code> with the corresponding file from the Windows installer.
<a name="15255"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li value="8">
Verify your customization by launching Mozilla on Mac OS X and checking for the appropriate customizations, as with Windows builds.
<a name="15089"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
</ol>
<p class="text">
<a name="14868"> </a>
</p>
</blockquote>
<!--end bookcontent-->
<!--footercontent defines the bottom navigation and the copyright. It also includes
the revision date-->
<!--start footercontent-->
<blockquote>
<br />
<br />
<span class="navigation">
<a style="text-decoration: none" href="advanced_cck.htm">
Previous
</a>
</span>
&nbsp;&nbsp;&nbsp;&nbsp;
<span class="navigation">
<a style="text-decoration: none" href="guide.html">
Contents
</a>
</span>
&nbsp;&nbsp;&nbsp;&nbsp;
<span class="navigation">
<a style="text-decoration: none" href="distribute_cck.htm">
Next
</a>
</span>
&nbsp;&nbsp;&nbsp;&nbsp;
<hr noshade="noshade" size="1" />
<p class="copy">Copyright &#169; 2003 Netscape Communications Corp. All rights reserved.</p>
<br />
<p class="update">Last Updated <b>October 05, 2001</b></p>
</blockquote>
<!--end footercontent-->
<!--end maincontent-->
</body>
</html>