none
Installation did not succeed RRS feed

  • Question

  • Hello guys, I'm trying to install .net Framework 4 on my computer only to be met with this error.

    .NET Framework 4 has not installed because:

    HRESULT 0xc0000005

     

    Here's a transcript of where the error occurs.

     

    WU Service: EnsureWUServiceIsNotDisabled succeeded
    [3/22/2011, 22:8:35]Launching CreateProcess with command line = wusa.exe "C:\Users\X\AppData\Local\Temp\Microsoft .NET Framework 4 Setup_4.0.30319\Windows6.1-KB958488-v6001-x64.msu" /quiet /norestart
    [3/22/2011, 22:8:45]Exe (C:\Users\X\AppData\Local\Temp\Microsoft .NET Framework 4 Setup_4.0.30319\Windows6.1-KB958488-v6001-x64.msu) failed with 0xc0000005 - (null).
    [3/22/2011, 22:8:45]PerformOperation on exe returned exit code 3221225477 (translates to HRESULT = 0xc0000005)
    [3/22/2011, 22:8:45] Action complete
    [3/22/2011, 22:8:45]Error 0xc0000005 is mapped to Custom Error:
    [3/22/2011, 22:8:45]OnFailureBehavior for this item is to Rollback.
    [3/22/2011, 22:8:45] Action complete
    [3/22/2011, 22:8:45] Action complete
    [3/22/2011, 22:8:45]Final Result: Installation failed with error code: (0xC0000005) (Elapsed time: 0 00:00:18).
    [3/22/2011, 22:8:47]WM_ACTIVATEAPP: Focus stealer's windows WAS visible, NOT taking back focus
    [3/22/2011, 22:9:13]WM_ACTIVATEAPP: Focus stealer's windows WAS visible, NOT taking back focus
    [3/22/2011, 22:10:43]WM_ACTIVATEAPP: Focus stealer's windows WAS visible, NOT taking back focus
    [3/22/2011, 22:12:21]WM_ACTIVATEAPP: Focus stealer's windows WAS visible, NOT taking back focus
    [3/22/2011, 22:12:40]WM_ACTIVATEAPP: Focus stealer's windows WAS visible, NOT taking back focus

     

    Now I don't much about comptuers, so please be gentle, haha.

     

    Thank you for your time.

    Wednesday, March 23, 2011 2:15 AM

