Partager via


Creating a .cec File for an Application

To add an application to the Catalog, you must first create a Catalog feature (.cec) file for the application. You can use the CEC Editor to create a .cec file for an application that will not be BSP-specific. If you want to modify the .cec file at a future date, you can use the CEC Editor. For information about modifications that you can make, see Catalog Feature Files.

To create a Catalog feature file

  1. From the Tools menu, choose CEC Editor.

  2. In the CEC Editor window, from the Insert menu, choose Feature Group.

  3. Select the General tab, and then type a name and description for your feature in the Name and Description boxes.

    For example, in the Name box, type MyFeature.

    Note    When you enter the information in the CEC Editor, do not use line feed, punctuation, or carriage return characters. If you use these characters, you will not be able to import the resulting .cec file into the Catalog.

  4. In the Group field, type a name for the new feature group you are creating, and then choose OK to create a new feature group.

    This field specifies where your feature is displayed in the Catalog. Once your feature is added to the Catalog, it appears under a top-level folder named Third Party.

  5. From the File menu, choose Save As.

  6. Navigate to the <Platform Builder installation path>\Cepb\Cec directory.

  7. In the File name field, type a name for your feature, and then choose Save.

    This step creates a .cec file, which contains information about your feature that can include, for example, the feature name, its globally unique identifier (GUID), and build methods that describe how the feature is built.

    Note   If you attempt to save a .cec file using a file name extension other than .cec, the file is not saved. The CEC Editor does not notify you that the file is not saved. To save a .cec file, use only the .cec file name extension and use lower case letters.

See Also

How to Add an Application to the Catalog | CEC Editor | Catalog Feature Files

 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.