none
Windows 7 x64. installation .NET Framework 4.0 failure RRS feed

  • Question

  • I have been unsuccessful in installing .net 4.0 on my Windows 7 64-bit system since Feb. 2011. I have tried most of the suggestions listed on the forum to no avail. IS there anyone who can help? tksss all

     

    here is log file:

    OS Version = 6.1.7601, SP = 1.0, Platform 2, Service Pack 1
    OS Description = Windows 7 - x64 Ultimate Edition Service Pack 1
     
    MSI = 5.0.7601.17514
    Windows version = amd64_windowsfoundation_31bf3856ad364e35_6.1.7601.17514_none_615fdfe2a739474c.manifest
    Windows servicing = 6.1.7601.17592
     
    CommandLine = D:\ca61f60313fed67dd263c9\\Setup.exe /x86 /x64 /web
        
    Using Simultaneous Download and Install mechanism
    Operation: Installing
     
    Package Name = Microsoft .NET Framework 4.5 Developer Preview Setup
    Package Version = 4.5.40805
     
    User Experience Data Collection Policy: Disabled
    Number of applicable items: 11
    Exe (D:\ca61f60313fed67dd263c9\SetupUtility.exe) succeeded.
    Exe Log File: dd_SetupUtility.txt
    ServiceControl operation succeeded!
    ServiceControl operation succeeded!
    Exe (D:\ca61f60313fed67dd263c9\SetupUtility.exe) succeeded.
    Exe Log File: dd_SetupUtility.txt
    MSI (C:\Users\Boy\AppData\Local\Temp\Microsoft .NET Framework 4.5 Developer Preview Setup_4.5.40805\netfx_Core_x64.msi) Installation failed. Msi Log: Microsoft .NET Framework 4.5 Developer Preview Setup_20111125_132324327-MSI_netfx_Core_x64.msi.txt
     
    Exe (D:\ca61f60313fed67dd263c9\SetupUtility.exe) succeeded.
    Exe Log File: dd_SetupUtility.txt
    MSI (C:\Users\Boy\AppData\Local\Temp\Microsoft .NET Framework 4.5 Developer Preview Setup_4.5.40805\netfx_Core_x64.msi) Installation failed. Msi Log: Microsoft .NET Framework 4.5 Developer Preview Setup_20111125_132324327-MSI_netfx_Core_x64.msi.txt
     
     Final Result: Installation failed with error code: (0x80070643), "Fatal error during installation. " (Elapsed time: 0 00:03:43).

     

    and here is 4.0, log file:

     

    OS Version = 6.1.7601, Platform 2, Service Pack 1
    OS Description = Windows 7 - x64 Ultimate Edition Service Pack 1
     
    CommandLine = D:\661c7fa86e2bb60161e258d6460bc5\\Setup.exe /x86 /x64
        
    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: Disabled
     
    Number of applicable items: 11
                                    
    Exe (D:\661c7fa86e2bb60161e258d6460bc5\SetupUtility.exe) succeeded.
    Exe Log File: dd_SetupUtility.txt
    ServiceControl operation succeeded!
    ServiceControl operation succeeded!
    Exe (D:\661c7fa86e2bb60161e258d6460bc5\Windows6.1-KB958488-v6001-x64.msu) failed with 0x240006 - (null).
    Exe Log File: CBS.log
    Exe (D:\661c7fa86e2bb60161e258d6460bc5\SetupUtility.exe) succeeded.
    Exe Log File: dd_SetupUtility.txt
    MSI (D:\661c7fa86e2bb60161e258d6460bc5\netfx_Core_x64.msi) Installation failed. Msi Log: Microsoft .NET Framework 4 Setup_20111125_134808369-MSI_netfx_Core_x64.msi.txt
    Exe (D:\661c7fa86e2bb60161e258d6460bc5\SetupUtility.exe) succeeded.
    Exe Log File: dd_SetupUtility.txt
    MSI (D:\661c7fa86e2bb60161e258d6460bc5\netfx_Core_x64.msi) Installation failed. Msi Log: Microsoft .NET Framework 4 Setup_20111125_134808369-MSI_netfx_Core_x64.msi.txt
     Final Result: Installation failed with error code: (0x80070643), "Fatal error during installation. " (Elapsed time: 0 00:01:11).

     

     



    • Edited by KenJi_114 Friday, November 25, 2011 6:48 AM
    Friday, November 25, 2011 6:29 AM

