Netscape logo
Guide to Customizing and Distributing Mozilla 6.2

Previous      Contents      Next     

Chapter 2   Customizing Mozilla in Ten Minutes

This chapter shows you how to use the CCK tool to implement some of the simplest customizations—that is, those that don't require you to prepare any files beforehand.

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.

This chapter contains these sections:

What You'll Customize
Quick Customization Instructions
Verifying Your Customizations

What You'll Customize


This chapter describers how to create a CD-based Mozilla installer for use on Windows that includes these customizations:

If these are the only customizations you need to make, your installer will be ready for packaging and distribution after you finish this chapter.

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.

Quick Customization Instructions


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.

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.

The steps that follow describe how to create a customized Mozilla installer that implements the simple customizations described in the previous section.

  1. Open the Start menu and choose Programs, then Mozilla Client Customization Kit, then N6CCKTool.

  2. Welcome to the Mozilla Client Customization Kit! 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.



  3. Specify Platform Information. 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.

  4. For now, leave Windows as the selected platform.



     
  5. Gathering Information. 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.



  6. 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.
     
    The identifier you supply can be up to 10 characters in length. You must supply one.
     
    For example, if you enter "MyISP" in the Company Identifier field, the resulting user agent string would look like this:
     

    Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.4.1) Gecko/20010913 (CK-MyISP)

    When you are ready, click Next to register the customizations you've made on this screen and proceed to the next screen.
     
  7. Customize the Mozilla Browser - Part One. 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.



  8. For now, you won't be performing these customizations—but you can come back and do them later if you wish. Just click Next to proceed to the next screen.
     
  9. Customize the Mozilla Browser - Part Two. 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.



  10. For now, just enter your company name in the Start Menu section, then click Next.
     
  11. Customize the Mozilla Browser - Part Three. This screen specifies the default home page, bookmarks file, and title bar text.



  12. Click Next to continue.
     
  13. Customize Mozilla Mail. This screen specifies your mail domain and server information.



    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.

  14. 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.
     

     
  15. Customize Mozilla News. This screen specifies your mail domain and server information.



  16. 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.
     
    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.
     

     
  17. Customize Proxy Configurations. This screen specifies the default proxy configurations that appear under the Advanced category when the user chooses Preferences from the Edit menu.



  18. For now, you won't specify any proxy configurations. Click Next to continue.
     
  19. Customize the CD Autorun Screen. 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.



    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.

  20. Create the Installer. 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.



  21. Deselect any components in the list on the left that you don't want to include in your installer.
     
    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.
     
    If you are sure all your settings are correct, click Build Installer to create your customized Mozilla 1.4.1 installer.
     
  22. 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 installation_directory is the directory where you installed the CCK tool and my_config is the directory name you specified in the first screen):

  23. installation_directory\CCKTool\Configs\my_config\Output

Verifying Your Customizations


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:

  1. Go to the directory that contains your customized installer and its associated files:

  2. installation_directory\CCKTool\Configs\myconfig\Output

  3. Double-click the file setup.exe. This causes the CD autorun screen to appear—the same screen your users will see when they insert the CD that contains your customized Mozilla installer.

  4. 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.

  5. 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.

  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:

  7. Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.4) Gecko/20010913 (CK-MyISP)

  8. Verify that the Mozilla program folder name in the Windows Start/Programs menu includes your company name.

  9. 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.

  10. Verify that the Mail and News account settings are correct.

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:



Previous      Contents      Next     

Copyright © 2003 Netscape Communications Corp. All rights reserved.


Last Updated July 30, 2003