Possible causes of Windows Vista hotfix install failures
The .NET Framework 3.5 beta 2 includes updates for the .NET Framework 2.0 and 3.0. Since the .NET Framework 2.0 and 3.0 are installed as OS components on Windows Vista, the updates are delivered as Windows Vista hotfix packages. We have seen some issues related to the installation of these .NET Framework 2.0 and 3.0 updates during .NET Framework 3.5 beta 2 setup that have turned out to be caused by known bugs with the Windows Vista hotfix installation engine. The following items describe the issues we have seen so far with the Windows Vista hotfix installation engine and how to work around them to unblock .NET Framework 3.5 beta 2 installation:
Issue 1 - Installer encountered an error 0x8007177f. This machine is disabled for file encryption.
Aaron Ruckman described this issue in this blog post. If you encounter this issue during .NET Framework 3.5 setup, the .NET Framework 2.0 update package will fail with error code 6015. If you are running the .NET Framework 3.5 setup directly, you will see an error like the following in the setup error log:
[07/01/07,11:30:00] Microsoft .NET Framework 2.0SP1 (CBS): [2] Error: Installation failed for component Microsoft .NET Framework 2.0SP1 (CBS). MSI returned error code 6015
If you are running VS 2008 setup (which chains the .NET Framework 3.5 as a prerequisite), you will see an error like the following in the setup error log:
[07/01/07,11:30:00] Microsoft .NET Framework v3.5: [2] Error code 6015 for this component means "This machine is disabled for file encryption."
This error means that there is a domain policy in effect that prevents file encryption using the Encrypting File System (EFS) from working. There is a Windows Vista hotfix available to correct this issue, and information about obtaining it can be found in the knowledge base article located at https://support.microsoft.com/kb/933595.
Issue 2 - Installer encountered an error 0x80073712.
On some Windows Vista systems, it is possible that the OS component store has gotten into a corrupt state. When this happens, the Windows Features control panel will be empty, and any Windows Vista hotfixes that you attempt to install will indicate that they are not applicable. If you are running the .NET Framework 3.5 setup directly, you will see an error like the following in the setup error log:
[07/01/07,11:30:00] Microsoft .NET Framework 2.0SP1 (CBS): [2] Error: Installation failed for component Microsoft .NET Framework 2.0SP1 (CBS). MSI returned error code 1
If you are running VS 2008 setup (which chains the .NET Framework 3.5 as a prerequisite), you will see an error like the following in the setup error log:
[07/01/07,11:30:00] Microsoft .NET Framework v3.5: [2] Error code 1 for this component means "Incorrect function."
There are steps in the knowledge base article at https://support.microsoft.com/kb/931712 that can be used to update the registry in order to repair the Windows Vista component store in order to work around this error. To summarize the steps listed in that knowledge base article, you can do the following:
- Open an administrative command prompt by clicking on the Start menu, choosing All Programs, then Accessories, then right-clicking on the Command Prompt item and choosing Run as administrator
- Type the following command: reg delete HKLM\COMPONENTS /v StoreDirty /f
After running this command, you can re-run .NET Framework 3.5 or VS 2008 setup and hopefully resolve this error.
Note that return code 1 from a Windows Vista hotfix package means that the package is not applicable on the system. However, this StoreDirty registry value is not the only possible cause of this error for .NET Framework 2.0 and 3.0 hotfixes. The same error can appear in the setup logs if you previously had the beta 1 version or some pre-beta 2 CTP version of the .NET Framework 3.5 installed on your Windows Vista system and the old beta was not uninstalled prior to installing beta 2. If the above workaround does not help, you can try the following to remove any pre-beta 2 versions of the .NET Framework 2.0 and 3.0 update packages for Windows Vista:
- Go to the Programs and Feature control panel
- Click the link at the top left labeled View installed updates
- Locate any updates named Hotfix for Microsoft Windows (KB110806), Hotfix for Microsoft Windows (KB929300) and Hotfix for Microsoft Windows (KB930264), right-click on them and choose Uninstall if they are present on your system
- Reboot and try to install the .NET Framework 3.5 beta 2 again
Comments
Anonymous
August 24, 2007
PingBack from http://msdnrss.thecoderblogs.com/2007/08/24/possible-causes-of-windows-vista-hotfix-install-failures/Anonymous
August 24, 2007
PingBack from http://www.universityupdate.com/Technology/Microsoft-dotNet/4780519.aspxAnonymous
August 24, 2007
PingBack from http://www.universityupdate.com/Technology/Microsoft_Windows/4781079.aspxAnonymous
October 19, 2007
PingBack from http://mdavey.wordpress.com/2007/10/19/back-to-vs-2008-beta-2-silverlight-and-more/Anonymous
November 22, 2007
The comment has been removedAnonymous
November 26, 2007
Hi Laughing.John - I'm not sure how to explain why the beta version of KB929300 will not uninstall correctly on your system. The log file c:windowslogscbscbs.log might have more detailed information about the cause of this failure. I can try to take a look if you'd like to send it to me at Aaron.Stebner (at) microsoft (dot) com. It might also help to try to reinstall the beta of the .NET Framework 3.5 in order to reinstall that beta version of KB929300 and then try again to uninstall it. If that doesn't help, I'm afraid you may have to try to repair/re-install your OS to resolve this issue.Anonymous
December 21, 2007
PingBack from http://varely.wordpress.com/2007/12/21/be-careful-when-installing-visual-studio-2008-rtm-on-your-vista/Anonymous
September 17, 2008
こんにちは! 少しの間落ち着いた天気が続いていたかと思いきや、今日は台風 13 号の接近に伴って、夜は激しい雨が降るところが多いようです。 皆さん、くれぐれも気をつけてくださいね! さて、今回は久々にまたAnonymous
May 26, 2010
I keep getting error code 80070645 when installing an Microsoft .NET Framework 3.5 Family Update (KB959209) x86 Download size: 1.4 MB You may need to restart your computer for this update to take effect. Update type: Important This update is applicable to Windows Vista Service Pack 2 and Windows Server 2008 Service Pack 2. The Microsoft .NET Framework 3.5 Family Update provides compatibility roll-up updates for customer reported issues found after the release of Microsoft .NET Framework 3.5 SP1. This update is provided to you and licensed under the Windows Vista and Windows Server 2008 License Terms. More information: go.microsoft.com/fwlink Help and Support: http://support.microsoft.com Can someone please help me and tell me if this is a crucial update that I need and why it won't install.Anonymous
June 07, 2010
Hi Grams - Can you please use the tool described at blogs.msdn.com/.../6458047.aspx to gather all of your .NET Framework setup log files, upload the file named %temp%vslogs.cab that is produced by that tool to a file server (such as http://skydrive.live.com), then reply here with a link I can use to download the log files so I can take a further look?Anonymous
June 19, 2010
The comment has been removedAnonymous
June 20, 2010
Hi Frank - I'd suggest trying the steps listed at the end of the blog post at blogs.msdn.com/.../9303167.aspx and/or the steps listed at www.raymond.cc/.../fix-blank-or-empty-list-in-vista-turn-windows-features-on-or-off-optionalfeaturesexe to see if they help in this scenario.