Answers

  • This is why installing test software on a production system is NEVER recommended.

    As your install logs show multiple attempts to install both .NET Framework 4.0 and the pre-beta .NET Framework 4.5 (which is an extension to 4.0 and modifies/replaces 4.0 pieces), you now appear to be in a situation where your Windows Installer is hung and "thinks" there is an unfinished install in progress.

    If you tried all the suggested fixes offered in the links I provided, and none of them worked, you can try these steps to clean up:

    Try this tool to find and remove any .NET Framework 4.0/4.5 pieces that could be on your system:

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

    DO NOT remove anything from framework versions other than 4.0/4.5.

    You can download the standalone installer for . NET Framework 4.0 here:

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

    Before running the installer, complete the following steps:

    1. Clear out your %temp% directory. This is the Temp folder associated with the logged on user. To find it, click the Win 7 Start Orb, then type %temp% in the search box. The search results will show the Temp folder you want. Click the Temp folder to open it in Windows Explorer, then delete all contents.

    2. Disable your AV software.

    3. Run the installer As Administrator.

    If the install fails, it's time to repair/reinstall your OS. For help with that process, ask here:

    http://answers.microsoft.com/en-us/windows/forum/windows_7

    • Proposed as answer by Alexander Sun Monday, November 28, 2011 6:03 AM
    • Unproposed as answer by Alexander Sun Monday, November 28, 2011 6:08 AM
    • Proposed as answer by Alexander Sun Monday, November 28, 2011 6:09 AM
    • Marked as answer by KenJi_114 Wednesday, November 30, 2011 4:51 AM
    Saturday, November 26, 2011 1:54 PM
  • Try my solution before you reinstall your OS.

     

    Error installing .NET 4.0 Framework on Windows 7 Ultimate x64


    • Edited by irarab Sunday, November 27, 2011 1:31 PM
    • Proposed as answer by irarab Sunday, November 27, 2011 1:32 PM
    • Marked as answer by KenJi_114 Wednesday, November 30, 2011 4:51 AM
    Sunday, November 27, 2011 1:28 PM
  • thanks all, i try but not work!

    maybe i restall windows

    • Marked as answer by Alexander Sun Tuesday, November 29, 2011 7:42 AM
    Monday, November 28, 2011 5:11 AM
  • Hi KenJi_114,

     

    Welcome to the MSDN forum.

     

    From your .NET Framework 4.5 logs:

    [11/25/2011, 13:40:55] Returning IDOK. INSTALLMESSAGE_ERROR [Could not write value Version to key \SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client. Verify that you have sufficient access to that key, or contact your support personnel.]

    MSI (s) (2C:C0) [13:40:55:530]: Product: Microsoft .NET Framework 4.5 Client Profile Developer Preview -- Error 1406. Could not write value Version to key \SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client.  System error .  Verify that you have sufficient access to that key, or contact your support personnel.

    Error 1406. Could not write value Version to key \SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client.  System error .  Verify that you have sufficient access to that key, or contact your support personnel.

    From your .NET Framework 4 logs:

    [11/25/2011, 14:27:13] Returning IDOK. INSTALLMESSAGE_ERROR [Could not write value Version to key \SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client. Verify that you have sufficient access to that key, or contact your support personnel.]

    MSI (s) (DC:0C) [14:27:14:109]: Product: Microsoft .NET Framework 4 Client Profile -- Error 1406. Could not write value Version to key \SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client.  System error .  Verify that you have sufficient access to that key, or contact your support personnel.

    Error 1406. Could not write value Version to key \SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client.  System error .  Verify that you have sufficient access to that key, or contact your support personnel.

    Based on your error messages, it seems like all the installation failed to write a value to a specific registry key.

     

    First, please try MVP’s suggestion that ensure all the AV software and protection software are disabled during the installation.

     

    Second, also as MVP has put it, please run installer as administrator. To do so: Right click>>Run as administrator.

     

    Third, please do this: Start>>Run>>Type “regedit”>>Click “Yes”>>Navigate to this key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4”>>File>>Export…>>Set Export range as All>>Type a file name>>Save>>Right click “v4”>>Delete. Then try the installation again.

    NOTE: Please do the backup as I mentioned before any modification.

     

    If the installation still fails after these steps, I recommend you collect fresh logs via this tool: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=12493

     

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

     

    Best Regards,


    Alexander Sun [MSFT]
    MSDN Community Support | Feedback to us
    • Proposed as answer by Alexander Sun Tuesday, November 29, 2011 7:42 AM
    • Unproposed as answer by KenJi_114 Wednesday, November 30, 2011 4:51 AM
    • Marked as answer by KenJi_114 Wednesday, November 30, 2011 4:51 AM
    Monday, November 28, 2011 6:32 AM

