none
.NET Framework 4 Windows 7 Installation Error (0x80070643), "Fatal error during installation." RRS feed

  • Question

  • Hi, I'm having some trouble installing .NET framework 4.

    I'm running Windows 7 Home Premium 64-bit. Whenever i try to install via windows update i get an error code 643. I've tried installing with the standalone installer and it also fails and tells me to check the log for further details, clicking the link to the log gives me this:

     

     

    OS Version = 6.1.7600, Platform 2
    OS Description = Windows 7 - x64 Home Premium Edition
    CommandLine = G:\2128baaa34396a2ad372\\Setup.exe /x86 /x64 /ia64 /web
    TimeZone = GMT 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 (G:\2128baaa34396a2ad372\SetupUtility.exe) succeeded.
    Exe Log File: dd_SetupUtility.txt
    ServiceControl operation succeeded!
    ServiceControl operation succeeded!
    Exe (C:\Users\Myke\AppData\Local\Temp\Microsoft .NET Framework 4 Setup_4.0.30319\Windows6.1-KB958488-v6001-x64.msu) failed with 0x240006 - (null).
    Exe (G:\2128baaa34396a2ad372\SetupUtility.exe) succeeded.
    Exe Log File: dd_SetupUtility.txt
    MSI (C:\Users\Myke\AppData\Local\Temp\Microsoft .NET Framework 4 Setup_4.0.30319\netfx_Core_x64.msi) Installation failed. Msi Log: Microsoft .NET Framework 4 Setup_20110825_125559678-MSI_netfx_Core_x64.msi.txt
     
    Final Result: Installation failed with error code: (0x80070643), "Fatal error during installation. " (Elapsed time: 0 00:02:17).

     

    I have tried running clean up tools but to no avail. Any help would be appreciated as this is affecting some software I need to use for work.

     

    MrMikeUTF


    Thursday, August 25, 2011 12:17 PM

Answers

  • Hi MrMikeUTF,

    From the cbs.log file, I found error messages below:

    2011-08-26 09:22:14, Info         CBS  SQM: Initializing online with Windows opt-in: False
    2011-08-26 09:22:14, Info         CBS  SQM: Cleaning up report files older than 10 days.
    2011-08-26 09:22:14, Info         CBS  SQM: Requesting upload of all unsent reports.
    2011-08-26 09:22:14, Info         CBS  SQM: Failed to start upload with file pattern: C:\Windows\servicing\sqm\*_std.sqm, flags: 0x2 [HRESULT = 0x80004005 - E_FAIL]
    2011-08-26 09:22:14, Info         CBS  SQM: Failed to start standard sample upload. [HRESULT = 0x80004005 - E_FAIL]
    2011-08-26 09:22:14, Info         CBS  SQM: Queued 0 file(s) for upload with pattern: C:\Windows\servicing\sqm\*_all.sqm, flags: 0x6
    2011-08-26 09:22:14, Info         CBS  SQM: Warning: Failed to upload all unsent reports. [HRESULT = 0x80004005 - E_FAIL]
    2011-08-26 09:22:14, Info         CBS  No startup processing required, TrustedInstaller service was not set as autostart, or else a reboot is still pending.

    It appears that this issue is caused some corrupted system files. Thus, I suggest you run the sfc /scannow, and chkdsk volume:/r in Command Prompt. For more information, please see:

    If the above suggesion still could not work, considering this is a system corrupt issue, you can open a new post in the Windows 7 Forum to consult Windows experts.

    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, August 29, 2011 3:38 AM
    Moderator

