Microsoft KB Archive/310335

= Error Message: The Installation/Removal of a Previous Program Was Not Completed =

Article ID: 310335

Article Last Modified on 10/28/2003

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Professional Edition

-



This article was previously published under Q310335



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 Description of the Microsoft Windows Registry



SYMPTOMS
When you are installing a program that uses the InstallShield Wizard, you may receive an error message similar to one of the following:

The installation/removal of a previous program was not completed. Setup must restart your computer before proceeding with Installation. After windows has been restarted, please run setup again to complete installation.

-or-

A previous program installation was never completed. You need to restart your computer to complete that installation before running Internet Explorer Setup. Setup will now close.

If you restart the computer as suggested and then try to install the program again, you receive the same error message.



CAUSE
This behavior can occur if there are pending file rename or delete operations.



RESOLUTION
To resolve this issue, remove the &quot;PendingFileRenameOperations&quot; value from the following registry subkey:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager

To do this, follow these steps:

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.

 Click Start, and then click Run. In the Open box, type Regedit, and then click OK. In Registry Editor, expand the following registry subkey:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager

 On the File menu, click Export.

NOTE: In Windows 2000, click Export Registry File on the Registry menu. In the File name box, type Session Manager Key, and then click Save. In the right pane of the Registry Editor window, right-click PendingFileRenameOperations and then on the shortcut menu that appears, click Delete.</li> On the Confirm Value Delete message that appears, click Yes.</li> On the File menu, click Exit.

NOTE: In Windows 2000, click Exit on the Registry menu.</li> Restart the computer.</li></ol>

Keywords: kberrmsg kbsetup kbprb kbfaq KB310335

-

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

© Microsoft Corporation. All rights reserved.