none
.net 4.0 installation issues RRS feed

  • Question

  • Have been trying to install .net 4.0 and keep getting the following message in the installer window:

    .NET Framework 4 Client Profile has not been installed because:

    HRESULT 0xc8000222

    Anybody know how to get around this issue?

    Tuesday, April 10, 2012 11:41 PM

Answers

All replies

  • We need more information.

    1. What is your Windows version and Service Pack level?

    2. Please 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 here.

    Wednesday, April 11, 2012 3:38 AM
  • Hello,

    I think you need to provide more specific information about the error. Can you please provide the error log so that we can help you better.

    Wednesday, April 11, 2012 9:49 AM
  • Hi Doc,

    Welcome to the MSDN forum.

    First, could you please let me know more specific information as MVP and Armstronglavence mentioned?

    Second, the error “0xc8000222” usually occurs with Windows Updates failed. Please try the suggestions:

    • Please download .NET Framework 4 from: http://www.microsoft.com/download/en/details.aspx?id=17718
    • Check if there are any anti-virus or antispyware applications running. Make sure they are turned off during installation.
    • Complete or dismiss Windows Updates before installation (but turn on Windows Update service).
    • Clean up your “%temp%” folder (Start>>Run>>%temp%)
    • Run the setup file with Administrator privileges: Right-click the installer > Run as administrator.

    If you still encounter this error, please take a look at this page: http://answers.microsoft.com/en-us/windows/forum/windows_other-windows_update/fresh-windows-7-installation-windows-update-error/16a05548-6f6c-4d86-b5cb-f8abae5afe58?auth=1

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

    Best Regards,


    Alexander Sun [MSFT]
    MSDN Community Support | Feedback to us

    • Marked as answer by Alexander Sun Tuesday, April 17, 2012 9:35 AM
    Thursday, April 12, 2012 5:00 AM
  • I cannot turn on Wndows Update (my computer is under company network).

    Does it mean I cannot install .Net4 ?

    Why it has to be related to Windows Update ?

    Wednesday, April 18, 2012 9:18 AM
  • Are you using the web installer or the standalone installer?

    If you are using the web installer, try this:

    Before trying to install .NET Framework 4.0, execute this command from an ELEVATED Command Prompt provided by the .NET Framework Team:

    "This issue is likely caused by a bad ACL on assembly\tmp folder. After installing updates, the ACL propagates to installed assembly folders in both 4.0 & legacy GAC.  If those updates were installed by WU or another user, the propagated ACL will prevent install of the same assembly by the current user.

    A work around would be to reset the ACL on GAC dirs.

    for /F %D in ('dir %WINDIR%\assembly %WINDIR%\Microsoft.NET\assembly /s /b /a:d') do takeown /F %D && icacls %D /reset /T"

    After running that command, follow these steps:

    Please follow these instructions exactly:

    1. Download a fresh copy of the standalone installer for .NET Framework 4.0:

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

    2. Also, clear your %temp% directory and disable your AV software.

    The %temp% directory is a reference to the Temp folder associated with the current user. To clear it, do the following:

    Sign on to your system with the Administrator user account you will use to run the installer. Click the Start Orb and type %temp% in the search box. The search results will show the Temp folder you want. Click on the Temp folder to open it in Windows Explorer, then delete the entire contents.

    3. Run the standalone installer from step 1 As Administrator.

    Note: Just using an administrator account is NOT enough. To activate full privileges, you must right-click the installer, then select Run as administrator.

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

    If you are unable to complete the process above because of policies set up by your company's network administrators, you will need to consult with them about getting .NET Framework 4.0 installed under their policies.

    Wednesday, April 18, 2012 1:11 PM
  • Maybe the policy of your company prevent installing strange components from other sources (require admin permission). Ask your admin for supporting this situation.
    Thursday, April 19, 2012 6:35 PM
  • 100% will work.

    simply delete all files inside "C:\\windows\softwareredistribution".

    go to sevices in administrative tools then restart "windows update service"

    you may restart your pc.now install again..

    Thursday, June 27, 2013 5:39 PM