none
Having a hard time getting .net framework 4 to work RRS feed

  • Question

  • Hi there!

    A month ago I tried asking a similar question and it never got solved, they basically told me to reformat. Not having .net framework was not really hindering me so I left it alone for a while.

    However I recently noticed windows updater saying it installed .net framework 4 successfully, which was not happening before, on Oct. 25th. I tried running the game that sparked this whole problem to begin with and it tried to install .net framework 4 again which failed.

    I searched around and found that I should use a verification tool. It said .net 4 was not installed on my machine. It does appear in the software list though.

    Someone please help end this nightmare of mine without resorting to wiping my hard rive. Thanks.

    Monday, November 7, 2011 12:29 AM

Answers

  • Hi Maddog8604,

     

    First, for the error “Exe (D:\b503c9871880cf8993c159a9d2d2\Windows6.1-KB958488-v6001-x64.msu) failed with 0x240006 - (null).”, it means “The update to be installed is already installed on the system”, so this error have nothing to do with your issue.

     

    From your log:

    [11/7/2011, 11:59:8] Returning IDOK. INSTALLMESSAGE_ERROR [There is a problem with this Windows Installer package. Please refer to the setup log for more information. ]

    11/07/11 11:59:08 DDSet_Status: Sleeping 100ms...

    11/07/11 11:59:08 DDSet_Error: Failed to install assembly C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.VisualC.STLCLR.dll. IAssemblyCache->InstallAssembly() returned -2147024891.

    11/07/11 11:59:08 DDSet_Error: Failed to install assembly 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.VisualC.STLCLR.dll' because of system error: Access is denied.

    MSI (s) (D0!1C) [11:59:08:680]: Product: Microsoft .NET Framework 4 Extended -- There is a problem with this Windows Installer package. Please refer to the setup log for more information.

    There is a problem with this Windows Installer package. Please refer to the setup log for more information.

    For the error code “-2147024891” which is 0x80070005 in hex, it means “Access is denied”, because the Windows Installer on your side is corrupt.

     

    Have you tried MVP’s suggestions to repair the Windows Installer? Does it work?

     

    Since the Windows Installer 5.0 is included in Windows 7, it means maybe you are required to reinstall or repair your OS. Frankly speaking, sometimes setup issues are more complex than what we imagine, because of different machines, different OS settings, different software installed and so on. For you situation, although the reinstallation or repair seems like inconvenient and wasting a lot of time, compared with that endless searching and try but no avail, it is a quicker and more direct way to resolve some tough problem in fact.

     

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

     

    Best Regards,


    Alexander Sun [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.

    • Marked as answer by Alexander Sun Tuesday, November 15, 2011 9:04 AM
    Wednesday, November 9, 2011 7:43 AM

All replies

  • Please tell us your Windows version.

    When you look at your installed programs list, does it show .NET Framework 4.0 Client Profile only, or does it show Client Profile and Extended?

    Does the game in question require the Client Profile only or the full .NET Framework 4.0 (you may have to ket this information from the publisher)?

    To resolve the issue of what framework(s) are on your system, please capture and share your install logs as follows:

    Please collect your install logs 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.

    Monday, November 7, 2011 1:01 PM
  • Thanks for replying!

    Running windows 7

    Program list shows "Microsoft .NET Framework 4 Client Profile"

    When reinstalling game it attempts to install "Microsoft .NET Framework 4 Extended" Progress bar nearly completes but then rolls back changes and fails to install.

    Never used skydrive so tell me if this link doesnt work: https://skydrive.live.com/#!/?cid=f26b0d43b18dda3f&sc=documents&nl=1&uc=1&id=F26B0D43B18DDA3F%21172

     





    • Edited by Maddog8604 Monday, November 7, 2011 3:58 PM
    Monday, November 7, 2011 3:53 PM
  • The good news is that your vslogs cam through fine.

    The bad news:

    "Exe (C:\Users\Joe\AppData\Local\Temp\Microsoft .NET Framework 4 Setup_4.0.30319\Windows6.1-KB958488-v6001-x64.msu) failed with 0x240006 - (null).
     PerformOperation on exe returned exit code 2359302 (translates to HRESULT = 0x240006)

    INSTALLMESSAGE_ERROR [There is a problem with this Windows Installer package. Please refer to the setup log for more information. ]
     MSI (C:\Users\Joe\AppData\Local\Temp\Microsoft .NET Framework 4 Setup_4.0.30319\netfx_Extended_x64.msi) Installation failed. Msi Log: Microsoft .NET Framework 4 Setup_20111106_161826598-MSI_netfx_Extended_x64.msi.txt
     PerformOperation returned 1603 (translates to HRESULT = 0x80070643)"

    The Windows Installer package problem can be a bear to solve, so first, I recommend you try some simpler things:

    I would (in your shoes) uninstall the .NET Framework 4.0 Client Profile before more install attampts. However, you may choose not to do that and I cannot assert from experience that it will help for sure.

    I note from your vslogs that you don't clean up before each install attempt. You also appear to be trying to use the web installer.

    Before EACH install attempt, please do the following:

    Completely disable all AV/anti-malware/firewall software. Clean out your %temp% directory (this is the Temp folder associated with the Administrator user you logged on with for the install. Click the Windows 7 Start Orb, then type %temp% in the search box. The search results will show the Temp folder you want. Click on Temp to open it in Windows Explorer, then delete the ENTIRE contents.)

    Download the standalone installer for .NET Framework 4.0 here:

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

    Run the standalone installer As Administrator.

    If it fails, please produce new install logs.


    • Edited by pvdg42 Monday, November 7, 2011 7:43 PM
    Monday, November 7, 2011 7:42 PM
  • When trying to fix this issue before, uninstalling didn't help anyways so skipped that. Deleted %temp% folder and shutdown firewalls and tried to install. Got to around 60% before it rolled back changes. Just going to paste the log.

    I noticed the installer is using D:\ drive? That is not the drive with windows on it so I am confused about that.

     

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

    Monday, November 7, 2011 8:03 PM
  • OK, you left out the part of the log that really tells the story. That's why we ask for the full vslogs.cab.

    If you saw anything like this: "There is a problem with this Windows Installer package" then you have Windows installer issues on your system and will need to follow Alexander Sun's directons in his reply in this thread:

    http://social.msdn.microsoft.com/Forums/en-US/netfxsetup/thread/af56c849-e861-458b-9e5c-4eae78a02ee3

    If nothing works for you, you are then looking at an OS reinstall.

    Tuesday, November 8, 2011 12:18 AM
  • ah sorry i posted the log from the installer by mistake, here is the vslog

     

    https://skydrive.live.com/?cid=f26b0d43b18dda3f&sc=documents&uc=1&id=F26B0D43B18DDA3F%21172#
    Wednesday, November 9, 2011 5:25 AM
  • Hi Maddog8604,

     

    First, for the error “Exe (D:\b503c9871880cf8993c159a9d2d2\Windows6.1-KB958488-v6001-x64.msu) failed with 0x240006 - (null).”, it means “The update to be installed is already installed on the system”, so this error have nothing to do with your issue.

     

    From your log:

    [11/7/2011, 11:59:8] Returning IDOK. INSTALLMESSAGE_ERROR [There is a problem with this Windows Installer package. Please refer to the setup log for more information. ]

    11/07/11 11:59:08 DDSet_Status: Sleeping 100ms...

    11/07/11 11:59:08 DDSet_Error: Failed to install assembly C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.VisualC.STLCLR.dll. IAssemblyCache->InstallAssembly() returned -2147024891.

    11/07/11 11:59:08 DDSet_Error: Failed to install assembly 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.VisualC.STLCLR.dll' because of system error: Access is denied.

    MSI (s) (D0!1C) [11:59:08:680]: Product: Microsoft .NET Framework 4 Extended -- There is a problem with this Windows Installer package. Please refer to the setup log for more information.

    There is a problem with this Windows Installer package. Please refer to the setup log for more information.

    For the error code “-2147024891” which is 0x80070005 in hex, it means “Access is denied”, because the Windows Installer on your side is corrupt.

     

    Have you tried MVP’s suggestions to repair the Windows Installer? Does it work?

     

    Since the Windows Installer 5.0 is included in Windows 7, it means maybe you are required to reinstall or repair your OS. Frankly speaking, sometimes setup issues are more complex than what we imagine, because of different machines, different OS settings, different software installed and so on. For you situation, although the reinstallation or repair seems like inconvenient and wasting a lot of time, compared with that endless searching and try but no avail, it is a quicker and more direct way to resolve some tough problem in fact.

     

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

     

    Best Regards,


    Alexander Sun [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.

    • Marked as answer by Alexander Sun Tuesday, November 15, 2011 9:04 AM
    Wednesday, November 9, 2011 7:43 AM
  • I checked permissions and they are good, checked the registry and ran the "sfc /scannow" program and nothing bad was found. Deleted contents of %temp% after reboot and tried install again with same results. Ran the .net 4 repair tool from the uninstall programs window which also failed.

     

    If all that is left is to reinstall the OS, is there any possible way to download a copy so I do not need to use the recovery partition on my computer? I'm afraid it will wipe my hard drive. I have also upgraded my windows to Professional after purchasing the computer. I hope this help me get my own windows cd to make repairs like this easier in the future. If I bought this copy of windows don't I have the right to have the cd?

    Thursday, November 10, 2011 1:31 AM
  • You can ask the manufacturer of your computer if there is an option to get install media from them (there is usually a fee involved, if available).

    As it appears your Windows came with your computer, you have an OEM version and only the manufacturer can help you.

     

    Thursday, November 10, 2011 1:53 PM
  • Hi Maddog8604,

     

    You can check this page about some backup before you try reinstall: http://www.techspot.com/guides/183-app-backup-checklist/

     

    I hope this helps.

     

    Best Regards,


    Alexander Sun [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, November 11, 2011 7:22 AM