All replies

  • Do you have Developer Preview software on your system?

    If so, it installed .NET Framework 4.5 (pre-beta) as an extension of .NET Framework 4.0, and that probably blocks any attempt to install/reinstall 4.0.

    If I've interpreted your situation correctly, you should REMOVE all developer preview software from your system before attempting any further .NET Framework 4.0 installations.

    If I am incorrect, and you DO NOT have any developer preview software installed, we need to see your complete install logs for analysis.

    Provide 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.

    • Marked as answer by KenJi_114 Friday, November 25, 2011 11:26 PM
    • Unmarked as answer by KenJi_114 Saturday, November 26, 2011 5:43 AM
    Friday, November 25, 2011 2:01 PM
  • thank you! SkyDrive here:
    • Edited by KenJi_114 Friday, November 25, 2011 3:20 PM
    Friday, November 25, 2011 3:20 PM
  • Your latest attempt to install .NET Framework 4.0 ended with this"

    "Installation Blockers:

    1. Setup cannot continue because a previous installation requires your computer to be restarted. Please restart your computer and rerun Setup."

    Read Larcolais Gong's suggestions here:

    http://social.msdn.microsoft.com/Forums/en-US/netfxsetup/thread/680a70f4-4b5f-4d75-a051-5f854ef25d81

     

    Additional suggestions:

    http://social.msdn.microsoft.com/Forums/en/netfxsetup/thread/ee5f09ab-49e6-4eb8-9ffd-e6c413153ba2

    http://social.msdn.microsoft.com/Forums/en-US/netfxsetup/thread/d833aea1-8193-4825-b856-83130a824f10

    And, ONE MORE time: Your logs indicate that your have installed Developer Preview software on your system, including .NET Framework 4.5 which is a pre-beta extension to .NET Framework 4.0.

    Until you completely remove all the pre-beta software, you are unlikely to be able to install .NET Frmaework 4.0.

    • Marked as answer by KenJi_114 Friday, November 25, 2011 11:26 PM
    • Unmarked as answer by KenJi_114 Friday, November 25, 2011 11:28 PM
    • Marked as answer by KenJi_114 Friday, November 25, 2011 11:29 PM
    • Unmarked as answer by KenJi_114 Saturday, November 26, 2011 5:43 AM
    Friday, November 25, 2011 9:47 PM
  • i try! but it not work.

    install 50% rollback

    me is not found   .NET Framework 4.0 in   Add/Remove Program
    • Edited by KenJi_114 Friday, November 25, 2011 11:31 PM
    Friday, November 25, 2011 11:29 PM
  • This is why installing test software on a production system is NEVER recommended.

    As your install logs show multiple attempts to install both .NET Framework 4.0 and the pre-beta .NET Framework 4.5 (which is an extension to 4.0 and modifies/replaces 4.0 pieces), you now appear to be in a situation where your Windows Installer is hung and "thinks" there is an unfinished install in progress.

    If you tried all the suggested fixes offered in the links I provided, and none of them worked, you can try these steps to clean up:

    Try this tool to find and remove any .NET Framework 4.0/4.5 pieces that could be on your system:

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

    DO NOT remove anything from framework versions other than 4.0/4.5.

    You can download the standalone installer for . NET Framework 4.0 here:

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

    Before running the installer, complete the following steps:

    1. Clear out your %temp% directory. This is the Temp folder associated with the logged on user. To find it, click the Win 7 Start Orb, then type %temp% in the search box. The search results will show the Temp folder you want. Click the Temp folder to open it in Windows Explorer, then delete all contents.

    2. Disable your AV software.

    3. Run the installer As Administrator.

    If the install fails, it's time to repair/reinstall your OS. For help with that process, ask here:

    http://answers.microsoft.com/en-us/windows/forum/windows_7

    • Proposed as answer by Alexander Sun Monday, November 28, 2011 6:03 AM
    • Unproposed as answer by Alexander Sun Monday, November 28, 2011 6:08 AM
    • Proposed as answer by Alexander Sun Monday, November 28, 2011 6:09 AM
    • Marked as answer by KenJi_114 Wednesday, November 30, 2011 4:51 AM
    Saturday, November 26, 2011 1:54 PM
  • Try my solution before you reinstall your OS.

     

    Error installing .NET 4.0 Framework on Windows 7 Ultimate x64


    • Edited by irarab Sunday, November 27, 2011 1:31 PM
    • Proposed as answer by irarab Sunday, November 27, 2011 1:32 PM
    • Marked as answer by KenJi_114 Wednesday, November 30, 2011 4:51 AM
    Sunday, November 27, 2011 1:28 PM
  • thanks all, i try but not work!

    maybe i restall windows

    • Marked as answer by Alexander Sun Tuesday, November 29, 2011 7:42 AM
    Monday, November 28, 2011 5:11 AM
  • Hi KenJi_114,

     

    Welcome to the MSDN forum.

     

    From your .NET Framework 4.5 logs:

    [11/25/2011, 13:40:55] Returning IDOK. INSTALLMESSAGE_ERROR [Could not write value Version to key \SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client. Verify that you have sufficient access to that key, or contact your support personnel.]

    MSI (s) (2C:C0) [13:40:55:530]: Product: Microsoft .NET Framework 4.5 Client Profile Developer Preview -- Error 1406. Could not write value Version to key \SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client.  System error .  Verify that you have sufficient access to that key, or contact your support personnel.

    Error 1406. Could not write value Version to key \SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client.  System error .  Verify that you have sufficient access to that key, or contact your support personnel.

    From your .NET Framework 4 logs:

    [11/25/2011, 14:27:13] Returning IDOK. INSTALLMESSAGE_ERROR [Could not write value Version to key \SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client. Verify that you have sufficient access to that key, or contact your support personnel.]

    MSI (s) (DC:0C) [14:27:14:109]: Product: Microsoft .NET Framework 4 Client Profile -- Error 1406. Could not write value Version to key \SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client.  System error .  Verify that you have sufficient access to that key, or contact your support personnel.

    Error 1406. Could not write value Version to key \SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client.  System error .  Verify that you have sufficient access to that key, or contact your support personnel.

    Based on your error messages, it seems like all the installation failed to write a value to a specific registry key.

     

    First, please try MVP’s suggestion that ensure all the AV software and protection software are disabled during the installation.

     

    Second, also as MVP has put it, please run installer as administrator. To do so: Right click>>Run as administrator.

     

    Third, please do this: Start>>Run>>Type “regedit”>>Click “Yes”>>Navigate to this key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4”>>File>>Export…>>Set Export range as All>>Type a file name>>Save>>Right click “v4”>>Delete. Then try the installation again.

    NOTE: Please do the backup as I mentioned before any modification.

     

    If the installation still fails after these steps, I recommend you collect fresh logs via this tool: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=12493

     

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

     

    Best Regards,


    Alexander Sun [MSFT]
    MSDN Community Support | Feedback to us
    • Proposed as answer by Alexander Sun Tuesday, November 29, 2011 7:42 AM
    • Unproposed as answer by KenJi_114 Wednesday, November 30, 2011 4:51 AM
    • Marked as answer by KenJi_114 Wednesday, November 30, 2011 4:51 AM
    Monday, November 28, 2011 6:32 AM
  • tkss you.  HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Note\Microsoft\NET Framework Setup\NDP\v4

    it working thank you very much

    Wednesday, November 30, 2011 4:50 AM