Microsoft KB Archive/828950

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

Article ID: 828950

Article Last Modified on 7/19/2007

-

APPLIES TO


 * Microsoft Office Web Components
 * Microsoft Office Access 2003
 * Microsoft Office Excel 2003
 * Microsoft Office FrontPage 2003

-





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
 On the Tools menu, click Options. Click the General tab, click Web Options, and then 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 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

  Click OK.</li></ol>

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 &quot;Microsoft Office Excel 2003&quot; section earlier in this article. Alternatively, you can change the registry information. For more information about how to change the registry, see 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 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  Open or create a data access page.</li> On the Tools menu, click Options, and then click the Files tab.</li> In the Office Controls area, follow these steps:  Click to select the Download Office Web Components check box.</li> 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

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

Scenario 2: You have a database open  Open or create a data access page.</li> On the Tools menu, click Options,</li> Click the General tab, and then click Web Options.</li> Click the Files tab.</li> In the Office Controls area, follow these steps:  Click to select the Download Office Web Components check box.</li> <li>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

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

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: <ol> <li>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: <ol style="list-style-type: lower-alpha;"> <li>Go to the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?displaylang=en&familyid=d2728e89-575e-42e9-a6ff-07d0021e68cc

</li> <li>Click Download.</li> <li>Click Save, and then enter the folder in which you want to download the files in the Save in box.</li> <li>Click Create New Folder, type Lpk, and then press ENTER.</li> <li>Click the Lpk folder, and then click Open.</li> <li>Click Save to save the Lpk_tool.exe file to the new Lpk folder.</li> <li>When the download is complete, click Close.</li> <li>Click Start, and then click Run.</li> <li>Click Browse, and then locate the Lpk folder.</li> <li>Click Lpk_tool.exe, and then click Open.</li> <li>Click OK in the Run dialog box.</li> <li>Click Yes to agree to the license agreement.</li> <li>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.</li> <li>Click OK.</li></ol> </li> <li>Copy LPK_Tool.exe to a computer on which the Office 2003 Web Components are already installed.</li> <li>Double-click LPK_Tool.exe.</li> <li>In the License Package Authoring Tool dialog box, click to select the following items in the Available controls list: <ul> <li>Microsoft Office Chart 11.0</li> <li>Microsoft Office PivotTable 11.0</li> <li>Microsoft Office Spreadsheet 11.0</li></ul> </li> <li>Click Add, and then click Save & Exit.</li> <li>In the Save As dialog box, type a name for the .lpk file, and then click Save.</li> <li>Click OK when you receive the message that states that the License Package file was created successfully.</li> <li>Copy the .lpk file to the folder that contains the Office 2003 Web Components file. This folder is on the Web server.</li> <li>In a text editor, open the file that contains the Office 2003 Web Components.</li> <li>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 = &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 is the name of the .lpk license file. For example, this text refers to the .lpk license file as &quot;license.lpk&quot;. 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 &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. 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 \\ \ \myPage.html. The license file is located on \\ \ \LPK\License.lpk. In this example, the HTML code will be as follows:

<OBJECT CLASSID = &quot;clsid:5220cb21-c88d-11cf-b347-00aa00a28331&quot;> <PARAM NAME=&quot;LPKPath&quot; VALUE=&quot;LPK\License.lpk&quot;> </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

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

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:

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

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:

http://www.microsoft.com/downloads/details.aspx?FamilyID=7287252c-402e-4f72-97a5-e0fd290d4b76&DisplayLang=en

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
<ol> <li>On the Tools menu, click Options.</li> <li>Click the General tab, click Web Options, and then 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 following path, and then click OK:

http://www.microsoft.com/downloads/details.aspx?FamilyID=7287252c-402e-4f72-97a5-e0fd290d4b76&DisplayLang=en

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

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 &quot;Microsoft Office Excel 2003&quot; section earlier in this article. Alternatively, you can change the registry information. For more information about how to change the registry, see 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>Under Alternative Representation area, type the following path in the HTML box:

http://www.microsoft.com/downloads/details.aspx?FamilyID=7287252c-402e-4f72-97a5-e0fd290d4b76&DisplayLang=en

</li> <li>Click Apply, and then click OK.</li></ol>

Access 2003
Note perform these steps after you open an .mdb file. <ol> <li>Create a data access page.</li> <li>On the Tools menu, click Options.</li> <li>Click the General tab, and then click Web Options.</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 following path, and then click OK:

http://www.microsoft.com/downloads/details.aspx?FamilyID=7287252c-402e-4f72-97a5-e0fd290d4b76&DisplayLang=en

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

If you want to open the data access page directly, follow these steps: <ol> <li>Open a data access page.</li> <li>On the Tools menu, click Options.</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 following path, and then click OK:

http://www.microsoft.com/downloads/details.aspx?FamilyID=7287252c-402e-4f72-97a5-e0fd290d4b76&DisplayLang=en

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

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:

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.

Keywords: kbhowtomaster kbinfo kblicensing KB828950

-

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

© Microsoft Corporation. All rights reserved.