none
Unable to install .Net Framework 4 on Windows 7 Ultimate 64-bit

    Question

  • Got it from http://www.microsoft.com/download/en/details.aspx?id=17718 

     

    Have 1.1 + SP1 installed, along with .NET 3.5 as it came with Windows. Might've screwed up my registry with regards to .NET, so tried uninstalling and reinstalling .Net 3.5 as a Windows 7 component. Seemed to do that. 

     

    Basic error log says:

     

    OS Version = 6.1.7601, Platform 2, Service Pack 1
    OS Description = Windows 7 - x64 Ultimate Edition Service Pack 1
    CommandLine = C:\e9e2ae73a0a9db5f29dd\\Setup.exe /x86 /x64
    TimeZone = Mountain Daylight Time
    Initial LCID = 1033
    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: AlwaysUploaded
    Number of applicable items: 11
    Exe (C:\e9e2ae73a0a9db5f29dd\SetupUtility.exe) succeeded.
    Exe Log File: dd_SetupUtility.txt
    ServiceControl operation succeeded!
    ServiceControl operation succeeded!
    Exe (C:\e9e2ae73a0a9db5f29dd\Windows6.1-KB958488-v6001-x64.msu) failed with 0x240006 - (null).
    Exe (C:\e9e2ae73a0a9db5f29dd\SetupUtility.exe) succeeded.
    Exe Log File: dd_SetupUtility.txt
    MSI (C:\e9e2ae73a0a9db5f29dd\netfx_Core_x64.msi) Installation failed. Msi Log: Microsoft .NET Framework 4 Setup_20111007_155633663-MSI_netfx_Core_x64.msi.txt
    Exe (C:\e9e2ae73a0a9db5f29dd\SetupUtility.exe) succeeded.
    Exe Log File: dd_SetupUtility.txt
    MSI (C:\e9e2ae73a0a9db5f29dd\netfx_Core_x64.msi) Installation failed. Msi Log: Microsoft .NET Framework 4 Setup_20111007_155633663-MSI_netfx_Core_x64.msi.txt
    Final Result: Installation failed with error code: (0x80070643), "Fatal error during installation. " (Elapsed time: 0 00:05:56).

    Friday, October 07, 2011 10:40 PM

Answers

