الإجابة microsoft.net v4 won't install

  • Saturday, August 18, 2012 12:29 AM
     
     

    Hi,

    I'm trying to install .net v4 and I continue to get errors.  I've tried many of the suggestions in the other threads, but nothing has worked (and in many cases I don't even have the directories I'm told to rename/delete).

    Here's my most recent error log:

    OS Version = 6.1.7600, Platform 2
    OS Description = Windows 7 - x64 Home Premium Edition
    CommandLine = C:\add127e26fbdef79d1ccc39f9a15\\Setup.exe /x86 /x64
    TimeZone = Eastern 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:\add127e26fbdef79d1ccc39f9a15\SetupUtility.exe) succeeded.
    Exe Log File: dd_SetupUtility.txt
    ServiceControl operation succeeded!
    ServiceControl operation succeeded!
    Exe (C:\add127e26fbdef79d1ccc39f9a15\Windows6.1-KB958488-v6001-x64.msu) failed with 0xc8000222 - (null).
    Final Result: Installation failed with error code: (0xC8000222) (Elapsed time: 0 00:00:07).

    Thanks!

All Replies

  • Monday, August 20, 2012 8:24 AM
    Moderator
     
     Answered

    Hi skovinsky,

    We need logs to analyse your error.

    Please use http://aka.ms/vscollect  to point to the collect.exe tool.

    This will survive any changes to the download URL that may happen in the future (especially important given the Internet's long-term memory).

    For how to use it, please refer to this blog:http://blogs.msdn.com/b/varungupta/archive/2009/10/26/instructions-to-collect-net-framework-4-and-visual-studio-2010-beta-setup-logs.aspx

    Hi skovinsky,

    I suggest you try the steps below:

    Follow ALL these steps exactly:

    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/en-us/download/details.aspx?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.

    Regards,


    Barry Wang [MSFT]
    MSDN Community Support | Feedback to us