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 XP Web Components in an Office Program


View products that this article applies to.

Summary

When a user who does not have the Office XP Web Components installed on their computer accesses a Web page that contains an Office XP Web Component, he or she may receive a message similar to the following:
To use this Web page interactively, you must have Microsoft Internet Explorer 4.01 Service Pack 1 (SP) or later and the Microsoft Office XP Web Components.

Click here to install the Office XP Web Components.

See the Microsoft Office Web site for more information.
Depending on whether 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 XP Web Components link. This article provides the methods to modify this information for computers that have to install the Microsoft Office XP Web Components over an intranet and also over the Internet.

NOTE: To use HTML documents that contain the Office Spreadsheet, Office PivotTable, or Office Chart components, you need Microsoft Internet Explorer version 4.01 or later. To browse a data access page that was created with Microsoft Access 2002, you need Microsoft Internet Explorer version 5 or later.



Installation over an Intranet

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

To specify the download location for the Office XP Web Components Setup program, you must define the Setup location when you design the component and before you save the Web page. To do this, follow these steps for 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 Excel 2002

  1. On the Tools menu, click Options.
  2. Click the General tab, and then click the Web Options button.
  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 path to the root of the Office XP share point, and then click OK.

      When Excel creates the Web page, the full path to Setup.exe for the Office XP Web Components installation is automatically created. For example, if you specify http://server/Officexp in the Location box, the path http://server/Officexp/Files/OWC/Setup.exe is written into the Web page.
  5. Click OK.


Microsoft FrontPage 2002

When you insert one of the Office Web Components into a Web page, the path for the Web Components installer is automatically added. You can change this path by using the following steps, but this only changes the path 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 steps in the "Microsoft Excel 2002" section earlier in this article, or modify the registry information in 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 HTML box in the Alternative Representation area, scroll through the text, and then modify the path to \Files\OWC\Setup.exe. Click Apply and then click OK.


Microsoft Access 2002

  1. Open or create a data access page.
  2. On the Tools menu, click Options.
  3. In the Web Options dialog box, click the Files tab.
  4. In the Office Controls area, follow these steps:
    1. Select the Download Office Web Components check box.
    2. In the Location box, type the path to the Office XP share point. For example, if you specify http://server/Officexp in the Location box, the path http://server/Officexp/Files/OWC/Setup.exe is written into the Web page.
    3. Click OK.


Licensing Considerations

By default, if a user does not have Office XP, Access 2002, Excel 2002, or FrontPage 2002 installed on their computer, and the user installs the Office Web Components, the user receives a Run-time Static license for the Office XP Web Components. This means the user can view the controls on a Web page but cannot interact with the controls. Organizations that own an Enterprise, Select, or Maintenance Agreement for Office XP and that plan to deploy Office XP in phases can allow early adopters of Office XP to share component-based Web pages with users who have not yet installed Office XP. To do this, follow these steps to use the licensing mechanism supported by Microsoft Internet Explorer:
  1. Obtain a copy of Lpk_Tool.exe, which is included with Visual Studio (CD 2 of the Professional Edition and CD 3 of the Enterprise Edition).
  2. Copy LPK_Tool.exe to a computer where the Office XP Web Components are already installed.
  3. Double-click LPK_Tool.exe.
  4. In the License Package Authoring Tool dialog box, select the following items in the Available controls list:
    • Microsoft Office Chart 10.0
    • Microsoft Office PivotTable 10.0
    • Microsoft Office Spreadsheet 10.0
  5. Click Add.
  6. Click Save & Exit.
  7. In the Save As dialog box, specify a name for the .lpk file, and then click Save.
  8. Click OK to the message that advises that you that the License Package file was created successfully.
  9. Copy the .lpk file that you created into the same folder as the file that contains the Office XP Web Components on your Web server.
  10. In a text editor, open the file that contains the Office XP Web Components.
  11. Insert the following text in the <BODY> section of the document, and note that the 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 from the example is the name of the .lpk license file. The example uses License.lpk, which you replace with the path and name of the .lpk file that you created. 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 but must not refer to a UNC share or a URL on another domain.

    For example:

    Assume the HTML file is located on \\server\share\myPage.html, and assume the license file is located one level deeper, on \\server\share\LPK\License.lpk. In this case, the HTML code will be as follows:
    <OBJECT CLASSID = "clsid:5220cb21-c88d-11cf-b347-00aa00a28331">
    <PARAM NAME="LPKPath" VALUE="LPK\License.lpk">
    </OBJECT>
    					
    For additional information about licensing ActiveX controls, click the article number below to view the article in the Microsoft Knowledge Base:
    159923 How To Use Licensed ActiveX Controls in Internet Explorer
  12. Save and close the document.
