For several weeks Windows update has been trying to install a security update for Visual Studio 2005. And for several weeks, failing. I tried to repair .net 2.0, which went fine, and VS 2005 which did not. The error was that vs_setup.msi could not be run. Finally found some clues searching the internet:
1. go to HKEY_LOCAL_MACHINESOFTWAREClassesInstallerProducts C7F704DE975BCC419DF58C55E80E468
2. In Patches subkey clear the entry for Patches which is type REG_MULTI_SZ.
Now the repair of Visual Studio 2005 went fine and the update was successfully installed.
Doug