none
.NET 4.0 will not install on Windows 7

    Question

  • I am trying to install VS 2010 on Windows 7 Ultimate, and install fails trying to install .Net 4.0. So I tried to install 4.0 with its own installer and am stopped by the same error condition: Installation did not succeed.' the component store has been corrupted'.

    I applied the update: System Update Readiness Tool for Windows 7 for x64-based Systems (KB947821) [April 2010], however this made no change

    I cannot find a  way to proceed.

    Log:

    S Version = 6.1.7600, Platform 2
    [5/10/2010, 17:4:8]OS Description = Windows 7 - x64 Ultimate Edition
    [5/10/2010, 17:4:8] OS Version Information
    [5/10/2010, 17:4:8]CommandLine = D:\f583c1173f7807a95ba8c46c66b3\\Setup.exe /x86 /x64
    [5/10/2010, 17:4:8]TimeZone = Pacific Daylight Time
    [5/10/2010, 17:4:9]Initial LCID = 1033
    [5/10/2010, 17:4:9] Environment details

     

    [5/10/2010, 17:4:9]Loading localized engine data for language 1033 from D:\f583c1173f7807a95ba8c46c66b3\1033\LocalizedData.xml
    ... 17:6:0]Final Result: Installation failed with error code: (0x00003712), "The component store has been corrupted. " (Elapsed time: 0 00:01:47).
    Steve Goldband
    Tuesday, May 11, 2010 12:13 AM

Answers

  • Hi Steve,

    Thank you for your email.

    In the log file (Microsoft .NET Framework 4 Setup_20100511_105314292.html), I found the following error:

    Action: Performing Action on Exe at D:\4f25cb26ba2570d98ba7a36ef96f1077\Windows6.1-KB958488-v6001-x64.msu...

    [5/11/2010, 10:53:33]Launching CreateProcess with command line = wusa.exe "D:\4f25cb26ba2570d98ba7a36ef96f1077\Windows6.1-KB958488-v6001-x64.msu" /quiet /norestart
    [5/11/2010, 10:54:22]Exe log file(s) :
    [5/11/2010, 10:54:22]C:\Windows\logs\cbs\CBS.log
    [5/11/2010, 10:54:22]Log File C:\Windows\logs\cbs\CBS.log exists and will be added to the Watson upload list
    [5/11/2010, 10:54:22]Exe (D:\4f25cb26ba2570d98ba7a36ef96f1077\Windows6.1-KB958488-v6001-x64.msu) failed with 0x3712 - The component store has been corrupted. .
    [5/11/2010, 10:54:22]Exe Log File: CBS.log
    [5/11/2010, 10:54:22]PerformOperation on exe returned exit code 14098 (translates to HRESULT = 0x3712)

    The error occurred when the installer tried to update Windows6.1-KB958488-v6001-x64.msu.

    According to the log, I also checked CBS.log and got the following:

    2010-05-11 10:54:17, Error                 CSI    00000012@2010/5/11:17:54:17.582 (F) d:\w7rtm\base\wcp\componentstore\storelayout.cpp(11690): Store corruption detected in function ComponentStore::CRawStoreLayout::CheckFamilyIndexForDeadWinnerComponent expression: (null)
      MissingWinningComponentKey on resource [77]"amd64_netfx-mscoree_dll_31bf3856ad364e35_6.1.7600.16385_none_1154edcc6fdaaeab"[gle=0x80004005]
    2010-05-11 10:54:18, Error                 CSI    00000013 (F) STATUS_SXS_COMPONENT_STORE_CORRUPT #24074# from CCSDirectTransaction::OperateEnding at index 8 of 13 (0x000000000000000d) operations, disposition 0[gle=0xd015001a]
    2010-05-11 10:54:18, Error                 CSI    00000014 (F) HRESULT_FROM_WIN32(14098) #21673# from Windows::ServicingAPI::CCSITransaction::ICSITransaction2_AddComponents(Flags = 4, a = @0x21c5920, mp = @0x21c6120, disp = 0)[gle=0x80073712]
    2010-05-11 10:54:18, Info                  CBS    Failed to add one or more component [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]
    2010-05-11 10:54:18, Error                 CBS    Failed to complete component closure [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]
    2010-05-11 10:54:18, Info                  CSI    00000015@2010/5/11:17:54:18.183 CSI Transaction @0x1955020 destroyed
    2010-05-11 10:54:18, Info                  CBS    Perf: Resolve chain complete.
    2010-05-11 10:54:18, Info                  CBS    Failed to resolve execution chain. [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]
    2010-05-11 10:54:18, Error                 CBS    Failed to process single phase execution. [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]

    HRESULT "0x80073712" means "The component store has been corrupted".

    For the error of "Store corruption", it is related to OS itself.

    Moreover, in your email, you also mentioned that you cannot remove or add .NET Framework 3.5.1 feature via Control Panel.

    Thus, we might need to do some reparation work of your OS.

    Firstly, I would suggest you to upgrade your Windows 7 to be "patched" up with the latest "fixes".

    Secondly, on Windows 7, for such a HRESULT error, you could try the following KB to repair your OS like Windows Update.
    Please check:
    http://support.microsoft.com/kb/947821
    http://support.microsoft.com/kb/957310/en-us
    http://support.microsoft.com/kb/931712/en-us

    If the above suggestions don't work, you might be required a machine to be restored or an in-place upgrade to be performed to recover the component store.
    For one quicker way to repair OS or restore the OS configuration to an earlier point.
    Here is a KB about this, please see: http://support.microsoft.com/kb/936212/

    Hope this helps! If you have any concern, please feel free to let me know.

    Best regards,
    Yichun Chen
    MSDN Subscriber Support in Forum
    If you have any feedback on our support, please contact msdnmg@microsoft.com


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    • Marked as answer by goldband Thursday, May 13, 2010 4:16 AM
    • Edited by YiChun Chen Friday, May 14, 2010 3:54 AM typo
    Wednesday, May 12, 2010 4:50 AM

