Article ID: 292238 - Last Review: December 4, 2007 - Revision: 2.4
You receive an "Installation ended prematurely because of an error" error message when you remove, repair, re-install, or change features for your Office XP installation
This article was previously published under Q292238
IMPORTANT: This article contains information about modifying the registry.
Before you modify the registry, make sure to back it up and make sure that you
understand how to restore the registry if a problem occurs. For information
about how to back up, restore, and edit the registry, click the following
article number to view the article in the Microsoft Knowledge Base:
256986
(http://support.microsoft.com/kb/256986/EN-US/
)
Description of the Microsoft Windows Registry
When you try to uninstall, repair, reinstall, or change
features for your Office installation, you may receive the following error
message:
Installation ended prematurely because of an
error.
If you enable verbose logging for these operations, you may
see text similar to the following in your log file:
RegisterProductID: Unable to create HKEY_LOCAL_MACHINE\Software\Microsoft\Office\10.0\Registration\{90280409-6000-11D3-8CFE-0050048383C9}. Hence ProductID, PIDKEY, & DigitalProductID keys will not be Registered
Action ended 13:16:04: InstallExecute. Return value 3.
WARNING: If you use Registry Editor incorrectly, you may cause serious
problems that may require you to reinstall your operating system. Microsoft
cannot guarantee that you can solve problems that result from using Registry
Editor incorrectly. Use Registry Editor at your own
risk.
To resolve this problem, follow these steps
for the version of Microsoft Windows that is running on your computer.
In the Open box, type Regedt32.exe and then click OK.
Select the HKEY_LOCAL_MACHINE on Local Machine window.
Locate and select the following key:
\Software\Microsoft\Office
On the Security menu, click Permissions.
The following table lists the default registry permissions
on this key.
Name Permissions
----------------------------------------------
Creator Owner Full Control
Everyone Special Access
<machine name>\Administrators Full Control
System Full Control
The permissions that you set for this key and its subkeys vary,
according to your situation. At a minimum, change the permissions on the System
account to Full Control, and to Read for the other accounts listed.
NOTE: Make sure that you select the Replace permission on
existing subkeys check box.
Click OK in the Registry Permissions dialog box.
Click Yes to confirm replacing permissions on existing subkeys.
On the Registry menu, click Exit. You should now be able to uninstall, repair, reinstall, add, or
change features in your Office installation.
In the Open box, type Regedt32.exe and then click OK.
Select the HKEY_LOCAL_MACHINE on Local Machine window.
Locate and select the following key:
\Software\Microsoft\Office
On the Security menu, click Permissions.
The following table lists the default registry permissions
on this key.
Name Permissions
----------------------------------------------
Administrators Full Control
Creator Owner Full Control
Power Users Special
System Full Control
Users Read
The permissions that you set for this key and its subkeys vary,
according to your situation. At a minimum, change the permissions on the System
account to Full Control, and to Read for the other accounts listed.
In the Permissions for Office dialog box, clear the Allow Inheritable permissions from
parent to propagate to this object check box.
Select the System account, and then click the Full Control check box under Allow.
In the Permissions for Office dialog box, click Advanced.
For any object listed in the preceding table that does not
have the Full Control permissions as stated in the table, you may also have to
select the object, click View/Edit, and then verify the missing permissions.
Select the Reset permissions on all child
objects check box, and then clear the Allow Inheritable
permissions from parent to propagate to this object check
box.
Click OK and then click Yes to the prompt to enable propagation of inheritable
permissions.
Click OK in the Registry Permissions dialog box.
On the Registry menu, click Exit. You should now be able to uninstall, repair, reinstall, add, or
change features in your Office installation.