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.

link|improve this question
1  
Have you tried using the Windows install cd and selecting the repair option? – Daisetsu Oct 7 '10 at 19:39
feedback

migrated from stackoverflow.com Oct 7 '10 at 19:31

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

4 Answers

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.

link|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 at 17:08
feedback

Open an elevated command prompt and type:

sfc /scannow

http://support.microsoft.com/kb/929833

link|improve this answer
feedback

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.

link|improve this answer
feedback

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown