Microsoft KB Archive/172504

= OFF97: Cannot Install Patch If Microsoft Office 97 Is Not Located =

Article ID: 172504

Article Last Modified on 11/24/2000

-

APPLIES TO


 * Microsoft Office 97 Service Pack 1

-



This article was previously published under Q172504



IMPORTANT: This article contains information about editing the registry. Before you edit the registry, you should first make a backup copy of the registry files (System.dat and User.dat). Both are hidden files in the Windows folder.



SYMPTOMS
When you run the Microsoft Office 97 Service Release 1 (SR-1) Patch, you may receive the following error message

Microsoft Office 97 SR-1

Office 97 cannot be located on this machine! Office 97 SR-1 will now abort.

and the patch is not installed.

You receive this error message even though one or more of the following programs are installed on the computer:

Microsoft Office 97

Microsoft Excel 97

Microsoft Word 97

Microsoft Access 97

Microsoft PowerPoint 97

Microsoft Outlook 97



CAUSE
This problem occurs if BOTH of the following keys are missing from the Microsoft Windows registry:

  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\8.0\BinDirPath

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\8.0\Common\InstallRoot OfficeBin

These keys may both be missing if you installed and removed Microsoft Office 97 programs multiple times on a particular computer.



RESOLUTION
WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall Windows 95. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the Changing Keys And Values online Help topic in Registry Editor (Regedit.exe). Note that you should make a backup copy of the registry files (System.dat and User.dat) before you edit the registry.

To resolve this problem, add the two missing keys to the registry. To do this, follow these steps:  On the Start menu, click Run. In the Open box, type regedit. Click OK.  In the registry tree, in the order given, click the plus sign to the left of each of the following items:

     HKEY_LOCAL_MACHINE SOFTWARE Microsoft Office

Then, click the folder to the left of "8.0." The path displayed in the status bar is the following:

     My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\8.0  On the Edit menu, point to New and click String Value. Type BinDirPath and press ENTER. In the right pane, click BinDirPath. Then, click Modify on the Edit menu. Type the path to the folder that contains Microsoft Office 97 (usually, the path is C:\Program Files\Microsoft Office\Office) and click OK.</li>  In the registry tree, click the plus sign to the left of the Common folder, which is located below the 8.0 folder. Then, click the folder to the left of InstallRoot. The path that is displayed in the status bar is the following:

<pre class="fixed_text">      My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\8.0</WWITEM></WWSTEPS> Common\InstallRoot </li> On the Edit menu, point to New and click String Value. Type OfficeBin and press ENTER.</li> In the right pane, click OfficeBin. Then, click Modify on the Edit menu. Type the path to the folder that contains Microsoft Office 97 (usually, the path is C:\Program Files\Microsoft Office\Office) and click OK.</li> On the Registry menu, click Exit.</li></ol>

You can then run the Microsoft Office 97 SR-1 Patch.

<div class="status_section">

STATUS
This behavior is by design of the Microsoft Office 97 SR-1 Patch.

<div class="moreinformation_section">

MORE INFORMATION
When you run the Microsoft Office 97 SR-1 Patch, it uses the BinDirPath and OfficeBin registry keys to determine the location in which Microsoft Office 97 is installed on your computer. If the patch cannot find either of two the registry keys, the patch assumes that Microsoft Office 97 is not installed on the computer and it does not allow you to continue.

Additional query words: OFF97 sr1

Keywords: kbsetup kbprb KB172504

-

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

© Microsoft Corporation. All rights reserved.