OFF: Setup Cannot Locate the Program Files Folder (164808)
The information in this article applies to:
- Microsoft Office 97 for Windows
- Microsoft Office for Windows 95
- Microsoft Office for Windows 95 7.0a
This article was previously published under Q164808 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 Setup program, the Setup program may
fail to identify the Program Files folder on your computer. The Setup
program may then attempt to install certain Microsoft Office components
(see the "More Information" section) in a folder other than the Program
Files folder.
NOTE: This behavior occurs regardless of the type of installation (Typical,
Custom, and so on) you perform.
CAUSE
The Microsoft Office Setup program determines the location of the Program
Files and Common Files folders by checking the following registry keys:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\
ProgramFilesDir
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\
CommonFilesDir
If these keys contain an incorrect drive letter or path information,
Microsoft Office Setup may be unable to install files in the existing
Program Files folder.
RESOLUTIONWARNING: 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.
For the Microsoft Office Setup program to detect the path to the Program
Files folder, you must correct the path in the registry keys. To do this,
use the following steps:
- On the Start menu, click Run.
- In the Open box, type regedit and click
OK.
- Double-click the plus sign (+) to the left of the following items in
order
HKEY_LOCAL_MACHINE
SOFTWARE
Microsoft
Windows
CurrentVersion
to open the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
- In the value pane, note the value to the right of ProgramFilesDir.
If the folder name does not exist on your hard disk, proceed to step 5.
Otherwise, skip step 5.
- Click ProgramFilesDir. On the Edit menu, click Modify. In the Value Data
box, type the correct path to the Program Files folder (for example,
C:\Programs). Then, click OK.
- In the value pane, look at the value to the right of CommonFilesDir.
If the folder name does not exist on your hard disk, proceed to step 7.
Otherwise, skip step 7.
- Click CommonFilesDir. On the Edit menu, click Modify. In the Value Data
box, type the correct path to the Common Files folder (for example,
C:\Common). Then, click OK.
- On the Registry menu, click Exit.
REFERENCES
For more information, please see the following article in the Microsoft
Knowledge Base:
157030 OFF97: Change Directory Unavailable for Office Tools
Modification Type: | Minor | Last Reviewed: | 8/17/2005 |
---|
Keywords: | kbhowto KB164808 |
---|
|