windows 7 - Getting .net error while installing Github

08
2014-07
  • Narendran Solai Sridharan

    Github Installation failed with the below error.

    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\NAREND~1\AppData\Local\Temp\VSD5C33.tmp\install.log' for more information.

    The log states that some registry is not setting, not getting what is it.

    Below is the install.log

    The following properties have been set:
    Property: [AdminUser] = true {boolean}
    Property: [InstallMode] = HomeSite {string}
    Property: [NTProductType] = 1 {int}
    Property: [ProcessorArchitecture] = AMD64 {string}
    Property: [VersionNT] = 6.0.0 {version}
    Running checks for package 'Windows Installer 4.5', phase BuildList
    Looking up path for special folder 'WindowsFolder'
    Running check with folder 'C:\Windows\System32' and file 'msi.dll'
    Attempting to find file 'C:\Windows\System32\msi.dll'
    File version is '5.0.7600.16385'
    Setting value '5.0.7600.16385 {version}' for property 'VersionMsiDll'
    The following properties have been set for package 'Windows Installer 4.5':
    Property: [VersionMsiDll] = 5.0.7600.16385 {version}
    Running checks for command 'WindowsInstaller4_5\WindowsXP-KB942288-v3-x86.exe'
    Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '4.5': true
    Result of checks for command 'WindowsInstaller4_5\WindowsXP-KB942288-v3-x86.exe' is 'Bypass'
    Running checks for command 'WindowsInstaller4_5\WindowsXP-KB958655-v2-x86-ENU.exe'
    Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsiDll' and value '4.5.6001.22299': true
    Result of checks for command 'WindowsInstaller4_5\WindowsXP-KB958655-v2-x86-ENU.exe' is 'Bypass'
    Running checks for command 'WindowsInstaller4_5\WindowsServer2003-KB942288-v4-x86.exe'
    Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '4.5': true
    Result of checks for command 'WindowsInstaller4_5\WindowsServer2003-KB942288-v4-x86.exe' is 'Bypass'
    Running checks for command 'WindowsInstaller4_5\WindowsServer2003-KB958655-v2-x86-ENU.exe'
    Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsiDll' and value '4.5.6001.22299': true
    Result of checks for command 'WindowsInstaller4_5\WindowsServer2003-KB958655-v2-x86-ENU.exe' is 'Bypass'
    Running checks for command 'WindowsInstaller4_5\WindowsServer2003-KB942288-v4-x64.exe'
    Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '4.5': true
    Result of checks for command 'WindowsInstaller4_5\WindowsServer2003-KB942288-v4-x64.exe' is 'Bypass'
    Running checks for command 'WindowsInstaller4_5\WindowsServer2003.WindowsXP-KB958655-v2-x64-ENU.exe'
    Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsiDll' and value '4.5.6001.22299': true
    Result of checks for command 'WindowsInstaller4_5\WindowsServer2003.WindowsXP-KB958655-v2-x64-ENU.exe' is 'Bypass'
    Running checks for command 'WindowsInstaller4_5\Windows6.0-KB958655-v2-x86.MSU'
    Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsiDll' and value '4.5.6001.22308': true
    Result of checks for command 'WindowsInstaller4_5\Windows6.0-KB958655-v2-x86.MSU' is 'Bypass'
    Running checks for command 'WindowsInstaller4_5\Windows6.0-KB958655-v2-x64.MSU'
    Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsiDll' and value '4.5.6001.22308': true
    Result of checks for command 'WindowsInstaller4_5\Windows6.0-KB958655-v2-x64.MSU' is 'Bypass'
    'Windows Installer 4.5' 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\NAREND~1\AppData\Local\Temp\VSD5C33.tmp\"
    Downloading files to "C:\Users\NAREND~1\AppData\Local\Temp\VSD5C33.tmp\"
    (28-05-2014 22:36:17) Downloading 'DotNetFX40\dotNetFx40_Full_setup.exe' from 'http://go.microsoft.com/fwlink/?linkid=182805' to 'C:\Users\NAREND~1\AppData\Local\Temp\VSD5C33.tmp\'
    Download completed at 28-05-2014 22:36:18
    Verifying file integrity of C:\Users\NAREND~1\AppData\Local\Temp\VSD5C33.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\NAREND~1\AppData\Local\Temp\VSD5C33.tmp\DotNetFX40\dotNetFx40_Full_setup.exe
    WinVerifyTrust returned 0
    File trusted
    Installing using command 'C:\Users\NAREND~1\AppData\Local\Temp\VSD5C33.tmp\DotNetFX40\dotNetFx40_Full_setup.exe' and parameters ' /q /norestart /ChainingPackage FullX64Bootstrapper /lcid 1033'
    Process exited with code 1060
    Status of package 'Microsoft .NET Framework 4 (x86 and x64)' after install is 'InstallFailed'
    

    How to resolve this Issue?

  • Answers
  • Narendran Solai Sridharan
    %SYSTEMROOT%\SYSTEM32\REGSVR32.EXE %SYSTEMROOT%\SYSTEM32\WUAUENG.DLL
    

    Running the above command did resolve this issue. Got the Answer from the below Link.

    [http://stackoverflow.com/questions/22283381/how-to-fix-this-error-while-installing-github-on-windows-7-64bit][1]


  • Related Question

    installation - "Turn Windows Features on or off" when installing .NET 3.5 SP1?
  • user1413

    I am trying to install a program on my Windows 7 machine and it says that I need to have .NET 2.0 or later installed. Since Windows 7 comes with .NET pre-installed, I called support and they told me to just re-install .NET since my .NET install is probably corrupted. The program I am trying to install is SNGWiz. I do not think its installer is borked.

    However, when I install .NET 3.5 SP1 using the download from the Microsoft .NET web site, I get the following error:

    You must use 'Turn Windows features on or off' in the Control Panel to install or configure Microsoft .NET Framework 3.5 SP1.

    I have gone to the Windows Features on/off panel and have turned 3.5 both on and off and have tried to re-install .NET 3.5 SP1 under both situations. But it has failed with the same error.

    What can I do?


  • Related Answers
  • flutch

    no i am with the origional poster, even just switching it on doesnt help, try and update the .net framework with it on or off gives no difference, try to install the software after switching it on achieves nothing to, this is a major flaw in the system,

  • Stephen Jennings

    No need to install. Just turn it "On".

    The .NET Framework 3.5 is a built-in part of Windows in Windows 7. Turning the feature on is all that is necessary; the installers are built for previous versions of Windows.

  • Seba Illingworth

    Is .NET 4.0 already installed? This might be a problem for their installer?

    The registry version key changed with 4.0, and depending how they check for .NET this might break their installer - it did for us, and the message you get is one that we saw too.

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\<...>\<Version>
    
  • Joel Coehoorn

    I see this:

    it says that I need to have .NET 2.0 or later installed.

    and this:

    I install .NET 3.5 SP1

    You should think of .Net 3.5 as more of a "plus pack" for .Net 2.0, as 3.5 still relies on the same core runtime from the earlier 2.0 release. Adding and removing 3.5 won't help you fix something broken with your 2.0 installation. To really be sure you have a good .Net installation, actually remove and reinstall .Net 2.0, not 3.5.