ID: Q183387
The information in this article applies to:
IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.
When you are installing Internet Explorer, you may receive the following error message:
Error, Installation failed: Unable to determine or construct a path for
the Program Files folder
In Internet Explorer 4.0 or 4.01, components may not be installed, and you
may see a red X next to the affected components in the component list.
This error message can occur for any of the following reasons:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\
ProgramFilesDir
registry key for the correct name of the Program Files folder.
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\FileSystem
registry key with a value of 0.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
registry key with a value of 1.
WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. 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" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it.
To resolve this issue, use the appropriate method:
Hkey_Local_Machine\Software\Microsoft\Windows\CurrentVersion\
ProgramFilesDir
By default, this key contains a path similar to C:\Program Files. Make
sure this folder exists.
NOTE: You can change this key to match the folder you are actually
using in the root folder for the Program Files folder.
Hkey_Local_Machine\System\CurrentControlSet\Control\FileSystem
Then, using Windows Explorer or My Computer, rename the Program Files folder to Programs.fld. Then, rename the Programs.fld folder to Program Files. Renaming the folder forces a new short name for the folder to be generated.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
Then, using Windows Explorer or My Computer, rename the Program Files folder to Programs.fld. Then, rename the Programs.fld folder to Program Files. Renaming the folder forces a new short name for the folder to be generated.
For more information, see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q148594
TITLE : "NameNumericTail=0" Value Causes Problems for Some Programs
Various tools and components installed in the Program Files folder may use
short file names internally or during installation. If the short name for
the Program Files folder is different from the short name expected by a
tool or component, the problems described in this article may occur. This
problem can affect any program installed in the Program Files folder.
Additional query words: 3.00 4.00
Keywords : kbenv kberrmsg kbsetup msiew95 msient
Version : WINDOWS:3.0,3.01,3.02,4.0,4.01
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: April 3, 1998