All replies

  • I realize we're asking you to repeat your efforts to some extent, but just to be sure, please follow all these steps:

    Use this tool to check for, and remove, any vestiges of the previous .NET Framework 4.0 installation:

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

    Don't touch any other Framework versions.

    Please use the full, standalone 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/firewall software.

    Then run the installer you downloaded "As Administrator".

    If the install fails, please collect the 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.

    Thursday, August 25, 2011 1:05 PM
  • Good Morning,

     

    I folowed your instructions exactly, here is the link to the logs...

    https://skydrive.live.com/redir.aspx?cid=99a3f8be7064c6ca&resid=99A3F8BE7064C6CA!103&authkey=g!3Nqu!0*4M%24

     

    Thanks

    MrMikeUTF

    Friday, August 26, 2011 8:34 AM
  • Hi,

     

    I tried these solutions but it hasn't worked I'm afraid. Please advise.

     

    MrMikeUTF

    Friday, August 26, 2011 12:54 PM
  • 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.

    us zip code
    Friday, August 26, 2011 1:50 PM
  • https://skydrive.live.com/redir.aspx?cid=99a3f8be7064c6ca&resid=99A3F8BE7064C6CA!103&authkey=g!3Nqu!0*4M%24

    Here you are...
    Friday, August 26, 2011 1:51 PM
  • So you:

    "I just created a new user account with administrative priviliges" and retried the install from that account?

    and

    "Would you please try to download and install the Windows6.1-KB958488-v6001-x64.msu from the link below:
    http://www.microsoft.com/downloads/en/details.aspx?FamilyID=67cdf390-c6ec-49be-8977-4eea228a3b91"

    after trying to uninstall it?

    If you tried to install the KB and failed, then I'm sorry to say you're down to this:

    "If the Windows6.1-KB958488-v6001-x64.msu still could not install correctly, I would suggest you open a new question in the Windows 7 Update forum:http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_update to get the Windows update issue resolved first."

    Friday, August 26, 2011 2:12 PM
  • Hi MrMikeUTF,

    From the cbs.log file, I found error messages below:

    2011-08-26 09:22:14, Info         CBS  SQM: Initializing online with Windows opt-in: False
    2011-08-26 09:22:14, Info         CBS  SQM: Cleaning up report files older than 10 days.
    2011-08-26 09:22:14, Info         CBS  SQM: Requesting upload of all unsent reports.
    2011-08-26 09:22:14, Info         CBS  SQM: Failed to start upload with file pattern: C:\Windows\servicing\sqm\*_std.sqm, flags: 0x2 [HRESULT = 0x80004005 - E_FAIL]
    2011-08-26 09:22:14, Info         CBS  SQM: Failed to start standard sample upload. [HRESULT = 0x80004005 - E_FAIL]
    2011-08-26 09:22:14, Info         CBS  SQM: Queued 0 file(s) for upload with pattern: C:\Windows\servicing\sqm\*_all.sqm, flags: 0x6
    2011-08-26 09:22:14, Info         CBS  SQM: Warning: Failed to upload all unsent reports. [HRESULT = 0x80004005 - E_FAIL]
    2011-08-26 09:22:14, Info         CBS  No startup processing required, TrustedInstaller service was not set as autostart, or else a reboot is still pending.

    It appears that this issue is caused some corrupted system files. Thus, I suggest you run the sfc /scannow, and chkdsk volume:/r in Command Prompt. For more information, please see:

    If the above suggesion still could not work, considering this is a system corrupt issue, you can open a new post in the Windows 7 Forum to consult Windows experts.

    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, August 29, 2011 3:38 AM
    Moderator
  • 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?
    • Proposed as answer by kcn81 Sunday, November 27, 2011 4:48 AM
    Tuesday, November 22, 2011 9:08 PM
  • Thank you irarab.  This is the first answer that I have found that works after hours of searching.  You are the best!!!!
    Sunday, November 27, 2011 4:49 AM
  • Glad I could help.
    Sunday, November 27, 2011 1:18 PM
  • irarab,

     

    Thank you so much for your post.  After almost two days of trying all the MS fix apps, reinstalls, etc., your solution worked so quickly and easily.

     

    Thanks so much!

    Thursday, December 8, 2011 7:05 PM
  • I do not find an assembly folder in C:\Windows\Microsoft.NET
    Wednesday, December 14, 2011 4:54 AM
  • Then, your problem is completely different from what is in this thread.

    Please start a new thread and give complete details of your problem, including Windows version and service pack level. Also provide full install logs as follows:

    Collect the 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 in your new thread.

    Wednesday, December 14, 2011 2:12 PM
  • Irarab,

    Thank you very much after spending hours reading the same mediocre advice ranging from remove, reinstall to repair your Windows, this did the trick immediately.

    I wish someone at Microsoft or MSDN would take notice and publish this as a KB so it is easier to find.

    Thanks again for taking the time to post.

    Alain

    Saturday, December 17, 2011 12:20 AM
  • Irarab,

    Thank you so much!! I can only say I did what everyone else did and what a waste of time.  This should be tagged "how to fix .net 4 installation issues" the real fix!  I hope other search and find this too!

    Thanks again!

     

    Mike

    Monday, December 19, 2011 10:11 PM
  • plz help......

    changing to assembly2 didnt helped.......

     

    still cant install it........ 

    Sunday, December 25, 2011 5:35 PM
  • Hello game_deramer.

    PLEASE start your own thread. When you do, tell us your Windows version and Service Pack level and describe what happened when you tried to install .NET Framework 4.0.

    Also, provide 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 in your new thread.

     


    • Edited by pvdg42 Monday, December 26, 2011 3:29 PM
    Monday, December 26, 2011 3:27 PM
  • This worked perfectly for me after the same several hour battle. THANKS!!

    you da man!

    Saturday, January 14, 2012 9:12 PM
  • Thank You. Just spent 3+ hours trying all kinds of stuff. This did it!!!
    Monday, April 2, 2012 4:55 PM
  • Absolutely awesome..

    been a tech for about 15 years now and Msft .NET errors still tick me off like you won't believe...

    Thank you soooo much for that fix irarab.

    SuKudos


    a Network Service Engineer (according to my boss)

    Friday, August 3, 2012 4:13 PM