none
.Net Framework 4.0 won't install error code: (0x80070643)

    Question

  • I recently installed Visual Studio Premium 2010 for my laptop. (windows 7 home premium, 64 bit). The install process failed to install .net frame rate 4.0. I attempted to preformed windows update and visual basic service pack 1 failed to install. All other system updates installed perfectly fine. I then tried going to downloaded the stand alone and it keeps failing saying error code  (0x80070643). 

    Basically the Visual Studios won't run nor will this frame rate install.

    Exact error log: http://pastebin.com/r72AcKFk



    Wednesday, November 02, 2011 11:28 PM

Answers

  • Hi Joseph,

     

    From your log:

    Source:MsiInstaller  Id:10005 (0x00002715)  Time:2011.11.03 13:46:05  Type:ERROR

    Strings (7):[Product: Microsoft .NET Framework 4 Client Profile -- There is a problem with this Windows Installer package. Please refer to the setup log for more information.

    11/03/11 13:46:03 DDSet_Error: Failed to install assembly C:\Windows\Microsoft.NET\Framework\v4.0.30319\ISymWrapper.dll. IAssemblyCache->InstallAssembly() returned -2147024891.

    11/03/11 13:46:03 DDSet_Error: Failed to install assembly 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\ISymWrapper.dll' because of system error: Access is denied.

    It seems like Windows Installer on your side is corrupt. For the error code “-2147024891” which equals 0x80070005, it means “Access is denied”.

     

    First, I recommend you create a new user account with administrator privileges to avoid account corruption problems.

     

    Second, you can try SubInACL Tool to repair file and registry permissions: http://blogs.msdn.com/b/astebner/archive/2006/09/04/solving-setup-errors-by-using-the-subinacl-tool-to-repair-file-and-registry-permissions.aspx

    If you encounter any error during using SubInACL Tool, I recommend you take a look at this page: http://blogs.msdn.com/b/astebner/archive/2008/06/17/8613982.aspx

     

    Third, you can try to repair Windows Installer via the steps:

    This article I think is helpful: http://support.microsoft.com/kb/2438651/en-us#reso1

    Method 1: Determine whether the Windows Installer engine is functioning

    1. Click Start , type cmd in the Search box or click Run then type cmd in the dialog (Windows XP or Windows Server 2003), and then press Enter to open a Command Prompt window.
    2. At the command prompt, type MSIExec, and then press Enter.
    3. If the MSI engine is working, there should be no error messages. If you receive an error message, note the error. If you are proficient in how to use search engines, you can use the error message to help locate additional content to troubleshoot the issue.
    4. Try to install or to uninstall again.

    If the problem persists, go to method 2.


    Method 2: Make sure that the Windows Installer service is not set to Disabled

    1. Click Start , type services.msc in the Search box or click Run then type services.msc in the dialog (Windows XP or Windows Server 2003), and then press Enter to open Services.
    2. Right-click the Windows Installer service, and then click Properties.
    3. If the Startup type box is set to Disabled, change it to Manual.
    4. Click OK to close the Properties window.
    5. Right-click the Windows Installer service, and then click Start. The service should start without errors.
    6. Try to install or to uninstall again.

    If the problem persists, go to method 3.

    Method 3: Check your version of Windows Installer, and upgrade to the latest version if it is needed

    Important This method applies to Windows XP, to Windows Vista, to Windows Server 2003, to Windows Server 2003 R2, and to Windows Server 2008 only.

    1. Click Start , type cmd in the Search box or click Run then type services.msc in the dialog (Windows XP or Windows Server 2003), and then press Enter to open a Command Prompt window.
    2. At the Command Prompt window, type MSIExec, and then press Enter. If the MSI engine is working, there should be no error messages, and a separate dialog box should open. This shows the MSI version.
    3. If the installer version is not version 4.5, see the following article in the Microsoft Knowledge Base for information and for a link to download Windows installer 4.5:

    942288 Windows Installer 4.5 is available

    1. Try to install or to uninstall again.

    If the problem persists, go to method 4.

    Method 4: Reregister the installer engine

    Important This method applies to Windows XP and to Windows Server 2000 only.

    1. Click Start, click Run then type cmd in the dialog, and then click Command Prompt.
    2. At the command prompt, type the following, and then press Enter after each line:

    ·         MSIExec /unregister

    ·         MSIExec /regserver

    1. Try to install or to uninstall again.

     

    If the issue still occurs after these steps, I recommend:

    • Start>>Type “regedit”
    • Check this path: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSIServer]. If you can find a sub key “Enum”under this path, I recommend you delete this key.

    NOTE: Before you delete this key ,please copy your registry. To do so: Right click the key “[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSIServer]”. Then select “Export”, and save your copy file.

     

    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.

    • Marked as answer by Alexander Sun Friday, November 11, 2011 2:56 AM
    Friday, November 04, 2011 9:47 AM

