Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

How to deploy the Office 2003 Web Components in an Office 2003 program


View products that this article applies to.

Summary

If you do not have the Microsoft Office 2003 Web Components installed on the computer, you may receive a message that is similar to the following message when you visit a Web page that contains an Office 2003 Web Component:
To use this Web page interactively, you must have Microsoft Internet Explorer 5.01 Service Pack 3 (SP) or later and the Microsoft Office 2003 Web Components.

Click here to install the Office 2003 Web Components.

See the Microsoft Office Web site for more information. If the Web page is on your intranet or on the Internet, you may have to manually modify the download location that is specified by the Click here to install the Office 2003 Web Components link.
This article describes how to change the dowload location that appears in this message. This article describes how to change the dowload location for computers that have to install the Office 2003 Web Components over an intranet and for computers that have to install the Office 2003 Web Components over the Internet.

Note To use HTML documents that contain a Microsoft Office spreadsheet, a Microsoft Office PivotTable, or Microsoft Office Chart components, you must use Microsoft Internet Explorer version 4.01 or a later version of Internet Explorer. To browse a data access page that was created by using Microsoft Office Access 2003, you must use Microsoft Internet Explorer version 5 or a later version of Internet Explorer.

Installation over an intranet

By default, when you publish a Web page, the link to install the Office Web Components points to the location in which you originally installed Office 2003. If the Office installation location was a network server that can be accessed by all users in your organization, you may not have to make any modifications to your Web pages. However, if you want to make modification, set up your Web pages so that the link to install the Office 2003 Web Components points to any server on your network.

To specify the download location for the Office 2003 Web Components Setup program, you must define the Setup location when you design the component before you save the Web page. To do this, follow the steps in the section that applies to the Office program that you are using to publish your Web pages.

Note You can specify either a file URL or an HTTP URL in these steps.

Microsoft Office Excel 2003

  1. On the Tools menu, click Options.
  2. Click the General tab, click Web Options, and then click the Files tab.
  3. In the Office Controls area, follow these steps:
    1. Click to select the Download Office Web Components check box.
    2. In the Location box, type the path of the root of the Office 2003 share point, and then click OK.

      When Excel creates the Web page, the full path of Setup.exe for the Office 2003 Web Components installation is automatically created. For example, if you type http://server/Office2003 in the Location box, the following path is written in the Web page:
      http://server/Office2003/Files/OWC11/Setup.exe
  4. Click OK.

Microsoft Office FrontPage 2003

When you insert one of the Office Web Components in a Web page, the path of the Web Components installer is automatically added. To change this path, use the procedure that is described in this section. When you perform this procedure, the path is changed only on the active page. If you want to change the path for any page into which you insert one of the Office Web Components, follow the procedure that is mentioned in the "Microsoft Office Excel 2003" section earlier in this article. Alternatively, you can change the registry information. For more information about how to change the registry, see the "Related Registry Information" section later in this article.
  1. Right-click the component, and then click ActiveX Control Properties.
  2. Click the Object Tag tab.
  3. In the Alternative Representation area, type \Files\OWC11\Setup.exe in the HTML box.
  4. Click Apply, and then click OK.

Microsoft Office Access 2003

Note The dialog boxes will be different depending on whether you have a database open. Follow the steps for your scenario.

Scenario 1: You do not have a database open
  1. Open or create a data access page.
  2. On the Tools menu, click Options, and then click the Files tab.
  3. In the Office Controls area, follow these steps:
    1. Click to select the Download Office Web Components check box.
    2. In the Location box, type the path of the Office 2003 share point.

      For example, if you type http://server/Officex2003 in the Location box, the following appears on the Web page:
      http://server/Office2003/Files/OWC11/Setup.exe
  4. Click OK.

Scenario 2: You have a database open
  1. Open or create a data access page.
  2. On the Tools menu, click Options,
  3. Click the General tab, and then click Web Options.
  4. Click the Files tab.
  5. In the Office Controls area, follow these steps:
    1. Click to select the Download Office Web Components check box.
    2. In the Location box, type the path of the Office 2003 share point.

      For example, if you type http://server/Office2003 in the Location box, the following text appears on the Web page:
      http://server/Office2003/Files/OWC11/Setup.exe
  6. Click OK.

