gecko-dev/cck/CCKDocs/distribute_cck.htm
leaf%mozilla.org 2832eb9405 adding doc templates, some images, whacking NPL license to MPL. Will
update with tri-license addition at a later date.
2003-07-31 19:54:39 +00:00

963 lines
38 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;14Distributing Your Installers</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="mac_linux_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="isp_appx_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;14
&nbsp;
</font>
<a name="13833"> </a>
<a name="Distributing Your Installers"> </a>
Distributing Your Installers
</p><p class="text">
<a name="14495"> </a>
Once you have generated and tested your customized installers, you need to prepare them for distribution. This chapter summarizes some of the major tasks involved.
</p>
<p class="text">
<a name="14493"> </a>
This chapter contains these sections:
</p>
<p class="text">
<a name="14966"> </a>
<a href="distribute_cck.htm#14289" >Distributing a CD-Based Installer</a><br /><a href="distribute_cck.htm#14405" >Distributing Network-Downloadable Installers or Binaries</a>
</p>
<p class="h1">
<a name="14289"> </a>
<a name="Distributing a CD-Based Installer"> </a>
Distributing a CD-Based Installer
<hr size="2" noshade="noshade" />
</p>
<p class="text">
<a name="14291"> </a>
The general process for distributing Mozilla installers on CDs works like this:
</p>
<ol type="1">
<li value="1">
Verify your CD layout.
<a name="14520"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li value="2">
Create the CD master disc.
<a name="14521"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li value="3">
Verify and virus check the CD master disc.
<a name="14522"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li value="4">
Create an archive copy of the CD master disc.
<a name="14523"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li value="5">
Deliver CD master disc for duplication.
<a name="14524"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li value="6">
Distribute CDs.
<a name="14525"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
</ol>
<p class="text">
<a name="14528"> </a>
The sections that follow describe how to verify your CD layout and prepare your files for CD distribution.
</p>
<p class="text">
<a name="15110"> </a>
</p>
<p class="h2">
<a name="14297"> </a>
<a name="Verifying Your CD Layout (No Autorun Screen)"> </a>
Verifying Your CD Layout (No Autorun Screen)
</p>
<p class="text">
<a name="14299"> </a>
If you didn't include a CD autorun screen, verify the files for your CD layout as described below.
</p>
<p class="h3">
<a name="15030"> </a>
<a name="Windows CD Layout"> </a>
Windows CD Layout
</p>
<p class="text">
<a name="15031"> </a>
Verify your CD layout for Windows as follows:
</p>
<ol type="1">
<li value="1">
Open the directory
<a name="14300"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<dl><dl><p>
<code>
<a name="15245"></a>
<em>installation_directory</em>\CCKTool\Configs\<em>my_config</em>\Output\<br />
&nbsp;
</code>
</p></dl></dl> <dl>
<dt> <a name="14302"> </a>
Verify that it includes the following files:
<br />&nbsp;</dt> </dl>
<ul>
<li>
A file called <code>Setup.exe</code>, which is the Mozilla installer file.
<a name="14559"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li>
<li>
A set of <code>.xpi</code> files, which contain the Mozilla component files in archive format.
<a name="14560"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li>
<li>
<code>autorun.inf</code>, which automatically launches the Mozilla installer <code>setup.exe</code> file when the user inserts the Mozilla CD into a CD-ROM drive.<br /><font face="fontsansserif" SIZE="+2" COLOR="red">&nbsp;</font>
<a name="14308"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li> </ul>
<li value="2">
Remove the file called <code>Setup.exe</code>, since it's not needed. Users will double-click the <code>setup.exe</code> installer file to begin installation.
<a name="14310"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li value="3">
Go to "<a href="distribute_cck.htm#14365" >Preparing Your CD-Ready Files for CD Distribution</a>,", later in this chapter.
<a name="14312"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
</ol>
<p class="h3">
<a name="14314"> </a>
<a name="Macintosh CD Layout"> </a>
Macintosh CD Layout
</p>
<p class="text">
<a name="15036"> </a>
For Macintosh, you need to verify the contents of the Mozilla Full Installer folder that you modified as described above under Building Macintosh Installers. It should contain the following files and directories:
</p>
<ul>
<li>
Mozilla Installer
<a name="14316"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li>
Mozilla read-me file
<a name="14317"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li>
License
<a name="14318"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li>
Installer Modules (folder that includes <code>config.ini</code>, <code>installer.ini</code>, and all the <code>.xpi</code> files)
<a name="14319"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
</ul>
<p class="text">
<a name="15727"> </a>
After confirming that these files and directories, go to "<a href="distribute_cck.htm#14365" >Preparing Your CD-Ready Files for CD Distribution</a>."
</p>
<p class="h3">
<a name="15037"> </a>
<a name="Linux CD Layout"> </a>
Linux CD Layout
</p>
<p class="text">
<a name="15038"> </a>
After you run the CCK tool to create a Linux installer, decompress the Linux tar file located in this directory:
</p>
<dl><dl><p>
<code>
<a name="15666"></a>
CCKTool\Configs\<em>my_config</em>\Output\
</code>
</p></dl></dl><p class="text">
<a name="15664"> </a>
The decompressed files should look like this:
</p>
<ul>
<li>
<code>xpi</code> directory
<a name="15685"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li>
<code>config.ini</code>
<a name="15689"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li>
<code>installer.ini</code>
<a name="15690"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li>
<code>license.txt</code>
<a name="15691"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li>
<code>mozilla-installer</code>
<a name="15692"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li>
<code>mozilla-installer-bin</code>
<a name="16365"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li>
<code>README</code>
<a name="16366"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
</ul>
<p class="text">
<a name="16369"> </a>
After confirming that these files and directories, go to "<a href="distribute_cck.htm#14365" >Preparing Your CD-Ready Files for CD Distribution</a>."
</p>
<p class="h2">
<a name="14322"> </a>
<a name="Assembling Your CD Layout (Autorun Screen)"> </a>
Assembling Your CD Layout (Autorun Screen)
</p>
<p class="text">
<a name="14324"> </a>
If you included a CD autorun screen for your Windows installer, assemble the files for your CD layout as follows:
</p>
<ol type="1">
<li value="1">
Open the directory
<a name="14325"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<dl><dl><p>
<code>
<a name="15247"></a>
<em>installation_directory</em>\CCKTool\Configs\<em>my_config</em>\Output\
</code>
</p></dl></dl> <dl>
<dt> <a name="14327"> </a>
Verify that the Output directory contains the following:
<br />&nbsp;</dt> </dl>
<ul>
<li>
A directory called <code>Core</code>, which contains the customized Mozilla files
<a name="14329"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li>
<li>
A directory called <code>Shell</code>, containing the subdirectories <code>\Bmps</code> and <code>\Nsetup32</code>, which include the files for the CD autorun screen
<a name="14331"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li>
<li>
<code>Autorun.inf</code> (launches the <code>setup.exe</code> at the root of the CD image after the CD is inserted in the drive)
<a name="14333"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li>
<li>
<code>Launch.ini</code> (configures <code>setup.exe</code> and detects Windows operating system)
<a name="14335"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li>
<li>
<code>s</code>etup.exe (launches nsetup32.exe, which displays the first Autorun screen)<br /><font face="fontsansserif" SIZE="+2" COLOR="red">&nbsp;</font>
<a name="14339"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li> </ul>
<dl>
<dt> <a name="14341"> </a>
Your CD layout should follow the same general layout as the typical one illustrated here:<br /><br><img src="gifs/layout.gif">
<br>
<br />&nbsp;</dt> </dl>
<li value="2">
Verify that the <code>Shell</code> directory contains these files and folders:
<a name="14346"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<ul>
<li>
A folder called <code>\Bmps</code>, which contains all the standard and customized bitmap (<code>.bmp</code>) files used by the CD autorun screens
<a name="14348"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li>
<li>
A folder called <code>\Nsetup32</code>, which contains the following:
<a name="14350"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li> <ul>
<li>
<code>Nsetup32.exe</code>, the autorun program
<a name="14352"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li>
<li>
<code>rshell.ini</code>, the file that defines the appearance and behavior of the Autorun screens. See <a href="cd_man_cck.htm#13833" >Chapter&#32;11 "Manually Customizing the CD Autorun Screen</a>" for information on how to manually customize this file.<br /><font face="fontsansserif" SIZE="+2" COLOR="red">&nbsp;</font>
<a name="14354"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li> </ul>
</ul>
<li value="3">
If you've manually customized the CD autorun screen so that users can install additional plug-ins or applications from the Autorun screens, create a directory called <code>Xinstall</code> inside the directory
<a name="14356"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<dl><dl><p>
<code>
<a name="15041"></a>
<em>installation_directory</em>\CCKTool\<code>Configs\</code><em>my_config</em>\Output\Shell<br />
&nbsp;
</code>
</p></dl></dl> <dl>
<dt> <a name="15042"> </a>
Buttons you add to your CD autorun screens can be linked to the executable files you include in the <code>Xinstall</code> directory, so that users can install additional software simply by clicking a button.
<br />&nbsp;</dt> </dl>
<li value="4">
Put the additional installers into subdirectories inside the directory
<a name="14358"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<dl><dl><p>
<code>
<a name="15044"></a>
<em>installation_directory</em>\CCKTool\Configs\<em>my_confi</em>g\Output\Shell <br />
&nbsp;
</code>
</p></dl></dl> <dl>
<dt> <a name="14360"> </a>
<b>Important:</b> Make sure that the actual locations of the additional installers match the file pathnames you specified for them in the <code>rshell.ini</code> file.
<br />&nbsp;</dt> </dl>
<li value="5">
If you've manually customized the CD autorun screen to open any other files, such as a <code>readme.txt</code> file, include the additional files inside the directory
<a name="14693"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<dl><dl><p>
<code>
<a name="15249"></a>
<em>installation_directory</em>\CCKTool\Configs\<em>my_config</em>\Output\Shell<br />
&nbsp;
</code>
</p></dl></dl> <dl>
<dt> <a name="15251"> </a>
and make sure that their locations match the file pathnames you specified for them in the <code>rshell.ini</code> file.
<br />&nbsp;</dt> </dl>
</ol>
<p class="h2">
<a name="14365"> </a>
<a name="Preparing Your CD-Ready Files for CD Distribution"> </a>
Preparing Your CD-Ready Files for CD Distribution
</p>
<p class="text">
<a name="14367"> </a>
To prepare your CD-ready files for CD distribution, you need the following:
</p>
<ul>
<li>
Software to create a data CD, such as Adaptec Easy CD Creator or Adaptec Toast
<a name="14368"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li>
CD recorder, for creating your master CD
<a name="14370"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li>
CD-recordable discs, available where you purchased your CD recorder
<a name="14372"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li>
Bit-compare program such as Microsoft's WinDiff utility
<a name="14374"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li>
virus checker program
<a name="14376"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li>
CD duplication service, to make copies of your master CD
<a name="14378"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
</ul>
<p class="text">
<a name="14379"> </a>
Follow these steps to create a master CD disc:
</p>
<ol type="1">
<li value="1">
If you didn't include a CD Autorun Screen, verify the files in your CD layout as described in <a href="distribute_cck.htm#14297" >Verifying Your CD Layout (No Autorun Screen)</a>. If you included a CD autorun screen, assemble the files for your CD layout as described in <a href="distribute_cck.htm#14322" >Assembling Your CD Layout (Autorun Screen)</a>.
<a name="14380"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li value="2">
Using your CD creation software, create a CD master disc that contains all the files from the directory
<a name="14382"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<dl><dl><p>
<code>
<a name="15253"></a>
<em>installation_directory</em>\CCKTool\Configs\<em>my_config</em>\Output\ <br />
&nbsp;
</code>
</p></dl></dl> <dl>
<dt> <a name="14908"> </a>
If you are creating a hybrid CD that includes a Macintosh partition, you also need to specify the location of the Mozilla Full Installer folder that you modified as described in <a href="mac_linux_cck.htm#13833" >Chapter&#32;13 "Preparing Macintosh Installers and Program Files</a>".
<br />&nbsp;</dt> <dt> <a name="15088"> </a>
If you are creating a hybrid CD that includes a Linux partition, you also need to specify the location of the Linux installation files that you decompressed from the Linux tar file produced by the CCK tool.
<br />&nbsp;</dt> </dl>
<li value="3">
Using a bit-compare utility such as Microsoft WinDiff, verify that the files on the CD exactly match the files in the \Output directory on your hard disk.
<a name="14384"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<dl>
<dt> <a name="14388"> </a>
If the files don't compare exactly, make sure you're comparing the correct set of files on your hard disk with the files on the master CD. The most common reason bit comparisons fail is that the wrong set of files are being compared.
<br />&nbsp;</dt> </dl>
<li value="4">
Using a virus checker program, verify that the files on the CD are virus free.
<a name="14390"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<dl>
<dt> <a name="14391"> </a>
Your gold master disc is now ready for duplication.
<br />&nbsp;</dt> </dl>
<li value="5">
Create a second gold master disc and keep it in a safe place for archive purposes.
<a name="14394"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li value="6">
Provide your gold master disc to a CD duplication service.
<a name="14396"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<dl>
<dt> <a name="14400"> </a>
Before the duplication service completes your entire order, be sure to request that the duplication service sends you the first several CDs, so you can verify that the contents of these CDs exactly matches your gold master archive CD. Alternatively, you can request that the duplication service performs this step.
<br />&nbsp;</dt> </dl>
<li value="7">
Distribute the CDs to your customers.
<a name="14402"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
</ol>
<p class="text">
<a name="14403"> </a>
Depending on how you plan to distribute your CDs, you may want to create a printed cover that can be inserted into the CD's plastic jewel case (the plastic case that contains the CD). Your duplication service may offer this service to you. Alternatively, programs such as Adaptec Easy CD Creator include a template for creating printed jewel case inserts.
</p>
<p class="h1">
<a name="14405"> </a>
<a name="Distributing Network-Downloadable Installers or Binaries"> </a>
Distributing Network-Downloadable Installers or Binaries
<hr size="2" noshade="noshade" />
</p>
<p class="text">
<a name="14407"> </a>
To distribute Mozilla 1.4.1 over the network:
</p>
<ol type="1">
<li value="1">
On your FTP site, create a Mozilla download directory that corresponds to:
<a name="14409"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<ul>
<li>
<b>For Windows and Mac OS 9 (stub installers):</b> the location you entered for the FTP directory in the CCK tool.This is the directory you'll use to store the Mozilla installer files.
<a name="16171"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li>
<li>
<b>For Linux (fat installer):</b> the location where you plan to put the Linux tar file produced by the CCK tool.
<a name="16180"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li>
<li>
<b>For Mac OS X (customized binaries):</b> the location where you plan to put the compressed Mac OS X files you modified using your customized Windows installation files.<br /><font face="fontsansserif" SIZE="+2" COLOR="red">&nbsp;</font>
<a name="16186"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li> </ul>
<li value="2">
If you are preparing a Windows installer, copy the contents of the directory
<a name="14896"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<dl><dl><p>
<code>
<a name="15255"></a>
<em>installation_directory</em>\CCKTool\Configs\<em>my_config</em>\Output\<br />
&nbsp;
</code>
</p></dl></dl> <dl>
<dt> <a name="15257"> </a>
into the download directory on your FTP or HTTP site.
<br />&nbsp;</dt> <dt> <a name="14907"> </a>
If you are providing a Macintosh installer (Mac OS 9) or binaries (Mac OS X) for network download, you also need to copy the self-extracting archive that you created as described in <a href="distribute_cck.htm#14322" >Chapter&#32;14 "Distributing Your Installers</a>".
<br />&nbsp;</dt> <dt> <a name="15318"> </a>
If you are providing a Linux tar file for network download, you need to copy the Linux tar file from the <code>Output</code> directory.
<br />&nbsp;</dt> </dl>
<li value="3">
If you are preparing a Windows installer, put the <code>Setup.exe</code> file for your Windows installer one level above the download directory. For example, if the download directory is <code>Mozilla/download</code>, put the <code>Setup.exe</code> file in the <code>Mozilla</code> directory.
<a name="14413"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
</ol>
<p class="text">
<a name="14943"> </a>
In addition to setting up the download directory, you should provide instructions on your web site for each type of installer available.
</p>
<p class="h2">
<a name="16220"> </a>
<a name="End-User Instructions for Windows"> </a>
End-User Instructions for Windows
</p>
<p class="text">
<a name="14415"> </a>
Instruct your Windows users to follow these steps:
</p>
<ol type="1">
<li value="1">
Create a new folder on their hard disk.
<a name="14416"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li value="2">
Download the <code>Setup.exe</code> to that new folder from the FTP location provided by the ISP.
<a name="14417"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li value="3">
Double-click the <code>Setup.exe</code> to install Mozilla 1.4.1.
<a name="14418"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li value="4">
Delete the new folder when installation is complete.
<a name="14419"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
</ol>
<p class="h2">
<a name="14420"> </a>
<a name="End-User Instructions for Macintosh"> </a>
End-User Instructions for Macintosh
</p>
<p class="text">
<a name="16228"> </a>
If you are providing a Macintosh Mac OS 9 installer for network download, instruct your Macintosh users to follow these steps to install Mozilla:
</p>
<ol type="1">
<li value="1">
Download the self-extracting archive from the FTP location provided by the ISP.
<a name="14422"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li value="2">
After the file downloads and extracts itself into the Mozilla Full Installer directory, double-click the Mozilla Installer file to install Mozilla.
<a name="15891"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
</ol>
<p class="text">
<a name="15915"> </a>
If you are providing a Macintosh Mac OS X binary for network download, instruct your Macintosh users to follow these steps to install Mozilla:
</p>
<ol type="1">
<li value="1">
Download the self-extracting archive from the FTP location provided by the ISP.
<a name="15916"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li value="2">
After the file downloads and extracts itself, double-click the file Mozilla Installer file to run Mozilla.
<a name="15917"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
</ol>
<p class="h2">
<a name="15892"> </a>
<a name="End-User Instructions for Linux"> </a>
End-User Instructions for Linux
</p>
<p class="text">
<a name="16232"> </a>
If you are providing a Linux binary for network download, instruct your Linux users to follow these steps:
</p>
<ol type="1">
<li value="1">
Download the Linux tar file from the FTP location provided by the ISP.
<a name="15326"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li value="2">
Untar the tar file.
<a name="16281"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li value="3">
Go to the directory <code>mozilla-installer</code>.
<a name="15327"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li value="4">
Run <code>./mozilla-installer</code> to install Mozilla.
<a name="16294"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li value="5">
Delete the <code>mozilla-installer</code> directory when installation is complete.
<a name="15328"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
</ol>
</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="mac_linux_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="isp_appx_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>