All replies

  • Hi Steve,

    Based on your description, it seems that you have concern on installing .NET Framework 4.0 on Windows 7 during VS2010 installation.

    Could you please help me to try the following steps one by one to install .NET Framework 4.0 separately?

    - Download  .NET Framework 4.0 Standalone installer
      Note: You can try some download manager software to help downloading.
    - Run the installer to install .NET 4.0 with Administrator Privilege
      Note: Right-click the installer >> "Run as Administrator"

    If the problem still exists, could you please follow the following steps to collect the log files?

    - Try to clean your "%temp%" folder (Start Menu >> Run >> Type "%temp%")
    - Install .NET Framework 4.0
      (The installer must be run with administrator privileges)
    - Collect the logs from "%temp%" folder
       Collect tool: http://www.microsoft.com/downloads/details.aspx?FamilyID=e0da314f-6216-4a18-bc6b-7d29cf83af20&displaylang=en
    - Send vslogs.cab file to me (v-yicche@microsoft.com)
      Note: Please attach the link of this post in the mail.

    Hope this helps! If you have any concern, please feel free to let me know.

    Best regards,
    Yichun Chen
    MSDN Subscriber Support in Forum
    If you have any feedback on our support, please contact msdnmg@microsoft.com


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.

    • Edited by YiChun Chen Wednesday, May 12, 2010 3:39 AM typo
    Tuesday, May 11, 2010 7:37 AM
  • Hi Steve,

    Thank you for your email.

    In the log file (Microsoft .NET Framework 4 Setup_20100511_105314292.html), I found the following error:

    Action: Performing Action on Exe at D:\4f25cb26ba2570d98ba7a36ef96f1077\Windows6.1-KB958488-v6001-x64.msu...

    [5/11/2010, 10:53:33]Launching CreateProcess with command line = wusa.exe "D:\4f25cb26ba2570d98ba7a36ef96f1077\Windows6.1-KB958488-v6001-x64.msu" /quiet /norestart
    [5/11/2010, 10:54:22]Exe log file(s) :
    [5/11/2010, 10:54:22]C:\Windows\logs\cbs\CBS.log
    [5/11/2010, 10:54:22]Log File C:\Windows\logs\cbs\CBS.log exists and will be added to the Watson upload list
    [5/11/2010, 10:54:22]Exe (D:\4f25cb26ba2570d98ba7a36ef96f1077\Windows6.1-KB958488-v6001-x64.msu) failed with 0x3712 - The component store has been corrupted. .
    [5/11/2010, 10:54:22]Exe Log File: CBS.log
    [5/11/2010, 10:54:22]PerformOperation on exe returned exit code 14098 (translates to HRESULT = 0x3712)

    The error occurred when the installer tried to update Windows6.1-KB958488-v6001-x64.msu.

    According to the log, I also checked CBS.log and got the following:

    2010-05-11 10:54:17, Error                 CSI    00000012@2010/5/11:17:54:17.582 (F) d:\w7rtm\base\wcp\componentstore\storelayout.cpp(11690): Store corruption detected in function ComponentStore::CRawStoreLayout::CheckFamilyIndexForDeadWinnerComponent expression: (null)
      MissingWinningComponentKey on resource [77]"amd64_netfx-mscoree_dll_31bf3856ad364e35_6.1.7600.16385_none_1154edcc6fdaaeab"[gle=0x80004005]
    2010-05-11 10:54:18, Error                 CSI    00000013 (F) STATUS_SXS_COMPONENT_STORE_CORRUPT #24074# from CCSDirectTransaction::OperateEnding at index 8 of 13 (0x000000000000000d) operations, disposition 0[gle=0xd015001a]
    2010-05-11 10:54:18, Error                 CSI    00000014 (F) HRESULT_FROM_WIN32(14098) #21673# from Windows::ServicingAPI::CCSITransaction::ICSITransaction2_AddComponents(Flags = 4, a = @0x21c5920, mp = @0x21c6120, disp = 0)[gle=0x80073712]
    2010-05-11 10:54:18, Info                  CBS    Failed to add one or more component [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]
    2010-05-11 10:54:18, Error                 CBS    Failed to complete component closure [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]
    2010-05-11 10:54:18, Info                  CSI    00000015@2010/5/11:17:54:18.183 CSI Transaction @0x1955020 destroyed
    2010-05-11 10:54:18, Info                  CBS    Perf: Resolve chain complete.
    2010-05-11 10:54:18, Info                  CBS    Failed to resolve execution chain. [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]
    2010-05-11 10:54:18, Error                 CBS    Failed to process single phase execution. [HRESULT = 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT]

    HRESULT "0x80073712" means "The component store has been corrupted".

    For the error of "Store corruption", it is related to OS itself.

    Moreover, in your email, you also mentioned that you cannot remove or add .NET Framework 3.5.1 feature via Control Panel.

    Thus, we might need to do some reparation work of your OS.

    Firstly, I would suggest you to upgrade your Windows 7 to be "patched" up with the latest "fixes".

    Secondly, on Windows 7, for such a HRESULT error, you could try the following KB to repair your OS like Windows Update.
    Please check:
    http://support.microsoft.com/kb/947821
    http://support.microsoft.com/kb/957310/en-us
    http://support.microsoft.com/kb/931712/en-us

    If the above suggestions don't work, you might be required a machine to be restored or an in-place upgrade to be performed to recover the component store.
    For one quicker way to repair OS or restore the OS configuration to an earlier point.
    Here is a KB about this, please see: http://support.microsoft.com/kb/936212/

    Hope this helps! If you have any concern, please feel free to let me know.

    Best regards,
    Yichun Chen
    MSDN Subscriber Support in Forum
    If you have any feedback on our support, please contact msdnmg@microsoft.com


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    • Marked as answer by goldband Thursday, May 13, 2010 4:16 AM
    • Edited by YiChun Chen Friday, May 14, 2010 3:54 AM typo
    Wednesday, May 12, 2010 4:50 AM
  • Hello YiChun

    I've also failed to install VS2010 and .Net 4.0 on my Windows 7 machine.

    I seem to be getting a different error where it tells me "Access is Denied", I'm running as an administrator.

    I've followed your directions above to create a log file of the ,.NET install could you please have a look at this one too.

    Thanks

    Robert

    Wednesday, May 12, 2010 2:35 PM
  • Hi Robert,

    Thank you for your post.

    Could you please open a new thread in the forum so that we can focus on your concern? Please paste the link of your new case. I will check it.

    Thank you for your help.

    Best regards,
    Yichun Chen
    MSDN Subscriber Support in Forum
    If you have any feedback on our support, please contact msdnmg@microsoft.com
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    Thursday, May 13, 2010 3:52 AM
  • I tried the more modest steps you suggested, but with no improvement. I the did a repair/install of Win7 from the original media, and I am good to go now.
    Steve Goldband
    Thursday, May 13, 2010 4:17 AM
  • Hi Steve,

    Thank you for your feedback.

    I'm so glad to hear this good news!

    Have a nice week.

    Best regards,
    Yichun Chen
    MSDN Subscriber Support in Forum
    If you have any feedback on our support, please contact msdnmg@microsoft.com
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    Thursday, May 13, 2010 4:26 AM
  • I Had the same problem and finally figured this out.

     

    After about 10 hours trying all different things. Looking at all different threads. I found a solution that I did not see anywhere and it worked!

    I went to "C:\Windows\Microsoft.NET" there is a directory called "Assembly".

    I looked in the directory and found some subdirectories with lots of old dot net 4 files. I renamed the directory Assembly2 and tried to install Dot Net 4 and it worked!!!!

    It seems that something was in the old "Assembly" directory.

    Does this help you?
    Tuesday, November 22, 2011 9:08 PM
  • Hi irarab,

    I got the same problem, I try your solution by renaming Assembly to Assembly2 in directory C:\Windows\Microsoft.NET, unfortunately there is no directory Assembly on it. I just found authman, DirectX for Managed Code and Framework directory. Could you help me?

    Thnk U,

    Best regard,

    emhuls

    Friday, May 11, 2012 7:03 AM
  • OH MY GOD!!!

    Thank you SO MUCH!

    I've been trying to get my .net to cooperate for a year now, and this was the fix!

    THANK YOU!

    Friday, June 29, 2012 10:47 AM