none
HELP !!! Can't install .net framework 4.0 !!!! Rollback action ?!?

    Question

  • I got this trouble help me :(

     

    OS Version = 6.1.7601, Platform 2, Service Pack 1
    OS Description = Windows 7 - x64 Ultimate Edition Service Pack 1
    CommandLine = C:\321c3d63e99a30da11d0bb\\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: AlwaysUploaded
    Number of applicable items: 11
    Exe (C:\321c3d63e99a30da11d0bb\SetupUtility.exe) succeeded.
    Exe Log File: dd_SetupUtility.txt
    ServiceControl operation succeeded!
    ServiceControl operation succeeded!
    Exe (C:\321c3d63e99a30da11d0bb\Windows6.1-KB958488-v6001-x64.msu) failed with 0x240006 - (null).
    Exe (C:\321c3d63e99a30da11d0bb\SetupUtility.exe) succeeded.
    Exe Log File: dd_SetupUtility.txt
    MSI (C:\321c3d63e99a30da11d0bb\netfx_Core_x64.msi) Installation failed. Msi Log: Microsoft .NET Framework 4 Setup_20110402_195603653-MSI_netfx_Core_x64.msi.txt
    Exe (C:\321c3d63e99a30da11d0bb\SetupUtility.exe) succeeded.
    Exe Log File: dd_SetupUtility.txt
    MSI (C:\321c3d63e99a30da11d0bb\netfx_Core_x64.msi) Installation failed. Msi Log: Microsoft .NET Framework 4 Setup_20110402_195603653-MSI_netfx_Core_x64.msi.txt
    Final Result: Installation failed with error code: (0x80070643), "Fatal error during installation. " (Elapsed time: 0 00:02:08).
     
    Saturday, April 02, 2011 1:28 PM

Answers

  • Hi,

    If you do not have a system restore point, you might try to repair your system with the Windows 7 disk.

    Or, try this Windows forum: http://answers.microsoft.com/en-us/windows/forum/windows_7-system?page=1

    Also, please considering whether .NET Framework 4 is that urgent to install. Do you have a software that requires the 4.0 version? If not, I think it is enough for you to keep the .NET Framework 3.5 SP1 in your system.

    • Marked as answer by CloudyHunter Sunday, April 10, 2011 3:25 AM
    Saturday, April 09, 2011 1:29 PM
  • If it's that urgent to you, then you should take wbloodccc's advice:

    "If you do not have a system restore point, you might try to repair your system with the Windows 7 disk."

    If you've really followed all the advice you've been given in this thread, and still no success, it's time to start over with a fresh OS install.

     

    • Marked as answer by CloudyHunter Sunday, April 10, 2011 3:25 AM
    Saturday, April 09, 2011 6:41 PM

All replies

  • Clean up from the failed install with this:

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

    Empty your %temp% folder.

    Download the standalone installer for .NET Framework 4.0:

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

    Disable your AV and anti-malware apps, then run the installer "as administrator".

    Saturday, April 02, 2011 2:58 PM
  • Hi pvdg42 , i've try everything u said , even trying to check the Programs and Features turn on and off , when it was in installing progress , it just Rollback action everything :(
    Saturday, April 02, 2011 3:23 PM
  • HELLO !!!!! ANYBODY ?
    Sunday, April 03, 2011 12:16 PM
  • Sorry not to get back to you sooner.

    Two possible courses of action:

    1. Share the .NET4 setup logs from your machine. Refer to following link for instructions to generate a zip file of logs.http://blogs.msdn.com/varungupta/archive/2009/10/26/instructions-to-collect-net-framework-4-and-visual-studio-2010-beta-setup-logs.aspx

    Please upload the zip file of logs on skydrive.com and post the link here.

    2. Do a repair install of Windows from your Win 7 distribution media. For specifics, ask here:

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

    Sunday, April 03, 2011 2:56 PM
  • Sorry not to get back to you sooner.

    Two possible courses of action:

    1. Share the .NET4 setup logs from your machine. Refer to following link for instructions to generate a zip file of logs.http://blogs.msdn.com/varungupta/archive/2009/10/26/instructions-to-collect-net-framework-4-and-visual-studio-2010-beta-setup-logs.aspx

    Please upload the zip file of logs on skydrive.com and post the link here.

    2. Do a repair install of Windows from your Win 7 distribution media. For specifics, ask here:

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


    http://cid-7121250bf31d1040.office.live.com/self.aspx/Logs/vslogs.cab here you go .
    Sunday, April 03, 2011 3:41 PM
  • HELP !!!! Anyone ???? This .NET frame is really important my files , my friend will kill me T.T
    Monday, April 04, 2011 5:31 AM
  • may be here you find some help:

    http://support.microsoft.com/kb/976982

     

    Monday, April 04, 2011 5:58 AM
  • Hi CloudyHunter,

    I have checked your isntallation log files, and find the error message below:
    [4/2/2011, 12:15:11] 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.]

    According to the error message, the setup failed to write a registry key becasue of privilege issue. Did you run the .NET Framework setup with the Administrator privilege? If not, please try to run the setup with Administrator privilege: right-click the installer -> Run as administrator.

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

    • Turn off your anti-virus/antispyware software during installation; 
    • Install the latest Windows updates from the Windows Update site: http://windowsupdate.microsoft.com;
    • Complete or dismiss Windows Update before installation. (And don't forget to turn it on later);
    • Clean your %temp% folder (Start Menu >> Run >> Type "%temp%)

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

    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.

    Monday, April 04, 2011 7:20 AM
  • Hi CloudyHunter,

    I have checked your isntallation log files, and find the error message below:
    [4/2/2011, 12:15:11] 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.]

    According to the error message, the setup failed to write a registry key becasue of privilege issue. Did you run the .NET Framework setup with the Administrator privilege? If not, please try to run the setup with Administrator privilege: right-click the installer -> Run as administrator.

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

    • Turn off your anti-virus/antispyware software during installation; 
    • Install the latest Windows updates from the Windows Update site: http://windowsupdate.microsoft.com;
    • Complete or dismiss Windows Update before installation. (And don't forget to turn it on later);
    • Clean your %temp% folder (Start Menu >> Run >> Type "%temp%)

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

    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.

    I run the programs as the administrator it still won't work even after doing the step you said up there :(

    Monday, April 04, 2011 7:43 AM
  • Hi CloudyHunter,

    Would you please run the Visual Studio and .NET log collection utility again and send the vslogs.cab file to me(v-anwu@microsoft.com)? I'll help to check whether this time the installation still fails on the same item.

    Waiting for your e-mail.

    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.

    Monday, April 04, 2011 7:53 AM
  • Hi CloudyHunter,

    Would you please run the Visual Studio and .NET log collection utility again and send the vslogs.cab file to me(v-anwu@microsoft.com)? I'll help to check whether this time the installation still fails on the same item.

    Waiting for your e-mail.

    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.

    I've already sent the email
    Monday, April 04, 2011 9:40 AM
  • BUMP!!!!!!!!! HELP , Oh my god :(
    Tuesday, April 05, 2011 5:22 AM
  • Dear CloudyHunter,

    I find the error message below in the log files:

    [4/4/2011, 14:41:44]Launching CreateProcess with command line = wusa.exe "C:\1a6af4d6613ae841952e2a\Windows6.1-KB958488-v6001-x64.msu" /quiet /norestart
    [4/4/2011, 14:41:45]Exe (C:\1a6af4d6613ae841952e2a\Windows6.1-KB958488-v6001-x64.msu) failed with 0x240006 - (null).
    [4/4/2011, 14:41:45]PerformOperation on exe returned exit code 2359302 (translates to HRESULT = 0x240006) 
    [4/4/2011, 14:42:24] 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.]

    Therefore, pelase try the step bleow:

    Firstly, could you please help me to check the following link to repair your Windows Installer?
    Please check: http://www.winhelponline.com/blog/vista-the-windows-installer-service-could-not-be-accessed/

    Then please try extracting the .NET Framework 4 installer package to you hard drive, and run the update Windows6.1-KB958488-v6001-x86.msu directly before the setup.
    You can use some third party tool such as WinRAR or use /x command line to extract the installer and look for the update file Windows6.1-KB958488-v6001-x86.msu.

    If still no avail, please go to Start menu -> Run -> type Regedit -> OK -> navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\-> right-click the key -> Permissions -> Advanced -> add your current user account to the list with Full Control.
    NOTE: Before you edit the registry, you’d better export the keys in the registry that you plan to edit, or back up the whole registry.
    If a problem occurs, you can then follow the steps in the How to restore the registry section of this article to restore the registry to its previous state.

    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.

    Tuesday, April 05, 2011 7:38 AM
  • Dear CloudyHunter,

    I find the error message below in the log files:

    [4/4/2011, 14:41:44]Launching CreateProcess with command line = wusa.exe "C:\1a6af4d6613ae841952e2a\Windows6.1-KB958488-v6001-x64.msu" /quiet /norestart
    [4/4/2011, 14:41:45]Exe (C:\1a6af4d6613ae841952e2a\Windows6.1-KB958488-v6001-x64.msu) failed with 0x240006 - (null).
    [4/4/2011, 14:41:45]PerformOperation on exe returned exit code 2359302 (translates to HRESULT = 0x240006) 
    [4/4/2011, 14:42:24] 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.]

    Therefore, pelase try the step bleow:

    Firstly, could you please help me to check the following link to repair your Windows Installer?
    Please check: http://www.winhelponline.com/blog/vista-the-windows-installer-service-could-not-be-accessed/

    Then please try extracting the .NET Framework 4 installer package to you hard drive, and run the update Windows6.1-KB958488-v6001-x86.msu directly before the setup.
    You can use some third party tool such as WinRAR or use /x command line to extract the installer and look for the update file Windows6.1-KB958488-v6001-x86.msu.

    If still no avail, please go to Start menu -> Run -> type Regedit -> OK -> navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\-> right-click the key -> Permissions -> Advanced -> add your current user account to the list with Full Control.
    NOTE: Before you edit the registry, you’d better export the keys in the registry that you plan to edit, or back up the whole registry.
    If a problem occurs, you can then follow the steps in the How to restore the registry section of this article to restore the registry to its previous state.

    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.

    I don't have any of the " HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\ " i only get 2.0 3.0 3.5 that's all !!!!
    Tuesday, April 05, 2011 10:39 AM
  • Can you also check HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\NET Framework Setup\NDP\v4\?  If this doesn't exist either, check the parent key (NDP) and ensure that the SYSTEM account has Full Control.

    Wednesday, April 06, 2011 1:12 AM
  • Can you also check HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\NET Framework Setup\NDP\v4\?  If this doesn't exist either, check the parent key (NDP) and ensure that the SYSTEM account has Full Control.

    Won't work both ways :(
    Wednesday, April 06, 2011 5:36 AM
  • COME ON, HELP !!!!!!!!!!!!
    Wednesday, April 06, 2011 12:25 PM
  • Hi CloudyHunter,

    Sorry to know that you are having trouble installing .NET Framework on Windows 7 SP1, X64 machine. Looking at the installation error log it appears that the user profile used for installing .NET Framework is corrupted.Please use other user profile to continue installation or create a new user profile.

    To create a new user profile,please follow steps mentioned in the below link

    http://windows.microsoft.com/en-us/windows7/Fix-a-corrupted-user-profile

    Thanks,

    Rakesh.

    Wednesday, April 06, 2011 5:21 PM
  • Hi CloudyHunter,

    Sorry to know that you are having trouble installing .NET Framework on Windows 7 SP1, X64 machine. Looking at the installation error log it appears that the user profile used for installing .NET Framework is corrupted.Please use other user profile to continue installation or create a new user profile.

    To create a new user profile,please follow steps mentioned in the below link

    http://windows.microsoft.com/en-us/windows7/Fix-a-corrupted-user-profile

    Thanks,

    Rakesh.

    Won't help either !!!!
    Thursday, April 07, 2011 10:27 AM
  • Hi CloudyHunter,

    Would you please try the steps in this KB article: http://support.microsoft.com/kb/313222 to restore security settings to a known working state? This article introduces several methods and tools to resolve a permissions issue.

    If above methods still not working, you might consider to restore your system or perform an in-place upgrade to recover it.
    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/

    Or if you have the original media, you can did a repair of Win7.

    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.

    Friday, April 08, 2011 3:51 AM
  • Hi CloudyHunter,

    Would you please try the steps in this KB article: http://support.microsoft.com/kb/313222 to restore security settings to a known working state? This article introduces several methods and tools to resolve a permissions issue.

    If above methods still not working, you might consider to restore your system or perform an in-place upgrade to recover it.
    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/

    Or if you have the original media, you can did a repair of Win7.

    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.

    I think my computer have lost a lot of file but still running good , after i installed SP1 :( . it seem to be like my System Restore and other stuff have lost .... what should i do ?
    Friday, April 08, 2011 10:45 AM
  • ??????????????????????????????

    Saturday, April 09, 2011 1:17 PM
  • Hi,

    If you do not have a system restore point, you might try to repair your system with the Windows 7 disk.

    Or, try this Windows forum: http://answers.microsoft.com/en-us/windows/forum/windows_7-system?page=1

    Also, please considering whether .NET Framework 4 is that urgent to install. Do you have a software that requires the 4.0 version? If not, I think it is enough for you to keep the .NET Framework 3.5 SP1 in your system.

    • Marked as answer by CloudyHunter Sunday, April 10, 2011 3:25 AM
    Saturday, April 09, 2011 1:29 PM
  • Hi,

    If you do not have a system restore point, you might try to repair your system with the Windows 7 disk.

    Or, try this Windows forum: http://answers.microsoft.com/en-us/windows/forum/windows_7-system?page=1

    Also, please considering whether .NET Framework 4 is that urgent to install. Do you have a software that requires the 4.0 version? If not, I think it is enough for you to keep the .NET Framework 3.5 SP1 in your system.

    Yes its urgent , and i have the software that requires 4.0 version !!!
    Saturday, April 09, 2011 3:11 PM
  • If it's that urgent to you, then you should take wbloodccc's advice:

    "If you do not have a system restore point, you might try to repair your system with the Windows 7 disk."

    If you've really followed all the advice you've been given in this thread, and still no success, it's time to start over with a fresh OS install.

     

    • Marked as answer by CloudyHunter Sunday, April 10, 2011 3:25 AM
    Saturday, April 09, 2011 6:41 PM
  • If it's that urgent to you, then you should take wbloodccc's advice:

    "If you do not have a system restore point, you might try to repair your system with the Windows 7 disk."

    If you've really followed all the advice you've been given in this thread, and still no success, it's time to start over with a fresh OS install.

     

    Ok thanks for your guys help , i think a fresh OS install must be helping . Thanks all of you once again !!!!!
    Sunday, April 10, 2011 3:25 AM
  • If you have not already done fresh OS install, please contact me at netfxsetup at microsoft dot com and we will try to look it up for you.
    Varun Gupta - MSFT
    Tuesday, April 12, 2011 4:51 PM