All replies

  • First, regarding "Have 1.1 + SP1 installed, along with .NET 3.5 as it came with Windows. Might've screwed up my registry with regards to .NET, so tried uninstalling and reinstalling .Net 3.5 as a Windows 7 component. Seemed to do that"

    You cannot remove or reinstall .NET Framework 3.5 in Windows 7, as it is installed by the OS as an integral part of Windows. If you used some third party tool to try this, you may well have caused irrevocable harm and you may need to reinstall Win 7.

    From the portion of the logs you provided, I see:

    "Windows6.1-KB958488-v6001-x64.msu) failed with 0x240006"

    This is a fairly common problem that has many potential solutions. I suggest you read the answered threads here for suggestions:

    http://social.msdn.microsoft.com/Search/en-US?query=Windows6.1-KB958488-v6001-x64.msu)%20failed%20with%200x240006&beta=0&ac=8

    If you continue to have issues, please provide full logs as follows:

    Please collect your install logs 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. 


    • Edited by pvdg42MVP Saturday, October 08, 2011 1:31 PM
    Saturday, October 08, 2011 1:31 PM
  • I already tried several of those options -- I'll look through for more. I will try some more. As for removing it. I didn't use a third-party utility. I used the "Windows Components" option under Uninstall/Modify programs. It had me restart and did something before booting back up. May have misinterpreted just what, if anything, that actually accomplished.
    • Edited by Nezumi-chan Saturday, October 08, 2011 4:05 PM
    Saturday, October 08, 2011 4:04 PM
  • In that case, please follow these steps to help us get a clear picture of what is going wrong:

    Try this tool to *completely* remove anything left from .NET Framework 4.0 failed installs:

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

    Then, download a fresh copy of the full .NET Framework 4.0 installer:

    http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=17718

    Before you run the installer, clean out your %temp% directory and disable all AV/anti-malware/fireswall software.

    Run the installer As Administrator.

    If it fails, please share your install logs as follows:

    Please collect your install logs 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, October 08, 2011 4:17 PM
  • It is entirely possible that I may have corrupted my Windows install tinkering with the registry. The problem being that I can no longer find my install discs. I could order replacements, but that would take a while.

     

    Also, forgot some relevant information: I once had a working .NET 4 install. While I was trying to fix an issue with ATI/AMD Vision Engine Control Center, I removed them with WICU -- since I wasn't 100% certain of the nature of the problem, and .NET is related to that program. Then everything went to hell. .NET 4 was in a weird state where I wasn't sure it was working, and if it wasn't, I couldn't properly uninstall, repair, or reinstall. After taking someone's questionable advice (they said to remove .NET From the registry, but didn't say where, so I just removed every reference to it it would let me -- it was a foolish move and I should have backed up the registry first, but I was desperate), I found the clean-up tool and removed the previous install entirely... and then I couldn't reinstall, with the above error message.

     

    I also didn't follow one step in one solution properly. I uninstalled the hotfix it was having trouble installing as part of .NET... then reinstalled it.  Going to uninstall it again and try that way. And... it did nothing. Going to try running the cleaner again and installing with a fresh installer.

    That failed, so here's the logs again: https://skydrive.live.com/redir.aspx?cid=932be3ca3fa877ae&resid=932BE3CA3FA877AE!113

    • Edited by Nezumi-chan Saturday, October 08, 2011 6:37 PM
    Saturday, October 08, 2011 6:07 PM
  • Your latest logs say this:

    "Could not open key: UNKNOWN\Components\B516071D830A04D4EAAF31B1BC43AC8F\DFC90B5F2B0FFA63D84FD16F6BF37C4B. Verify that you have sufficient access to that key, or contact your support personnel"

    Assuming that you did run the installer from an account with full administrative priveleges, I suggest you try the solution offered in YiChun Chen's answer in this thread:

    http://social.msdn.microsoft.com/Forums/en/netfxsetup/thread/c31bbb97-1e18-4765-8cce-2ac6368145c1

    Sunday, October 09, 2011 2:17 PM
  • I ran SubInACL on my Registry (it failed on a number of keys and crashed when I tried doing directories), and it still didn't work. Will be uploading and sending latest installer logs and SubInACL logs.

     

    EDIT: Having problem with SubInACL log, since it's about 2 Gigs and too big for Sky Drive. Any suggestions? Is it really necessary? I just thought it might be handy to see where SubInACL went wrong.

    Either way, here's the installer log: https://skydrive.live.com/#!/?cid=932be3ca3fa877ae&sc=documents&uc=1&id=932BE3CA3FA877AE%21113
    • Edited by Nezumi-chan Sunday, October 09, 2011 6:48 PM
    Sunday, October 09, 2011 6:23 PM
  • Hi Nezumi-chan,

     

    Welcome to the MSDN forum.

     

    First of all, you mentioned you have used Windows Installer Cleanup Utility. In fact, this tool we will never recommend you use. While the Windows Installer Cleanup utility resolved some installation problems, it sometimes damaged other components installed on the computer. Because of this, the tool has been removed from the Microsoft Download Center. For more information, you can refer to this page: http://support.microsoft.com/kb/290301

    It seems like this utility has damaged some files on your computer.

     

    Second, modifying the registry is not a good choice. The registry is so complex that it hard to predict what will happen after some wrong modification. Do you have do a copy before you modified anything?

     

    Third, from your log:

    [10/9/2011, 12:36:48] Returning IDOK. INSTALLMESSAGE_ERROR [Could not open key: UNKNOWN\Components\4162A2548A3A8C8448599F380822B334\DFC90B5F2B0FFA63D84FD16F6BF37C4B. Verify that you have sufficient access to that key, or contact your support personnel.]

    I recommend you find this key in your registry. To do so: Start>>Type “regedit”>>File>>Export…>>Type a file name and select “All” in Export range>>Save>>Edit>>Find…>>Copy the key name “UNKNOWN\Components\4162A2548A3A8C8448599F380822B334\DFC90B5F2B0FFA63D84FD16F6BF37C4B”>>After you find the key, right click the key>>Choose “Permissions…”>>Enable all permissions of your account.

     

    If you still fail to install .NET Framework 4 after you get the full permissions, you can collect a fresh log and upload it.

     

    If you have any other concerns, please feel free to let me know.

     

    Best Regards,


    Alexander Sun [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, October 10, 2011 9:14 AM
  • I can't find that key. As I feared, it no longer seems to exist. I tried loading some earlier registries I had lying around, but apparently none of them were old enough, or sufficiently matched my current configuration, or whatever else. and I can't get Windows Search in Windows 7 to not over-apply automatic wildcards to the point that I could get anything useful by searching for ".reg" amidst the mass of false positives. I fear I will have to locate or replace my missing Windows 7 Ultimate Install disc, unless I can use Windows Home Professional for what I need to do -- which optimistically may be using some of the heavier repair tools at my disposal if I have the disc, and less optimistically a reinstall of some description. Best prepare things so I don't have to lose all my settings and start menu shortcuts and such.

     

    Note to self that shouldn't really be necessary: No matter how desperate you are, don't listen to the advice of friends that tell you to edit the registry without actually telling you which keys you'll need to alter or remove.


    I've worked with computers in general and Windows in particular long enough to know that.

     

    I got the advice to use the WICU from the ATI/AMD forums. They didn't elaborate on what it did or how to use it beyond "Remove anything related to ATI/AMD", so I didn't fully understand what it did or just how damaging it could be until it was too late. The way they positioned it, it sounded like a heavy-duty uninstaller. In which case, utterly removing an element that can sometimes interact troublesomely with the program I was having issues with and doing a clean reinstall to make sure the files were in order seemed a sensible course of action. Instead, it turned out to be a program of an altogether different sort. The sort where the usage instructions are "Do not use this unless you are absolutely certain you need to perform this process on what you are choosing to perform it all, or leave only death and ashes in your wake. Do not heed this warning, and when future generations ask 'Was there ever a functional install of Windows here?' their wise men and historians will shake their heads and say 'No.'" Which seems like the sort of thing they should mention before recommending the program, but hey, I'm just the person who managed to ruin my Windows install because they didn't.




    • Edited by Nezumi-chan Monday, October 10, 2011 1:00 PM
    Monday, October 10, 2011 12:47 PM
  • Hi Nezumi-chan,

     

    Do not be sad. I will help you to reduce the loss of reinstalling OS.

     

    I have find some articles about back up:

    http://windows.microsoft.com/en-us/windows7/Back-up-and-restore-frequently-asked-questions

    http://windows.microsoft.com/en-us/windows7/Restore-your-computer-from-a-system-image-backup

    http://windows.microsoft.com/en-us/windows7/What-are-the-system-recovery-options-in-Windows-7

     

    This article about backing up current data, drivers and settings: http://www.optimizingpc.com/install/backupdata.html

     

    There are some related pages:

    http://www.techspot.com/guides/183-app-backup-checklist/

    http://ask-leo.com/what_should_i_back_up_before_reformatting.html

     

    If you have any other concerns, please feel free to let me know.

     

    Best Regards,


    Alexander Sun [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 Alexander Sun Tuesday, October 18, 2011 3:40 AM
    Wednesday, October 12, 2011 10:30 AM
  • Slight problem: Windows Easy Transfer is crashing as soon as I start it. I suppose I'll just have to manually make a copy my Users folder and readd it to the Windows Install. May also need to reinstall some things, as I can't risk importing errors from this registry into the new install. Ah, well. Could be worse.

     

    Friday, October 14, 2011 6:10 PM