Licensing considerations

By default, if you do not have Office 2003, Access 2003, Excel 2003, or FrontPage 2003 installed on the computer, you are licensed for static, non-interactive use of the Office 2003 Web Components program when you install the Office Web Components. With this kind of license, you can view the controls on a Web page, but you are not licensed to interact with the controls. If your organization owns an Enterprise, Select, or Maintenance Agreement for Office 2003 and you plan to deploy Office 2003 in phases, you can allow early adopters of Office 2003 to share component-based Web pages with users who have not yet installed Office 2003.

With the release of Microsoft Office 2003, the license checking code in Microsoft Office Web Components version 10 was removed. If your organization downloaded an updated version of Office Web Components version 10 after the release of Microsoft Office 2003, you will no longer have the license checking code in Office Web Components version 10.

With the release of Microsoft Office 2003 SP2, the license checking code was also removed for Microsoft Office Web Components version 11. If your organization downloaded an updated version of Office Web Components version 11 after the release of Microsoft Office 2003 SP2, you will no longer have the license checking code in Office Web Components version 11.

If your organization uses a version of Microsoft Office Web Components that has the license checking code removed, you can download and install Office 2003 Web Components. Additionally, you can use Office 2003 Web Components interactively without installing Office 2003.

If your organization has not upgraded to a version of Office 2003 Web Components that has the license checking code removed, follow these steps to use the licensing mechanism that is supported by Internet Explorer:
  1. Obtain a copy of Lpk_Tool.exe. Lpk_tool.exe that is included with Visual Studio. This tool is located on CD 2 of the Professional Edition and on CD 3 of the Enterprise Edition. If you do not have Visual Studio, follow these steps:
    1. Go to the following Microsoft Web site:
    2. Click Download.
    3. Click Save, and then enter the folder in which you want to download the files in the Save in box.
    4. Click Create New Folder, type Lpk, and then press ENTER.
    5. Click the Lpk folder, and then click Open.
    6. Click Save to save the Lpk_tool.exe file to the new Lpk folder.
    7. When the download is complete, click Close.
    8. Click Start, and then click Run.
    9. Click Browse, and then locate the Lpk folder.
    10. Click Lpk_tool.exe, and then click Open.
    11. Click OK in the Run dialog box.
    12. Click Yes to agree to the license agreement.
    13. Extract the files to your Lpk folder.

      Note During the extraction process, the Lpk_tool.exe files are copied to the Lpktool subfolder in the Lpk folder.
    14. Click OK.
  2. Copy LPK_Tool.exe to a computer on which the Office 2003 Web Components are already installed.
  3. Double-click LPK_Tool.exe.
  4. In the License Package Authoring Tool dialog box, click to select the following items in the Available controls list:
    • Microsoft Office Chart 11.0
    • Microsoft Office PivotTable 11.0
    • Microsoft Office Spreadsheet 11.0
  5. Click Add, and then click Save & Exit.
  6. In the Save As dialog box, type a name for the .lpk file, and then click Save.
  7. Click OK when you receive the message that states that the License Package file was created successfully.
  8. Copy the .lpk file to the folder that contains the Office 2003 Web Components file. This folder is on the Web server.
  9. In a text editor, open the file that contains the Office 2003 Web Components.
  10. Insert the following text in the <BODY> section of the document.

    Note This text must appear in the first <OBJECT> tag in the <BODY>section:
    <OBJECT CLASSID = "clsid:5220cb21-c88d-11cf-b347-00aa00a28331">
    <PARAM NAME="LPKPath" VALUE="license.lpk">
    </OBJECT>
    
    Note The only text that you have to modify is the name of the .lpk license file. For example, this text refers to the .lpk license file as "license.lpk". Replace License.lpk with the path and name of the .lpk file that you created in step 7. Keep the Name property of the <PARAM> tag as "LPKPath", and set the Value property for the <PARAM> tag of the License Manager object to the Lpk file name and path. This path may be a relative path. However, the path must not refer to a UNC share or to a URL on another domain.

    For example, in your configuration, the HTML file is located on \\server_name\share_name\myPage.html. The license file is located on \\server_name\share_name\LPK\License.lpk. In this example, the HTML code will be as follows:
    <OBJECT CLASSID = "clsid:5220cb21-c88d-11cf-b347-00aa00a28331">
    <PARAM NAME="LPKPath" VALUE="LPK\License.lpk">
    </OBJECT>
    
    For more information about how to use licensed ActiveX controls, click the following article number to view the article in the Microsoft Knowledge Base:
    159923 How to use licensed ActiveX controls in Internet Explorer
  11. Save and close the document.