When a user who has the Office Web Components but not Office browses to a Web page with an Office XP Web Component, the user can interact with the Office Web Component because of the license on the Web server.

For more information about licensing Microsoft ActiveX controls, see the following Microsoft Web page: For additional information about licensing considerations for the Office XP Web Components, click the article number below to view the article in the Microsoft Knowledge Base:
288729 OFFXP: 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 from which you originally installed Office XP. Therefore, if a user browses to your Web page, but does not have the Office XP Web Components installed, the user cannot install the Office XP Web Components from your installation source.

The Office XP Web Components are available from the following Microsoft Web sites: You can modify your Web pages to reference this location for the installation of the Office XP Web Components.

To specify the Tools on the Web download location for the Office XP Web Components Setup program, you must define the location when you design the component and before you save the Web page. To do this, follow these steps for the Office program that you use to publish your Web pages.



Excel 2002

  1. On the Tools menu, click Options.
  2. Click the General tab.
  3. Click the Web Options button.
  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 to the following Tools on the Web site, and then click OK:
  6. Click OK.


FrontPage 2002

When you insert one of the Office Web Components into a Web page, the path for the Web Components installer is automatically added. You can change this path by using the following steps, but this only changes the path 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 steps in the "Microsoft Excel 2002" section earlier in this article, or modify the registry information in 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 HTML box in the Alternative Representation area, scroll through the text, and then modify the path to the following download location on the Tools on the following Microsoft Web site:
  4. Click Apply
  5. Click OK.


Access 2002: After You Open an MDB File

  1. Create a data access page.
  2. On the Tools menu, click Options.
  3. In the Options dialog box, click the General tab.
  4. Click the Web Options button.
  5. In the Web Options dialog box, click the Files tab.
  6. 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 to the following "Tools on the Web" Web site, and then click OK:
      http://officeupdate.microsoft.com/office/redirect/10/owcsetup.asp?HelpLCID=1033


Access 2002: Open a Data Access Page Directly

  1. Open a Data Access Page.
  2. On the Tools menu, click Options.
  3. In the Web Options dialog box, 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 path to the following "Tools on the Web" Web site, and then click OK:
      http://officeupdate.microsoft.com/office/redirect/10/owcsetup.asp?HelpLCID=1033


Licensing Considerations

By default, if a user does not have Office XP, Access 2002, Excel 2002, or FrontPage 2002 installed on their computer, and the user installs the Office Web Components, the user receives a Run-time Static license for the Office XP Web Components. This means that the user can view the controls on a Web page but cannot interact with the controls. This includes the Office Web Components downloaded from the Tools on the Web site.



Related Registry Information

When you install Office XP, the location used to install the Office XP Web Components is written into the registry at the following location:
HKEY_LOCAL_MACHINE\Software\Microsoft\Office\10.0\Common\Internet

Value Name: LocationOfComponents

Value Type: String (REG_SZ)

Value: Text string pointing to original install point
If you modify the location by using one of the methods listed earlier in this article, the path specified for the LocationOfComponents string value changes accordingly.



↑ Back to the top


Keywords: KB288732, kbhowtomaster, kbhowto, kbdownload, kbdownload

↑ Back to the top

Article Info
Article ID : 288732
Revision : 13
Created on : 7/19/2007
Published on : 7/19/2007
Exists online : False
Views : 497