Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 stackoverflow.com Oct 7 '10 at 19:31

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

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

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.

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
add comment

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
add comment

Open an elevated command prompt and type:

sfc /scannow

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

share|improve this answer
add comment

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

share|improve this answer
add comment

Your Answer

 
discard

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