gecko-dev/cck/CCKDocs/cust_ten_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

648 lines
32 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 6.2: Chapter&#32;2Customizing Mozilla in Ten Minutes</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 6.2
</span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<hr size="4" noshade="noshade" />
<span class="navigation">
<a style="text-decoration: none" href="gtstd_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="config_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;2
&nbsp;
</font>
<a name="13833"> </a>
<a name="Customizing Mozilla in Ten Minutes"> </a>
Customizing Mozilla in Ten Minutes
</p><p class="text">
<a name="14291"> </a>
This chapter shows you how to use the CCK tool to implement some of the simplest customizations&#151;that is, those that don't require you to prepare any files beforehand.
</p>
<p class="text">
<a name="14498"> </a>
Other customizations that you can perform with the CCK tool, such as providing your own custom bookmarks or custom animated logo, require that you create customized files before you run the tool. Later chapters describe the preparations required for those customizations.
</p>
<p class="text">
<a name="14502"> </a>
This chapter contains these sections:
</p>
<p class="text">
<a name="14503"> </a>
<a href="cust_ten_cck.htm#14295" >What You'll Customize</a><br /><a href="cust_ten_cck.htm#14311" >Quick Customization Instructions</a><br /><a href="cust_ten_cck.htm#14400" >Verifying Your Customizations</a>
</p>
<p class="h1">
<a name="14295"> </a>
<a name="What You'll Customize"> </a>
What You'll Customize
<hr size="2" noshade="noshade" />
</p>
<p class="text">
<a name="14297"> </a>
This chapter describers how to create a CD-based Mozilla installer for use on Windows that includes these customizations:
</p>
<ul>
<li>
Your company name displayed in these locations:
<a name="14299"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<ul>
<li>
Browser window's title bar.
<a name="14301"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li>
<li>
CD autorun screen, which is the screen that users see when they insert the Mozilla CD into a CD-ROM drive.
<a name="14302"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li>
<li>
Mozilla program folder name that appears in the Windows Start menu.<br />&nbsp;
<a name="14303"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li> </ul>
<li>
The browser's default home page set to your own home page. The home page is the first page users see when they start Navigator and the page they see when they click the Navigator Home button.
<a name="14306"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li>
Mail and News server settings.
<a name="14307"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li>
A Mozilla installer that installs only the components you want users to have.
<a name="14308"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
</ul>
<p class="text">
<a name="14599"> </a>
If these are the only customizations you need to make, your installer will be ready for packaging and distribution after you finish this chapter.
</p>
<p class="text">
<a name="14606"> </a>
Even if you plan to make some of the additional customizations that require preparing files, it's still a good idea to follow the steps described in this chapter as a way of familiarizing yourself with the CCK Tool. Once you have prepared the additional files you need, you can run the tool again to add those customizations to the ones you make in this chapter.
</p>
<p class="h1">
<a name="14311"> </a>
<a name="Quick Customization Instructions"> </a>
Quick Customization Instructions
<hr size="2" noshade="noshade" />
</p>
<p class="text">
<a name="14312"> </a>
This section guides you through the process of running the CCK tool, which is basically the same whether you are performing the simple customizations described here or those requiring some file preparation as described in the chapters that follow.
</p>
<p class="text">
<a name="14618"> </a>
The examples shown in this section are based on the sample configuration provided with the tool for a hypothetical ISP called MyISP. You should, of course, enter the equivalent information for your own company in each screen.
</p>
<p class="text">
<a name="14611"> </a>
The steps that follow describe how to create a customized Mozilla installer that implements the simple customizations described in the previous section.
</p>
<ol type="1">
<li value="1">
Open the Start menu and choose Programs, then Mozilla Client Customization Kit, then N6CCKTool.
<a name="14313"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li value="2">
<b>Welcome to the Mozilla Client Customization Kit!</b> On the first screen you see when you run the CCK Tool, click New Configuration, enter a name for the directory that the CCK tool will use to store your custom configuration information, and click Create New Configuration. Then click Next to continue.<br /><br><img src="gifs/welcome.gif">
<br>
<a name="16541"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li value="3">
<b>Specify Platform Information.</b> You can choose to generate a Windows or a Linux installer. It's also possible to create a Macintosh installer by manipulating the installation files produced for a Windows installer.
<a name="15835"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<dl>
<dt> <a name="15856"> </a>
For now, leave Windows as the selected platform. <br /><br><img src="gifs/platform.gif">
<br>
<br />&nbsp;</dt> </dl>
<li value="4">
<b>Gathering Information.</b> This screen specifies whether you want a CD-ready installer, the FTP address (if any) you plan to use for a network-ready installer, and the company identifier that will appear as part of the user agent string.<br /><br><img src="gifs/info.gif">
<br>
<a name="14750"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<ul>
<li>
Confirm that the checkbox labeled "Include CD Autorun Screen" is selected.
<a name="14655"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li>
<li>
Enter your company identifier in the field for that purpose near the bottom of the screen<br />&nbsp;
<a name="14656"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li> </ul>
<dl>
<dt> <a name="14320"> </a>
The company identifier you enter will be included as part of the user agent string, which helps identify the browser type each the browser accesses your web site or any other web site. Your identifier in the user agent string allows your company (or others) to track the number of times Internet web sites are accessed by web browsers that you've customized.
<br />&nbsp;</dt> <dt> <a name="14836"> </a>
The identifier you supply can be up to 10 characters in length. You must supply one.
<br />&nbsp;</dt> <dt> <a name="14322"> </a>
For example, if you enter "MyISP" in the Company Identifier field, the resulting user agent string would look like this:
<br />&nbsp;</dt><dl><dl><p>
<code>
<a name="14324"></a>
Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.4.1)
Gecko/20010913 (CK-MyISP)
</code>
</p></dl></dl> <dt> <a name="14687"> </a>
When you are ready, click Next to register the customizations you've made on this screen and proceed to the next screen.
<br />&nbsp;</dt> </dl>
<li value="5">
<b>Customize the Mozilla Browser - Part One.</b> This screen allows you to customize the animated logo near the upper-right corner of the Navigator window and to add a Help menu item. <br /><br><img src="gifs/custpartone.gif">
<br>
<a name="16558"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<dl>
<dt> <a name="16562"> </a>
For now, you won't be performing these customizations&#151;but you can come back and do them later if you wish. Just click Next to proceed to the next screen.
<br />&nbsp;</dt> </dl>
<li value="6">
<b>Customize the Mozilla Browser - Part Two.</b> This screen specifies the program folder name that appears under Start Menu/Programs, a custom read-me file, and the files to use for a custom animated logo. <br /><br><img src="gifs/custparttwo.gif">
<br>
<a name="14855"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<dl>
<dt> <a name="14859"> </a>
For now, just enter your company name in the Start Menu section, then click Next.
<br />&nbsp;</dt> </dl>
<li value="7">
<b>Customize the Mozilla Browser - Part Three.</b> This screen specifies the default home page, bookmarks file, and title bar text.<br /><br><img src="gifs/custpartthree.gif">
<br>
<a name="14334"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<ul>
<li>
Under Default Home Page, enter the URL for the web page that you want to assign as Navigator's default home page.
<a name="14874"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li>
<li>
Under Browser Window's Title Bar Text, enter your company name.<br />&nbsp;
<a name="14875"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li> </ul>
<dl>
<dt> <a name="14789"> </a>
Click Next to continue.
<br />&nbsp;</dt> </dl>
<li value="8">
<b>Customize Mozilla Mail.</b> This screen specifies your mail domain and server information.<br /><br><img src="gifs/mail.gif">
<br><br />If you choose to provide customized mail settings, fill in every field in the Customize Mozilla Mail screen. You must fill in all fields, otherwise no customized mail server settings will appear in your customized version of Mozilla 1.4.1.
<a name="14340"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<dl>
<dt> <a name="14950"> </a>
For short descriptions of the information to enter in each field, click the Help button. For examples of the settings that each field controls, click the corresponding Show Example buttons. Click Next when you are finished.
<br />&nbsp;</dt> <dt> <a name="14345"> </a>
<br />&nbsp;</dt> </dl>
<li value="9">
<b>Customize Mozilla News.</b> This screen specifies your mail domain and server information.<br /><br><img src="gifs/news.gif">
<br>
<a name="14360"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<dl>
<dt> <a name="14984"> </a>
If you choose to provide customized news settings, fill in every field in the Customize Mozilla News screen. You must fill in all fields, otherwise no customized news server settings will appear in your customized version of Mozilla 1.4.1.
<br />&nbsp;</dt> <dt> <a name="14988"> </a>
For short descriptions of the information to enter in each field, click the Help button. For examples of the settings that each field controls, click the corresponding Show Example buttons. Click Next when you are finished.
<br />&nbsp;</dt> <dt> <a name="15027"> </a>
<br />&nbsp;</dt> </dl>
<li value="10">
<b>Customize Proxy Configurations.</b> This screen specifies the default proxy configurations that appear under the Advanced category when the user chooses Preferences from the Edit menu. <br /><br><img src="gifs/proxy.gif">
<br>
<a name="16501"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<dl>
<dt> <a name="16521"> </a>
For now, you won't specify any proxy configurations. Click Next to continue.
<br />&nbsp;</dt> </dl>
<li value="11">
<b>Customize the CD Autorun Screen.</b> This screen specifies the background, title bar text, and installation text file for the CD autorun screen that appears when a user inserts the CD with your custom installer on it.<br /><br><img src="gifs/cdautorun.gif">
<br><br />Under Title Bar Text, enter your company name as you want it to appear in the screen's title bar and in the area below the title bar of the CD autorun screen. Then click Next to continue.
<a name="15034"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li value="12">
<b>Create the Installer.</b> This screen specifies which Mozilla 1.4.1 components you want to install and up to two additional installers to include with the Mozilla 1.4.1 installer. <br /><br><img src="gifs/createinstall.gif">
<br>
<a name="14389"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<dl>
<dt> <a name="14393"> </a>
Deselect any components in the list on the left that you don't want to include in your installer.
<br />&nbsp;</dt> <dt> <a name="15081"> </a>
Before building the installer, click To confirm the settings you have selected, click Show Config Info to confirm all the settings you've made to your configuration. If you see any errors, click the Back button repeatedly to return to the screen where the error occurred. After you've corrected any errors, click the Next button for each screen until you see the Create the Installer screen again.
<br />&nbsp;</dt> <dt> <a name="15088"> </a>
If you are sure all your settings are correct, click Build Installer to create your customized Mozilla 1.4.1 installer.
<br />&nbsp;</dt> </dl>
<li value="13">
When the CCK tool informs you that your installer has been created, click OK. The CCK tool creates your installer files in this location (where <em>installation_directory</em> is the directory where you installed the CCK tool and <em>my_config</em> is the directory name you specified in the first screen):
<a name="14396"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<dl><dl><p>
<code>
<a name="14398"></a>
<em>installation_directory</em>\CCKTool\Configs\<em>my_config</em>\Output
</code>
</p></dl></dl></ol>
<p class="h1">
<a name="14400"> </a>
<a name="Verifying Your Customizations"> </a>
Verifying Your Customizations
<hr size="2" noshade="noshade" />
</p>
<p class="text">
<a name="14402"> </a>
Once you've created a customized Mozilla installer, you should install your customized software in the same way your users will, so you can verify that all your customizations appear exactly as you intended. Follow these steps:
</p>
<ol type="1">
<li value="1">
Go to the directory that contains your customized installer and its associated files:
<a name="14403"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<dl><dl><p>
<code>
<a name="15140"></a>
<em>installation_directory</em>\CCKTool\Configs\<em>myconfig</em>\Output
</code>
</p></dl></dl>
<li value="2">
Double-click the file <code>setup.exe</code>. This causes the CD autorun screen to appear&#151;the same screen your users will see when they insert the CD that contains your customized Mozilla installer.
<a name="14407"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li value="3">
Examine the CD autorun screen to verify that it includes your company name in the title bar and in the area below the title bar.
<a name="14409"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li value="4">
Click Install Mozilla 1.4.1 to launch the installer. Choose the Custom installation path so you can verify that the components installed by default are the same ones that you selected using the CCK tool.
<a name="15237"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li value="6">
Choose About Mozilla 1.4.1 from the Help menu and verify your customized user agent string, which should appear near the top of the window. For example:
<a name="15215"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<dl><dl><p>
<code>
<a name="14415"></a>
Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.4)
Gecko/20010913 (CK-MyISP)
</code>
</p></dl></dl>
<li value="7">
Verify that the Mozilla program folder name in the Windows Start/Programs menu includes your company name.
<a name="14419"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li value="8">
Click the Home button in the Navigator browser to verify that it takes you to the URL you specified, and check the browser window title bar to verify that it includes your company name.
<a name="14421"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li value="9">
Verify that the Mail and News account settings are correct.
<a name="14423"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
</ol>
<p class="text">
<a name="15578"> </a>
That's all there is to it. If these are the only customizations you want to make, you're ready to begin preparing for distribution:
</p>
<ul>
<li>
If you want to create a Linux or Macintosh installer, see <a href="info_cck.htm#14434" >Chapter&#32;4 "Preparing Platform and Installer Information</a>."
<a name="15581"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li>
If you want to create a Macintosh installer, you should also see <a href="mac_linux_cck.htm#13833" >Chapter&#32;13 "Preparing Macintosh Installers and Program Files</a>."
<a name="15888"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
<li>
When you are ready to distribute your installers, see <a href="distribute_cck.htm#13833" >Chapter&#32;14 "Distributing Your Installers</a>."
<a name="15588"> </a>
<img src="pixel.gif" align="top" height="22" alt="" />
</li><br>
</ul>
<p class="text">
<a name="15285"> </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="gtstd_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="config_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>July 30, 2003</b></p>
</blockquote>
<!--end footercontent-->
<!--end maincontent-->
</body>
</html>