All replies

  • First, please use this tool to find and delete any pieces of .NET Framework 4.0 on your system (DO NOT delete any other framework versions):

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

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

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

    Before running the installer, clean out your %temp% directory (this is the Temp folder under the logged on user account) and disable all AV/firewall software.

    Run the installer from an account with full administrative rights.

    If the installation fails, please share the full set of installation 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.


    • Edited by pvdg42MVP Thursday, November 03, 2011 1:51 PM
    Thursday, November 03, 2011 1:51 PM
  • I did all of the above and it didn't work thus I uploaded the vslogs.cab to SkyDrive. 

     

    <iframe title ="Preview" scrolling="no" marginheight="0" marginwidth="0" frameborder="0" style="width:98px;height:115px;padding:0;background-color:#fcfcfc;" src="https://skydrive.live.com/embedicon.aspx/.Documents/vslogs.cab?cid=7391cfb7b9ef1782&sc=documents"></iframe>

    https://skydrive.live.com/embedicon.aspx/.Documents/vslogs.cab

    Thank you for helping,

       Joseph Cooper


    Thursday, November 03, 2011 7:53 PM
  • Unfortunately, the link you provided:

    https://skydrive.live.com/embedicon.aspx/.Documents/vslogs.cabyields a page saying "This item appears to be missing".

    Thursday, November 03, 2011 9:17 PM
  • Hi Joseph,

     

    From your log:

    Source:MsiInstaller  Id:10005 (0x00002715)  Time:2011.11.03 13:46:05  Type:ERROR

    Strings (7):[Product: Microsoft .NET Framework 4 Client Profile -- There is a problem with this Windows Installer package. Please refer to the setup log for more information.

    11/03/11 13:46:03 DDSet_Error: Failed to install assembly C:\Windows\Microsoft.NET\Framework\v4.0.30319\ISymWrapper.dll. IAssemblyCache->InstallAssembly() returned -2147024891.

    11/03/11 13:46:03 DDSet_Error: Failed to install assembly 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\ISymWrapper.dll' because of system error: Access is denied.

    It seems like Windows Installer on your side is corrupt. For the error code “-2147024891” which equals 0x80070005, it means “Access is denied”.

     

    First, I recommend you create a new user account with administrator privileges to avoid account corruption problems.

     

    Second, you can try SubInACL Tool to repair file and registry permissions: http://blogs.msdn.com/b/astebner/archive/2006/09/04/solving-setup-errors-by-using-the-subinacl-tool-to-repair-file-and-registry-permissions.aspx

    If you encounter any error during using SubInACL Tool, I recommend you take a look at this page: http://blogs.msdn.com/b/astebner/archive/2008/06/17/8613982.aspx

     

    Third, you can try to repair Windows Installer via the steps:

    This article I think is helpful: http://support.microsoft.com/kb/2438651/en-us#reso1

    Method 1: Determine whether the Windows Installer engine is functioning

    1. Click Start , type cmd in the Search box or click Run then type cmd in the dialog (Windows XP or Windows Server 2003), and then press Enter to open a Command Prompt window.
    2. At the command prompt, type MSIExec, and then press Enter.
    3. If the MSI engine is working, there should be no error messages. If you receive an error message, note the error. If you are proficient in how to use search engines, you can use the error message to help locate additional content to troubleshoot the issue.
    4. Try to install or to uninstall again.

    If the problem persists, go to method 2.


    Method 2: Make sure that the Windows Installer service is not set to Disabled

    1. Click Start , type services.msc in the Search box or click Run then type services.msc in the dialog (Windows XP or Windows Server 2003), and then press Enter to open Services.
    2. Right-click the Windows Installer service, and then click Properties.
    3. If the Startup type box is set to Disabled, change it to Manual.
    4. Click OK to close the Properties window.
    5. Right-click the Windows Installer service, and then click Start. The service should start without errors.
    6. Try to install or to uninstall again.

    If the problem persists, go to method 3.

    Method 3: Check your version of Windows Installer, and upgrade to the latest version if it is needed

    Important This method applies to Windows XP, to Windows Vista, to Windows Server 2003, to Windows Server 2003 R2, and to Windows Server 2008 only.

    1. Click Start , type cmd in the Search box or click Run then type services.msc in the dialog (Windows XP or Windows Server 2003), and then press Enter to open a Command Prompt window.
    2. At the Command Prompt window, type MSIExec, and then press Enter. If the MSI engine is working, there should be no error messages, and a separate dialog box should open. This shows the MSI version.
    3. If the installer version is not version 4.5, see the following article in the Microsoft Knowledge Base for information and for a link to download Windows installer 4.5:

    942288 Windows Installer 4.5 is available

    1. Try to install or to uninstall again.

    If the problem persists, go to method 4.

    Method 4: Reregister the installer engine

    Important This method applies to Windows XP and to Windows Server 2000 only.

    1. Click Start, click Run then type cmd in the dialog, and then click Command Prompt.
    2. At the command prompt, type the following, and then press Enter after each line:

    ·         MSIExec /unregister

    ·         MSIExec /regserver

    1. Try to install or to uninstall again.

     

    If the issue still occurs after these steps, I recommend:

    • Start>>Type “regedit”
    • Check this path: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSIServer]. If you can find a sub key “Enum”under this path, I recommend you delete this key.

    NOTE: Before you delete this key ,please copy your registry. To do so: Right click the key “[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSIServer]”. Then select “Export”, and save your copy file.

     

    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.

    • Marked as answer by Alexander Sun Friday, November 11, 2011 2:56 AM
    Friday, November 04, 2011 9:47 AM