none
NET Framework 4 installation problems RRS feed

  • Question

  • Need help with install .NET Framwork 4. Got the following messages:

    Component Microsoft .NET Framework 4 (x86 and x64) has failed to install with the following error message:
    "A failure occurred attempting to install the .NET Framework 4 Full."

    The following components failed to install:
    - Microsoft .NET Framework 4 (x86 and x64)

    See the setup log file located at 'C:\Users\Palle\AppData\Local\Temp\VSD5F21.tmp\install.log' for more information.

    Install.log:
     

    The following properties have been set:
    Property: [AdminUser] = true {boolean}
    Property: [InstallMode] = HomeSite {string}
    Property: [ProcessorArchitecture] = AMD64 {string}
    Property: [VersionNT] = 6.1.1 {version}
    Running checks for package 'Windows Installer 3.1', phase BuildList
    The following properties have been set for package 'Windows Installer 3.1':
    Running checks for command 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe'
    Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '3.1': true
    Result of checks for command 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe' is 'Bypass'
    'Windows Installer 3.1' RunCheck result: No Install Needed
    Running checks for package 'Microsoft .NET Framework 4 (x86 and x64)', phase BuildList
    Reading value 'Version' of registry key 'HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Full'
    Unable to read registry value
    Not setting value for property 'DotNet40Full_TargetVersion'
    The following properties have been set for package 'Microsoft .NET Framework 4 (x86 and x64)':
    Running checks for command 'DotNetFX40\dotNetFx40_Full_x86_x64.exe'
    Result of running operator 'ValueEqualTo' on property 'InstallMode' and value 'HomeSite': true
    Result of checks for command 'DotNetFX40\dotNetFx40_Full_x86_x64.exe' is 'Bypass'
    Running checks for command 'DotNetFX40\dotNetFx40_Full_setup.exe'
    Result of running operator 'ValueNotEqualTo' on property 'InstallMode' and value 'HomeSite': false
    Skipping ByPassIf because Property 'DotNet40Full_TargetVersion' was not defined
    Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
    Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.1.2': false
    Result of running operator 'ValueEqualTo' on property 'ProcessorArchitecture' and value 'IA64': false
    Result of checks for command 'DotNetFX40\dotNetFx40_Full_setup.exe' is 'Install'
    'Microsoft .NET Framework 4 (x86 and x64)' RunCheck result: Install Needed
    EULA for components 'Microsoft .NET Framework 4 (x86 and x64)' was accepted.
    Copying files to temporary directory "C:\Users\Palle\AppData\Local\Temp\VSD5F21.tmp\"
    Downloading files to "C:\Users\Palle\AppData\Local\Temp\VSD5F21.tmp\"
    (29.1.2012 16:48:31) Downloading 'DotNetFX40\dotNetFx40_Full_setup.exe' from 'http://go.microsoft.com/fwlink/?linkid=182805' to 'C:\Users\Palle\AppData\Local\Temp\VSD5F21.tmp\'
    Download completed at 29.1.2012 16:48:32
    Verifying file integrity of C:\Users\Palle\AppData\Local\Temp\VSD5F21.tmp\DotNetFX40\dotNetFx40_Full_setup.exe
    WinVerifyTrust returned 0
    File trusted
    Running checks for package 'Microsoft .NET Framework 4 (x86 and x64)', phase BeforePackage
    Reading value 'Version' of registry key 'HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Full'
    Unable to read registry value
    Not setting value for property 'DotNet40Full_TargetVersion'
    The following properties have been set for package 'Microsoft .NET Framework 4 (x86 and x64)':
    Running checks for command 'DotNetFX40\dotNetFx40_Full_setup.exe'
    Result of running operator 'ValueNotEqualTo' on property 'InstallMode' and value 'HomeSite': false
    Skipping ByPassIf because Property 'DotNet40Full_TargetVersion' was not defined
    Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
    Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.1.2': false
    Result of running operator 'ValueEqualTo' on property 'ProcessorArchitecture' and value 'IA64': false
    Result of checks for command 'DotNetFX40\dotNetFx40_Full_setup.exe' is 'Install'
    'Microsoft .NET Framework 4 (x86 and x64)' RunCheck result: Install Needed
    Verifying file integrity of C:\Users\Palle\AppData\Local\Temp\VSD5F21.tmp\DotNetFX40\dotNetFx40_Full_setup.exe
    WinVerifyTrust returned 0
    File trusted
    Installing using command 'C:\Users\Palle\AppData\Local\Temp\VSD5F21.tmp\DotNetFX40\dotNetFx40_Full_setup.exe' and parameters ' /q /norestart /ChainingPackage FullX64Bootstrapper /lcid 1033'
    Process exited with code 5
    Status of package 'Microsoft .NET Framework 4 (x86 and x64)' after install is 'InstallFailed'
    


     

    Thursday, February 2, 2012 2:39 PM

Answers

  • Remove anything .NET Framework 4.0 with this:

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

    then, please follow these steps 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. Before running the installer, apply irarab's fix as follows:

    "I went to "C:\Windows\Microsoft.NET" there is a directory called "assembly".

    I looked in the directory and found some subdirectories with lots of old dot net 4 files. I renamed the directory assembly2 and tried to install Dot Net 4 and it worked!!!!

    (You can't delete the assembly directory unless you take ownership of it but you can rename it.)"

    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.

    If the install fails, provide complete install logs as follows:

    Collect your full 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.

    • Proposed as answer by Barry WangModerator Tuesday, February 7, 2012 7:15 AM
    • Marked as answer by Mikkola Tuesday, February 7, 2012 8:38 AM
    Friday, February 3, 2012 12:40 AM