If a user is not using Office but is using the Office Web Components, the user can access a Office Web Component on a Web page because of the license on the Web server.

For more information about licensing Microsoft ActiveX controls, visit the following Microsoft Web page: For more information about licensing considerations for the Office XP Web Components, click the following article number to view the article in the Microsoft Knowledge Base:
288729 General information about licensing and using Office XP Web Components

Installation over the Internet

By default, when you publish a Web page, the link to install the Office Web Components points to the location where you originally installed Office 2003. Therefore, if a user browses to your Web page but does not have the Office 2003 Web Components installed, the user cannot install the Office 2003 Web Components from your installation source.

You can modify your Web pages to refer to the following Microsoft Web site to install the Office 2003 Web Components:To specify the Tools on the Web download location for the Office 2003 Web Components Setup program, you must define the location when you design the component before you save the Web page. To do this, follow the steps in the sections that applies to the Office program that you are using to publish your Web pages.

Excel 2003

  1. On the Tools menu, click Options.
  2. Click the General tab, click Web Options, and then click the Files tab.
  3. In the Office Controls area, follow these steps:
    1. Click to select the Download Office Web Components check box.
    2. In the Location box, type the following path, and then click OK:
  4. Click OK.

FrontPage 2003

When you insert one of the Office Web Components into a Web page, the path for the Web Components installer is automatically added. To change this path, use the procedure that is described in this section. When you perform this procedure, the path is changed only on the active page. If you want to change the path for any page into which you insert one of the Office Web Components, follow the procedure that is mentioned in the "Microsoft Office Excel 2003" section earlier in this article. Alternatively, you can change the registry information. For more information about how to change the registry, see the "Related Registry Information" section later in this article.
  1. Right-click the component, and then click ActiveX Control Properties.
  2. Click the Object Tag tab.
  3. Under Alternative Representation area, type the following path in the HTML box:
  4. Click Apply, and then click OK.

Access 2003

Note perform these steps after you open an .mdb file.
  1. Create a data access page.
  2. On the Tools menu, click Options.
  3. Click the General tab, and then click Web Options.
  4. Click the Files tab.
  5. In the Office Controls area, follow these steps:
    1. Click to select the Download Office Web Components check box.
    2. In the Location box, type the following path, and then click OK:
If you want to open the data access page directly, follow these steps:
  1. Open a data access page.
  2. On the Tools menu, click Options.
  3. Click the Files tab.
  4. In the Office Controls area, follow these steps:
    1. Click to select the Download Office Web Components check box.
    2. In the Location box, type the following path, and then click OK:

Licensing considerations

By default, if you not have Office 2003, Access 2003, Excel 2003, or FrontPage 2003 installed on thecomputer, you are licensed for the static non-interactive use of the Office 2003 Web Components when you install the Office Web Components. This means that you can view the controls on a Web page, but you are not licensed to interact with the controls. This includes the Office Web Components that are downloaded from the Tools on the Web site.

Related registry information

When you install Office 2003, the location that is used to install the Office 2003 Web Components is written to the following the registry entry:
HKEY_LOCAL_MACHINE\Software\Microsoft\Office\11.0\Common\Internet


Value name: LocationOfComponents
Value type: String (REG_SZ)
Value data: Text string that points to original install point
If you change the location by using one of the methods that is listed earlier in this article, the path that is specified for the LocationOfComponents string value changes accordingly.

↑ Back to the top


Keywords: KB828950, kbhowtomaster, kbinfo, kblicensing

↑ Back to the top

Article Info
Article ID : 828950
Revision : 8
Created on : 7/19/2007
Published on : 7/19/2007
Exists online : False
Views : 810