none
.NET Framework 4 Install Failure (and Crash) RRS feed

  • Question

  • I have a system image that I am trying to update with the .NET Framework 4 (and so can consistently get the same fault) but the same update must work on one that doesn't have it installed so I started over-installing. This failed so thinking it was corrupt I decided to uninstall then re-install. Uninstall goes through fine (with 2 reboots.) When then installing the .NET Framework 4 the first time through I get the failure with error code 0x80070643 but once I click finish the actual installation crashes. Please note that I get the same result from the self-extracting zip or doing it by running the command Setup.exe /x86 /x64. The very strange thing is that when I then run the installation a second time (without rebooting) it goes through cleanly. Any ideas?

    Thanks

    LittleCoder

    Wednesday, April 25, 2012 11:25 AM

Answers

  • Hi LittleCoder,

    I have checked your errors which is like the following:

    ExecServiceConfig:  Error 0x80070005: Failed to open CaScript: C:\WINDOWS\Installer\wix{3C3901C5-3455-3E0A-A214-0B093A5070A6}.SchedServiceConfig.rmi
    ExecServiceConfig:  Error 0x80070005: Failed to open rollback CustomAction script.
    MSI (s) (F4:48) [13:31:38:718]: User policy value 'DisableRollback' is 0
    MSI (s) (F4:48) [13:31:38:718]: Machine policy value 'DisableRollback' is 0
    Action ended 13:31:38: InstallFinalize. Return value 3.

    The error 0x80070005 means you meet "Access is denied". It is very general.

    So I suggest you try review this KB, http://support.microsoft.com/kb/2249906  try check security properties of: C:\WINDOWS\Installer\wix{3C3901C5-3455-3E0A-A214-0B093A5070A6}.SchedServiceConfig.rmi

    If this doesn't resolve this issue, I'm afraid you need to open a professional support case,please have a look at this page

    http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone

    Best regards,


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


    Tuesday, May 1, 2012 9:45 AM
    Moderator

All replies

  • please run the command

    1. Please use .NET Framework Cleanup Utility to remove the  .Net framework from the machine. While running this tool never select the option “.NET Framework – All Versions”, select the option “.NET Framework 4”.  

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

    1. Check for service “Windows Presentation Foundation (WPF) 4 Font Cache Service”, If this service is present on the machine then remove the service.

    Please use the following command to remove the service ‘sc delete WPFFontCache_v0400'. After removal of service reboot the machine and retry the installation of .NET Framework 4.0

    1. After removing .NET Framework 4.0 please reboot the machine.

    1. Please download and install the .Net Framework 4.0 (http://www.microsoft.com/download/en/details.aspx?id=17718)

    Wednesday, April 25, 2012 1:38 PM
  • Hi LittleCoder,

    Welcome to the MSDN forum.

    I'm confused about your issue. Do you mean that you failed to install .NET Framework 4 on your OS? If you got this error "0x80070643" , installation will be terminated because of this error.

    But we need to know the details about this error since the error code is very common. So please collect logs with this tool:

    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.

    Additionally, can you describe "I have a system image that I am trying to update with the .NET Framework 4", not sure what you really want to do.

    Best regards,

     

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

    Thursday, April 26, 2012 6:30 AM
    Moderator
  • Jain,

    I am about to try the .NET Framwork Cleanup Utility and see what behaviour I get.

    Barry,

    My configuration is a little unusual in that I am running a virtualised version of Windows XP Home with SP3 over the top of a secondary operating system. I have an image of the hard drive of the complete system taken previously so that I can test a custom update process. The rest of the update process works OK so I am now manually trying to get the .NET Framework 4 install to work before I merge it back into the custom update.

    Effectively I have two different issues that are possibly related. Firstly I get the 0x80070643 error during the installation of the .NET Framework and so the installation was terminated. However when I press the Finish button on the installation I get the message window saying "Your application has stopped responding. Do you want to send the information to Microsoft" or something along those lines which I am referring to as a crash. You probably know the window I am referring to. I will try and run the tool you refer to in order to collect the logs you require.

    Thanks

    LittleCoder

    Thursday, April 26, 2012 9:24 AM
  • Jain,

    Running the .NET Cleanup made no difference. Stopping the service actually meant that when I ran the installation it had to repair and not install cleanly.

    Barry,

    I have uploaded two sets of vslogs.cab to https://skydrive.live.com/redir.aspx?cid=fed82de06d4e16cc&resid=FED82DE06D4E16CC!107&parid=FED82DE06D4E16CC!106&authkey=!AE7o6JnDPI8lE6w which are a clean install (after I manually un-installed) and also the repair set of logs generated when I followed Jain's instructions. Hopefully this provides you with what you need to help.

    Thanks

    LittleCoder

    Friday, April 27, 2012 8:13 AM
  • Hi LittleCoder,

    I have checked your errors which is like the following:

    ExecServiceConfig:  Error 0x80070005: Failed to open CaScript: C:\WINDOWS\Installer\wix{3C3901C5-3455-3E0A-A214-0B093A5070A6}.SchedServiceConfig.rmi
    ExecServiceConfig:  Error 0x80070005: Failed to open rollback CustomAction script.
    MSI (s) (F4:48) [13:31:38:718]: User policy value 'DisableRollback' is 0
    MSI (s) (F4:48) [13:31:38:718]: Machine policy value 'DisableRollback' is 0
    Action ended 13:31:38: InstallFinalize. Return value 3.

    The error 0x80070005 means you meet "Access is denied". It is very general.

    So I suggest you try review this KB, http://support.microsoft.com/kb/2249906  try check security properties of: C:\WINDOWS\Installer\wix{3C3901C5-3455-3E0A-A214-0B093A5070A6}.SchedServiceConfig.rmi

    If this doesn't resolve this issue, I'm afraid you need to open a professional support case,please have a look at this page

    http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone

    Best regards,


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


    Tuesday, May 1, 2012 9:45 AM
    Moderator
  • Barry,

    After going through and changing the folder permissions so that I could get in and examine the C:\WINDOWS\Installer\wix{3C3901C5-3455-3E0A-A214-0B093A5070A6}.SchedServiceConfig.rmi file permissions and taking the hidden flag off of the file I managed to successfully run the installation through first time. This was after I uninstalled it manually so while I still have a bit of work to do to get something automated to work we seem to have found a solution.

    Thanks for your help

    LittleCoder

    Wednesday, May 9, 2012 1:46 PM