Answers

  • Hi Xcezz,

    Thanks for sending me the e-mail.

    I've checked the log files, seems like the installer failed to download and install the Windows6.1-KB958488-v6001-x64 via Windows Update: Windows6.1-KB958488-v6001-x64.msu. And this caused the installation failure.

    [3/28/2011, 1:2:14]WU Service was already enabled or was running
    [3/28/2011, 1:2:14]WU Service: EnsureWUServiceIsNotDisabled succeeded
    [3/28/2011, 1:2:14] Action: Performing Action on Exe at C:\Users\Ovidiu\AppData\Local\Temp\Microsoft .NET Framework 4 Setup_4.0.30319\Windows6.1-KB958488-v6001-x64.msu
    [3/28/2011, 1:2:14]Launching CreateProcess with command line = wusa.exe "C:\Users\Ovidiu\AppData\Local\Temp\Microsoft .NET Framework 4 Setup_4.0.30319\Windows6.1-KB958488-v6001-x64.msu" /quiet /norestart
    [3/28/2011, 1:2:22]Exe (C:\Users\Ovidiu\AppData\Local\Temp\Microsoft .NET Framework 4 Setup_4.0.30319\Windows6.1-KB958488-v6001-x64.msu) failed with 0xc0000005 - (null). 

    Therefore, you might need to repair the Windows Update service:
    Please try the steps in the article below:

    If above things don't help then follow below:

    1. Run cmd.exe with Administrator rights (right click on cmd.exe as admin) and type:
      sfc /scannow
    2. Run Readiness Tool: http://support.microsoft.com/kb/947821

    If still no avail, I would suggest you to try Windows Update forum. I believe that Windows Update experts might be helpful on your concern.

    I hope this will help to resolve your problem.

    Best Regards,


    Andrew Wu [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    • Marked as answer by Xcezz Monday, March 28, 2011 11:19 PM
    Monday, March 28, 2011 10:41 AM
    Moderator

All replies

  • Please tell us what version of Windows you have and what Service Packs are installed. For example, if you have Windows XP, SP3 must be installed. If you have Windows Vista, SP1, or better, must be installed.

    Did you use the web installer or the standalone installer?

    In general, you can clean up any remnants of the failed install with this tool:

    http://blogs.msdn.com/b/astebner/archive/2008/08/28/8904493.aspx

    Then, clean out your %temp% folder, and disable your AV and anti-malware apps.

    Try running the standalone installer as administrator:

    http://www.microsoft.com/downloads/en/details.aspx?FamilyID=0a391abd-25c1-4fc0-919f-b21f31ab88b7&displaylang=en

    Wednesday, March 23, 2011 1:47 PM
  • Oh sorry, of course. I have Windows 7. Ummm not sure about the service packs, where can I check that?

     

    Also I tried all the steps given in your previous post to no avail. Except the %temp% folder... I didn't touch that one, are you sure I should delete everything inside? Besides that, I ran the cleaning tool, disabled avast and ran the standalone installation as administrator. Same error as before.

     

    Let me know what other info you need me to supply you with.

     

    Thank you for your time.

    Wednesday, March 23, 2011 11:57 PM
  • With Win 7, installation of SP1 is not a prerequisite to .NET Framework 4.0 installation, but to see if you have it click on the Start Orb->Computer->System Properties.

    Yes, it is OK to clean out your %temp% folder. That step is recommended, as sometimes leftovers there can inhibit new installs.

    Before you go through all the steps again, I have a question. Why are trying to install .NET Framework 4.0? Are you trying to install software that needs it?

    Thursday, March 24, 2011 12:57 PM
  • Ok, I checked and it doesn't say SP1 anywhere. It just says Win7 Home Premium and then my computer specs.

     

    I also tried deleting everything in the %temp% folder and still no luck.

     

    Yes, I bought Sims:Medieval trough the EA store and during the installation, it also tried to install the framework 4.0, only to give me the mentioned error. The game finished installing even after that, but when I try to open it, it just goes to desktop and nothing happens.

     

    Any more ideas? Thanks.

    Friday, March 25, 2011 6:37 PM
  • Hi Xcezz,

    Would you please go to Control Panel -> Uninstall a program, and check whether there are the items beloe in the program list:

    If so, please firstly uninstall them. Then you can download and install the .NET Framework 4.0 standalone installer from the link in pvdg42's post.

    Before install .NET Framework, please finish the steps below first:

    o   Turn off your anti-virus/antispyware software during installation;

    o   Install the latest Windows updates from the Windows Update site: http://windowsupdate.microsoft.com;

    o   Complete or dismiss Windows Update before installation. (And don't forget to turn it on later)

    o   Clean your %temp% folder (Start Menu >> Run >> Type "%temp%);

     

    Then please run the setup with Administrator privilege: right-click the installer -> Run as administrator)

     

    I hope this helps.

     

    Best Regards, 


    Andrew Wu [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Saturday, March 26, 2011 6:30 AM
    Moderator
  • Well guys, now we've done it. I tried all the mentioned steps, yet again, with no succes but this time something changed. My sound stopped working. Yes, the speakers are plugged.

     

    EDIT: Ok managed to make the sound work again, phew. (The default was reset to something else instead of my sound card.)

    Sunday, March 27, 2011 3:28 AM
  • Hi Xcezz,

    Would you pelase follow the steps below and upload the installation log files? This will help to find the cause of this issue.

    ·         Try to clean your "%temp%" folder (Start Menu >> Run >> Type "%temp%).

    ·         Install .NET Framework again (with Administrator privilege).

    ·         Collect the logs from "%temp%" folder with the Log Collection Tool

    Collect tool: http://go.microsoft.com/?LinkId=8967044

    ·         You can find the vslogs.cab file in the %temp% folder.

    After get the vslogs.cab file, you can either:

    • Upload the file to some online public storage place and post the link here;
    • Send the vslogs.cab file to me (E-mail: v-anwu@microsoft.com).
      Note: Please attach the link of this post in the mail.

    Waiting to hear from you.


    Andrew Wu [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Monday, March 28, 2011 3:59 AM
    Moderator
  • Ok, e-mail sent. Hopefully this will clear some things out.

    Thanks!


    Monday, March 28, 2011 5:11 AM
  • Hi Xcezz,

    Thanks for sending me the e-mail.

    I've checked the log files, seems like the installer failed to download and install the Windows6.1-KB958488-v6001-x64 via Windows Update: Windows6.1-KB958488-v6001-x64.msu. And this caused the installation failure.

    [3/28/2011, 1:2:14]WU Service was already enabled or was running
    [3/28/2011, 1:2:14]WU Service: EnsureWUServiceIsNotDisabled succeeded
    [3/28/2011, 1:2:14] Action: Performing Action on Exe at C:\Users\Ovidiu\AppData\Local\Temp\Microsoft .NET Framework 4 Setup_4.0.30319\Windows6.1-KB958488-v6001-x64.msu
    [3/28/2011, 1:2:14]Launching CreateProcess with command line = wusa.exe "C:\Users\Ovidiu\AppData\Local\Temp\Microsoft .NET Framework 4 Setup_4.0.30319\Windows6.1-KB958488-v6001-x64.msu" /quiet /norestart
    [3/28/2011, 1:2:22]Exe (C:\Users\Ovidiu\AppData\Local\Temp\Microsoft .NET Framework 4 Setup_4.0.30319\Windows6.1-KB958488-v6001-x64.msu) failed with 0xc0000005 - (null). 

    Therefore, you might need to repair the Windows Update service:
    Please try the steps in the article below:

    If above things don't help then follow below:

    1. Run cmd.exe with Administrator rights (right click on cmd.exe as admin) and type:
      sfc /scannow
    2. Run Readiness Tool: http://support.microsoft.com/kb/947821

    If still no avail, I would suggest you to try Windows Update forum. I believe that Windows Update experts might be helpful on your concern.

    I hope this will help to resolve your problem.

    Best Regards,


    Andrew Wu [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    • Marked as answer by Xcezz Monday, March 28, 2011 11:19 PM
    Monday, March 28, 2011 10:41 AM
    Moderator
  • Ok, I guess it does make sense that it has something to do with windows update. Unfortunately, none of the new steps worked either but I'm planning on buying a new main drive and reinstall windows so I won't bother the people over at windows update.

    Thank you very much for the help guys.

    Monday, March 28, 2011 11:19 PM
  • When installing .NetFramwork v4 the install was hanging and not getting any further once the files had been extracted.  The error that was at the bottom of my log file was:

    "WM_ACTIVATEAPP: Focus stealer's windows WAS visible, NOT taking back focus"

    I resolved my issue by carrying out the following:

    1) Cleared the %temp% folder
    2) Ran the .net cleanup utility
    3) Disabled the Windows Update Service
    4) Rebooted
    5) Ran the full .Net Framework 4 installer again (as admin)
    6) Install completed successfully
    7) Restarted WU Service.

    I hope this fix may assist some of you that are having the same issue.

    Saturday, November 26, 2011 11:58 AM
  • guys im having a problem regarding installation of .net framework 4. 

    OS Version = 5.1.2600, Platform 2, Service Pack 3
    OS Description = WinXP - x86 Professional Service Pack 3
    CommandLine = C:\eab0e7ddbee92634844bc1\\Setup.exe /x86 /x64 /ia64 /web
    Using Simultaneous Download and Install mechanism
    Operation: Installing
    Package Name = Microsoft .NET Framework 4 Setup
    Package Version = 4.0.30319
    User Experience Data Collection Policy: UserControlled
    Number of applicable items: 7
    WinHttpDetectAutoProxyConfigUrl failed with error: 12180
    Unable to retrieve Proxy information although WinHttpGetIEProxyConfigForCurrentUser called succeeded
    WinHttpDetectAutoProxyConfigUrl failed with error: 12180
    Unable to retrieve Proxy information although WinHttpGetIEProxyConfigForCurrentUser called succeeded
    WinHttpDetectAutoProxyConfigUrl failed with error: 12180
    Unable to retrieve Proxy information although WinHttpGetIEProxyConfigForCurrentUser called succeeded
    WinHttpDetectAutoProxyConfigUrl failed with error: 12180
    Unable to retrieve Proxy information although WinHttpGetIEProxyConfigForCurrentUser called succeeded
    WinHttpDetectAutoProxyConfigUrl failed with error: 12180
    Unable to retrieve Proxy information although WinHttpGetIEProxyConfigForCurrentUser called succeeded
    WinHttpDetectAutoProxyConfigUrl failed with error: 12180
    Unable to retrieve Proxy information although WinHttpGetIEProxyConfigForCurrentUser called succeeded
    MSI (C:\DOCUME~1\WINDOW~1\LOCALS~1\Temp\Microsoft .NET Framework 4 Setup_4.0.30319\netfx_Core_x86.msi) Installation failed. Msi Log: Microsoft .NET Framework 4 Setup_20120218_172647578-MSI_netfx_Core_x86.msi.txt
    Exe (C:\eab0e7ddbee92634844bc1\SetupUtility.exe) succeeded.
    Exe Log File: dd_SetupUtility.txt
    MSI (C:\DOCUME~1\WINDOW~1\LOCALS~1\Temp\Microsoft .NET Framework 4 Setup_4.0.30319\netfx_Core_x86.msi) Installation failed. Msi Log: Microsoft .NET Framework 4 Setup_20120218_172647578-MSI_netfx_Core_x86.msi.txt
    Final Result: Installation failed with error code: (0x80070643), "Fatal error during installation. " (Elapsed time: 0 00:10:03).

    need some advises from all of you guys.

    please consider this. thanks a alot.

    Saturday, February 18, 2012 9:52 AM
  • The first thing you should do is start a new thread. Replying to an answered thread means that very few readers will even see your question.

    So, please start a new thread and include a link to your complete install logs as follows:

    Please collect your install logs with this:

    http://www.microsoft.com/downloads/details.aspx?FamilyID=E0DA314F-6216-4A18-BC6B-7D29CF83AF20&displaylang=e&displaylang=en

    After you run Collect.exe, you'll find vslogs.cab in your %temp% directory. Please upload vslogs.cab to a public site, like SkyDrive, and post the link here.

    Saturday, February 18, 2012 1:54 PM