gecko-dev/cck/CCKHelp/shell1.html

135 строки
7.0 KiB
HTML
Исходник Обычный вид История

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<!-- ***** BEGIN LICENSE BLOCK *****
- Version: MPL 1.1/GPL 2.0/LGPL 2.1
-
- The contents of this file are subject to the Mozilla Public License Version
- 1.1 (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
- http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS IS" basis,
- WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- for the specific language governing rights and limitations under the
- License.
-
- The Original Code is Client Customization Kit (CCK).
-
- The Initial Developer of the Original Code is
- Netscape Communications Corporation.
- Portions created by the Initial Developer are Copyright (C) 2003
- the Initial Developer. All Rights Reserved.
-
- Contributor(s):
-
- Alternatively, the contents of this file may be used under the terms of
- either the GNU General Public License Version 2 or later (the "GPL"), or
- the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- in which case the provisions of the GPL or the LGPL are applicable instead
- of those above. If you wish to allow use of your version of this file only
- under the terms of either the GPL or the LGPL, and not to allow others to
- use your version of this file under the terms of the MPL, indicate your
- decision by deleting the provisions above and replace them with the notice
- and other provisions required by the LGPL or the GPL. If you do not delete
- the provisions above, a recipient may use your version of this file under
- the terms of any one of the MPL, the GPL or the LGPL.
-
- ***** END LICENSE BLOCK ***** -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Author" content="Robin Foster">
<title>Show Example - CD Autorun Screen Background Bitmap File</title>
</head>
<body>
<b><font size=+1>Show
Example - CD Autorun Screen Background Bitmap File</font></b>
<p><font color="#000000">If you plan to create Mozilla installers for
CD distribution, you can provide a CD Autorun screen that automatically
appears when the user inserts your customized Mozilla CD into their
CD-ROM drive.</font>
<p><font color="#000000">The CD Autorun screen makes it easy for your users
to install Mozilla or to read installation instructions before they
begin the installation process.</font>
<p><font color="#000000">The CCK tool provides a standard CD Autorun screen
that<EFBFBD>s ready to use. To include the standard CD Autorun screen, you must
check the "Include CD Autorun Screen" check box in the CCK tool's "Gathering
Information" page.</font>
<p><font color="#000000">Customizing the standard CD Autorun screen is
optional.</font>
<p><font color="#000000">You might want to customize the CD Autorun screen's
background if you want to add your company logo or add other images that
promote your company's identity.</font>
<p><font color="#000000">The standard background image for the CD Autorun
screen consists of a 640 pixel by 480 pixel bitmap (.BMP) file.</font>
<p><font color="#000000">The easiest way to customize the background image
is to edit the existing background image, called install.bmp, as described
under <a href="#Editing the Standard Background Image">Editing the Standard
Background Image</a>. If you prefer, you can substitute your own custom
file as described under <a href="#Creating Your Own Custom Background Image">Creating
Your Own Custom Background Image</a>.</font>
<p><a NAME="Editing the Standard Background Image"></a><b><font face="Arial"><font color="#000000">Editing
the Standard Background Image</font></font></b>
<p><font color="#000000">To edit the standard background image:</font>
<dir>
<dir><font color="#000000">1. Locate the standard background bitmap file
(install.bmp) in the</font>
<p><font color="#000000">C:\Program Files</font>
<br><font color="#000000">\Mozilla\CCK\CCKTool\Configs\<i> configname
</i>\Workspace\Autorun\Shell\bmps</font>
<p><font color="#000000">directory, where<i> configname </i>is the directory
name that corresponds to the configuration you are working with.</font>
<p><font color="#000000">2. Using a graphics editing program, open the
install.bmp file and make your changes to it. For example, you might want
to add your company's logo and name.</font></dir>
</dir>
<dir>
<dir><b><font face="Arial"><font color="#000000">Note</font></font></b>
<p><font face="Arial"><font color="#000000">Do not add text or graphics
within the black border area at the bottom of the CD Autorun screen. This
area is reserved for the CD Autorun screen's Browse CD, Back, and Exit
buttons.</font></font>
<p><font color="#000000">3. Save your changes, making sure to save the
file in .BMP format. If you want, you can save the file using another name.</font>
<p><font color="#000000">4. In the CCK tool, go to the screen titled "Customize
the CD Autorun Screen."</font>
<p><font color="#000000">5. Under Background Bitmap, click Choose File
and browse to the location of your custom background image to include it.</font></dir>
</dir>
<a NAME="Creating Your Own Custom Background Image"></a><b><font face="Arial,Helvetica"><font color="#000000">Creating
Your Own Custom Background Image</font></font></b>
<p><font color="#000000">To create your own custom background image for
the CD Autorun screen:</font>
<dir>
<dir><font color="#000000">1. Using a graphics editing program, create
a bitmap image that's 640 pixels wide and 480 pixels high.</font>
<p><b><font face="Arial"><font color="#000000">Tip</font></font></b>
<p><font face="Arial"><font color="#000000">Keep the size of the file as
small as possible (325 Kbytes or less) by reducing the number of colors
in the file, or by removing or flattening the layers (if you created the
image in PhotoShop). If your file size is too large, it may not appear
in the CD Autorun screen.</font></font>
<p><font color="#000000">2. At the bottom of the background image, create
a rectangular border at least 40 pixels high and 640 pixels wide. The CD
Autorun screen will use this area to display the CD control buttons (Browse
CD, Back, and Exit).</font></dir>
</dir>
<dir>
<dir><font color="#000000">3. Save the image as a .BMP (bitmap) format
file in the</font>
<p><font color="#000000">C:\Program Files\Mozilla\CCK\CCKTool\Configs\<i>
configname </i>\Workspace\Autorun\Shell\bmps</font>
<p><font color="#000000">directory, where<i> configname </i>is the directory
name that corresponds to the configuration you are working with.</font>
<p><font color="#000000">4. In the CCK Tool, go to the screen titled "Customize
the CD Autorun Screen."</font>
<p><font color="#000000">5. Under Background Bitmap, click Choose File<6C>
and browse to the location of your custom background image to include it.</font>
<br>&nbsp;</dir>
</dir>
11/1/00
<br>&nbsp;
</body>
</html>