Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have an old PC with Windows 2000 that I want to reanimate. Each time I start the PC I see a dialog box "Windows Installer","Installation wird vorbereitet." (Preparing installation).

I can cancel that installation and work with that PC. But I don't know what installation was pending. There is a more severe problem: I cannot install or uninstall any other software since I get this hanging dialog again. It lasts forever taking no CPU time.

How can I cleanup the pending installations registry to make misexec usable again?

share|improve this question
add comment

3 Answers

The event log will generally tell you what product caused the self repair.

Msi self repair in windows's event viewer

To find information about this product, try this procedure:

  • In the image above the GUID for the product that caused the repair is marked. Copy this GUID and open regedit.exe.
  • Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
  • Search for the GUID you found in the event log. If you find a match, check the details that show up in the right pane as illustrated below (the images don't match, they are for different products but the concept should be clear):

The ARP details for the product that caused the self repair

  • Try to run the Uninstall from the add/remove programs applet and see if the uninstall completes.
  • If the uninstall completes you might be done, but if it fails to uninstall the normal procedure is to use the MSICUU2 tool and erase the MSI from its internal database. I suppose you may have removed a different product that didn't cause the repair?
share|improve this answer
add comment

Googling for "msiexec cleanup tool" the first result appears to be relevant. Of particular note, it mentions that the cleanup tool which had been available in the past has been withdrawn. I recall having used it successfully a number of times in the past but no longer have a copy of it. You may still be able to find it elsewhere with a bit of searching.

share|improve this answer
    
I found the MSICUU2 tool. But this did not help. The problem persists. –  harper Apr 29 '11 at 12:08
add comment

Look for MSIZAP.exe. This will get rid of the related MSI registry keys.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.