Microsoft KB Archive/928713

= How to create a custom Web package for use with Expression Web =

Article ID: 928713

Article Last Modified on 12/6/2006

-

APPLIES TO


 * Microsoft Expression Web

-



INTRODUCTION
This article describes how to create a custom Web package for use with Microsoft Expression Web.



MORE INFORMATION
A Web package is a bundled collection of files that you export or import for use in a Web site. A Web package uses an .fwp file name extension. You may want to create a Web package if you want to share or reuse Web pages, a Web site, a list, or a library structure. When you create a Web package, you can include the whole Web site in the package. Alternatively, you can include only the specific Web pages that you want. After you create a Web package, you can import and deploy the .fwp file to as many Web sites as you want.

A Web package can include Web pages, templates, Web components, themes, graphics, style sheets, and other elements. However, a Web package cannot contain list data, subsites, or security and permissions settings. When a Web site is moved as empty content, list data that is part of the original Web site does not move with the Web pages in the package. For example, a document library may contain a column that you created to track the status of documents. When you package the library, the package includes the documents, the custom column, and the settings for that column. The package does not include the data that indicates the status of the documents.

Notes
 * Do not add Universal Data Connection (UDC) files to a Web package. A UDC file is an XML file that is stored in the _fpdatasources folder. UDC files contain configuration information for a data source. Additionally, UDC files can contain passwords in plain text.
 * Do not package Microsoft SharePoint document or picture libraries that contain files. When other users import the Web package, those files will be added to their Web site.

To create your own custom Web package, follow these steps:  Locate the following folder in Windows Explorer:

Drive:\Documents and Settings\User_Name\Application Data\Microsoft\Expression\Web Designer\Packages

 On the File menu, point to New, and then click Folder. Name the folder, and then add the .tem file name extension to the name of the folder.

Note All folders that contain Web package files must have the .tem file name extension. Start Expression Web. On the File menu, point to Export, and then click Personal Web Package. In the Files in Web site box, click the files or the folders that you want to add to a Web package, and then click Add. Identify the dependencies.

Note The dependencies are additional files that the selected files require to work correctly. <ol style="list-style-type: lower-alpha;"> If the Dependency checking list is not available, click Show Dependencies.</li> In the Dependency checking list, use one of the following methods: <ul> To show all dependent files, click Check all dependencies.</li> To show all dependent files except pages that are linked by hyperlinks or by external files, such as external cascading style sheets, click Check all dependencies, except hyperlinks.</li> To hide dependent files, click Do not show dependencies.</li></ul> </li></ol> </li> Click Add. Any dependent files are added according to the setting that you chose in step 7b.</li> Click Properties, and then follow these steps: <ol style="list-style-type: lower-alpha;"> In the Title box, type a name for the Web package.</li> In the Description box, type a description of the Web package.</li> In the Author box, type the name that you want users to see when they view the properties for the Web package.</li> In the Company box, type the name of your company, if you want.

Note The properties provide information to users before they import the Web package. You must add this information before you save the package.</li></ol> </li> Click OK two times.</li> In the File name box, edit the default name for the Web package so that the name is the same as the folder that you created in step 2.</li> Locate the following folder, and then click Save:

Drive:\Documents and Settings\User_Name\Application Data\Microsoft\Expression\Web Designer\Folder_name.tem

</li> Close Expression Web.</li> Open the following folder:

Driver: \Documents and Settings\User_Name\Application Data\Microsoft\Expression\Web Designer\Folder_name.tem

Note In this folder, the Folder_name.fwp file is the Web package file.</li> <li>In this folder, point to New on the File menu, and then click Text Document.</li> <li>Name the file Folder_name.inf.</li> <li>Open the Folder_name.inf file in Notepad, and then add the following text:

[inf]

title=Title Text

description=Description Text

</li> <li>Save the file, and then close the document.</li></ol>

When you create a new Web page or a new Web site by using Web packages, the New dialog box will contain a new list item that is named My Templates on the Web Site tab.

<div class="references_section">