Microsoft KB Archive/288732

= How To Deploy the Office XP Web Components in an Office Program =

Article ID: 288732

Article Last Modified on 7/19/2007

-

APPLIES TO


 * Microsoft Access 2002 Standard Edition
 * Microsoft Excel 2002 Standard Edition
 * Microsoft FrontPage 2002 Standard Edition
 * Microsoft Office Web Components

-



This article was previously published under Q288732



IN THIS TASK
SUMMARY Installation over an Intranet
 * Microsoft Excel 2002
 * Microsoft FrontPage 2002
 * Microsoft Access 2002
 * Licensing Considerations

Installation over the Internet
 * Excel 2002
 * FrontPage 2002
 * Access 2002: After You Open an MDB File
 * Access 2002: Open a Data Access Page Directly
 * Licensing Considerations

Related Registry Information



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.

back to the top

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.

back to the top

Microsoft Excel 2002
 On the Tools menu, click Options. Click the General tab, and then click the Web Options button. Click the Files tab. In the Office Controls area, follow these steps:  Click to select the Download Office Web Components check box. 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.</ol> </li> Click OK.</li></ol>

back to the top

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 &quot;Microsoft Excel 2002&quot; section earlier in this article, or modify the registry information in the &quot;Related Registry Information&quot; 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.

back to the top

Microsoft Access 2002
<ol> Open or create a data access page.</li> On the Tools menu, click Options.</li> In the Web Options dialog box, click the Files tab.</li> In the Office Controls area, follow these steps: <ol style="list-style-type: lower-alpha;"> Select the Download Office Web Components check box.</li> 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.</li> Click OK.</li></ol> </li></ol>

back to the top

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: <ol> 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).</li> Copy LPK_Tool.exe to a computer where the Office XP Web Components are already installed.</li> Double-click LPK_Tool.exe.</li> In the License Package Authoring Tool dialog box, select the following items in the Available controls list: <ul> Microsoft Office Chart 10.0</li> Microsoft Office PivotTable 10.0</li> Microsoft Office Spreadsheet 10.0</li></ul> </li> Click Add.</li> <li>Click Save & Exit.</li> <li>In the Save As dialog box, specify a name for the .lpk file, and then click Save.</li> <li>Click OK to the message that advises that you that the License Package file was created successfully.</li> <li>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.</li> <li>In a text editor, open the file that contains the Office XP Web Components.</li> <li> 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: <pre class="fixed_text"><OBJECT CLASSID = &quot;clsid:5220cb21-c88d-11cf-b347-00aa00a28331&quot;> <PARAM NAME=&quot;LPKPath&quot; VALUE=&quot;license.lpk&quot;> </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 &quot;LPKPath&quot;, 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: <pre class="fixed_text"><OBJECT CLASSID = &quot;clsid:5220cb21-c88d-11cf-b347-00aa00a28331&quot;> <PARAM NAME=&quot;LPKPath&quot; VALUE=&quot;LPK\License.lpk&quot;> </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

</li> <li>Save and close the document.</li></ol>

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:

http://msdn2.microsoft.com/en-us/library/Aa751973.aspx

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

back to the top

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:

Office XP Web Components Add Analysis Tools to Your Web Page

Office XP Web Components: Pivot Table Lists

Office XP Web Components: Spreadsheets

Office XP Web Components: Charts

Office XP Web Components: The Data Source Component

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.

back to the top

Excel 2002
<ol> <li>On the Tools menu, click Options.</li> <li>Click the General tab.</li> <li>Click the Web Options button.</li> <li>Click the Files tab.</li> <li>In the Office Controls area, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Click to select the Download Office Web Components check box.</li> <li>In the Location box, type the path to the following Tools on the Web site, and then click OK:

http://officeupdate.microsoft.com/office/redirect/10/owcsetup.asp?HelpLCID=1033

</li></ol> </li> <li>Click OK.</li></ol>

back to the top

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 &quot;Microsoft Excel 2002&quot; section earlier in this article, or modify the registry information in the &quot;Related Registry Information&quot; section later in this article. <ol> <li>Right-click the component, and then click ActiveX Control Properties.</li> <li>Click the Object Tag tab.</li> <li>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:

http://officeupdate.microsoft.com/office/redirect/10/owcsetup.asp?HelpLCID=1033

</li> <li>Click Apply</li> <li>Click OK.</li></ol>

back to the top

Access 2002: After You Open an MDB File
<ol> <li>Create a data access page.</li> <li>On the Tools menu, click Options.</li> <li>In the Options dialog box, click the General tab.</li> <li>Click the Web Options button.</li> <li>In the Web Options dialog box, click the Files tab.</li> <li>In the Office Controls area, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Click to select the Download Office Web Components check box.</li> <li>In the Location box, type the path to the following &quot;Tools on the Web&quot; Web site, and then click OK:

http://officeupdate.microsoft.com/office/redirect/10/owcsetup.asp?HelpLCID=1033

</li></ol> </li></ol>

back to the top

Access 2002: Open a Data Access Page Directly
<ol> <li>Open a Data Access Page.</li> <li>On the Tools menu, click Options.</li> <li>In the Web Options dialog box, click the Files tab.</li> <li>In the Office Controls area, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Click to select the Download Office Web Components check box.</li> <li>In the Location box, type the path to the following &quot;Tools on the Web&quot; Web site, and then click OK:

http://officeupdate.microsoft.com/office/redirect/10/owcsetup.asp?HelpLCID=1033

</li></ol> </li></ol>

back to the top

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.

back to the top

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

Additional query words: OfficeKBHowTo

Keywords: kbdownload kbdownload kbpubtypekc kbmsccsearch kbhowto kbhowtomaster KB288732

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.