Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I accidentally deleted the Windows\Installer folder in Windows 7. Is there a way to repair this, because I can't install new Microsoft software anymore.

share|improve this question

migrated from Oct 7 '10 at 19:31

This question came from our site for professional and enthusiast programmers.

Have you tried using the Windows install cd and selecting the repair option? – Daisetsu Oct 7 '10 at 19:39

Try recovering the files using a Shadow Copy (Previous Versions). If your edition of Windows doesn't expose the Previous Versions tab, use the free ShadowExplorer to do it.

If that doesn't work, recover from backup.

If you don't have a backup, you're in big trouble.

The only real options you have at that point are reinstalling Windows (and all of your applications that use Windows Installer) or, maybe, trying to use the msizap.exe command line tool to reset all the Installer's registry information.

share|improve this answer
msizap *! ALLPRODUCTS worked for me - but as a last ditch effort - not recommended! Everything has to be reinstalled now. – user12007 Jan 17 '12 at 17:08

You can't reinstall it, because actually version 5.0 is not redistributable.

The simplest solution is to copy the folder from an other Win7 computer.

share|improve this answer

Open an elevated command prompt and type:

sfc /scannow

share|improve this answer

Have you tried using System restore, or even just restore from the recycle bin?

share|improve this answer

You must log in to answer this question.