Windows 10: Installing .NET Core SDK fails.

Discus and support Installing .NET Core SDK fails. in Windows 10 Installation and Upgrade to solve the problem; Hello, I am trying to install the .NET Core SDK version 2.2.203 (latest as of today), but the installation fails immediately with error, "User... Discussion in 'Windows 10 Installation and Upgrade' started by ChadAllen1, May 4, 2019.

  1. Installing .NET Core SDK fails.


    Hello,


    I am trying to install the .NET Core SDK version 2.2.203 (latest as of today), but the installation fails immediately with error, "User cancelled installation." with "Retry" and "Cancel" buttons. I did not cancel the installation. Clicking Retry immediately results in the same window appearing. I did run the installer as administrator.


    If I click "Cancel" I get a "Setup Failed" window with the following:

    Setup Failed

    One or more issues caused the setup to fail. Please fix the issues and then retry setup. For more information see the log file.


    0x80070642 - User cancelled installation.


    The referenced log file contains the following:


    [38EC:3578][2019-05-04T14:16:59]i001: Burn v3.10.4.4718, Windows v10.0 (Build 17763: Service Pack 0), path: C:\WINDOWS\Temp\{E6E7F00F-A56E-4459-969A-73A476B752A8}\.cr\dotnet-sdk-2.2.203-win-gs-x64.exe

    [38EC:3578][2019-05-04T14:16:59]i000: Initializing string variable 'DOTNETHOME' to value '[ProgramFiles6432Folder]dotnet'

    [38EC:3578][2019-05-04T14:16:59]i000: Initializing string variable 'BUNDLEMONIKER' to value 'Microsoft .NET Core SDK 2.2.203'

    [38EC:3578][2019-05-04T14:16:59]i000: Initializing string variable 'DOTNETSDKVERSION' to value '2.2.203'

    [38EC:3578][2019-05-04T14:16:59]i000: Initializing string variable 'DOTNETRUNTIMEVERSION' to value '2.2.4'

    [38EC:3578][2019-05-04T14:16:59]i000: Initializing string variable 'ASPNETCOREVERSION' to value '2.2.4'

    [38EC:3578][2019-05-04T14:16:59]i009: Command Line: '-burn.clean.room=C:\Users\ME\Downloads\dotnet-sdk-2.2.203-win-gs-x64.exe -burn.filehandle.attached=228 -burn.filehandle.self=616'

    [38EC:3578][2019-05-04T14:16:59]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\ME\Downloads\dotnet-sdk-2.2.203-win-gs-x64.exe'

    [38EC:3578][2019-05-04T14:16:59]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\ME\Downloads\'

    [38EC:3578][2019-05-04T14:16:59]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\ME\AppData\Local\Temp\Microsoft_.NET_Core_SDK_2.2.203_(x64)_20190504141659.log'

    [38EC:3578][2019-05-04T14:16:59]i000: Setting string variable 'WixBundleName' to value 'Microsoft .NET Core SDK 2.2.203 (x64)'

    [38EC:3578][2019-05-04T14:16:59]i000: Setting string variable 'WixBundleManufacturer' to value 'Microsoft Corporation'

    [38EC:2B0C][2019-05-04T14:16:59]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033

    [38EC:2B0C][2019-05-04T14:16:59]i000: Setting version variable 'WixBundleFileVersion' to value '2.2.203.0'

    [38EC:3578][2019-05-04T14:17:00]i100: Detect begin, 5 packages

    [38EC:3578][2019-05-04T14:17:00]i101: Detected package: dotnet_runtime_2.2.4_win_x64.msi, state: Absent, cached: None

    [38EC:3578][2019-05-04T14:17:00]i101: Detected package: dotnet_hostfxr_2.2.4_win_x64.msi, state: Absent, cached: None

    [38EC:3578][2019-05-04T14:17:00]i101: Detected package: dotnet_host_2.2.4_win_x64.msi, state: Absent, cached: None

    [38EC:3578][2019-05-04T14:17:00]i101: Detected package: dotnet_sdk_internal_2.2.203_win_x64.msi, state: Absent, cached: None

    [38EC:3578][2019-05-04T14:17:00]i101: Detected package: AspNetCoreSharedFramework_x64, state: Absent, cached: None

    [38EC:3578][2019-05-04T14:17:00]i199: Detect complete, result: 0x0

    [38EC:3578][2019-05-04T14:17:02]i200: Plan begin, 5 packages, action: Install

    [38EC:3578][2019-05-04T14:17:02]i000: Setting string variable 'WixBundleRollbackLog_dotnet_runtime_2.2.4_win_x64.msi' to value 'C:\Users\ME\AppData\Local\Temp\Microsoft_.NET_Core_SDK_2.2.203_(x64)_20190504141659_000_dotnet_runtime_2.2.4_win_x64.msi_rollback.log'

    [38EC:3578][2019-05-04T14:17:02]i000: Setting string variable 'WixBundleLog_dotnet_runtime_2.2.4_win_x64.msi' to value 'C:\Users\ME\AppData\Local\Temp\Microsoft_.NET_Core_SDK_2.2.203_(x64)_20190504141659_000_dotnet_runtime_2.2.4_win_x64.msi.log'

    [38EC:3578][2019-05-04T14:17:02]i000: Setting string variable 'WixBundleRollbackLog_dotnet_hostfxr_2.2.4_win_x64.msi' to value 'C:\Users\ME\AppData\Local\Temp\Microsoft_.NET_Core_SDK_2.2.203_(x64)_20190504141659_001_dotnet_hostfxr_2.2.4_win_x64.msi_rollback.log'

    [38EC:3578][2019-05-04T14:17:02]i000: Setting string variable 'WixBundleLog_dotnet_hostfxr_2.2.4_win_x64.msi' to value 'C:\Users\ME\AppData\Local\Temp\Microsoft_.NET_Core_SDK_2.2.203_(x64)_20190504141659_001_dotnet_hostfxr_2.2.4_win_x64.msi.log'

    [38EC:3578][2019-05-04T14:17:02]i000: Setting string variable 'WixBundleRollbackLog_dotnet_host_2.2.4_win_x64.msi' to value 'C:\Users\ME\AppData\Local\Temp\Microsoft_.NET_Core_SDK_2.2.203_(x64)_20190504141659_002_dotnet_host_2.2.4_win_x64.msi_rollback.log'

    [38EC:3578][2019-05-04T14:17:02]i000: Setting string variable 'WixBundleLog_dotnet_host_2.2.4_win_x64.msi' to value 'C:\Users\ME\AppData\Local\Temp\Microsoft_.NET_Core_SDK_2.2.203_(x64)_20190504141659_002_dotnet_host_2.2.4_win_x64.msi.log'

    [38EC:3578][2019-05-04T14:17:02]i000: Setting string variable 'WixBundleRollbackLog_dotnet_sdk_internal_2.2.203_win_x64.msi' to value 'C:\Users\ME\AppData\Local\Temp\Microsoft_.NET_Core_SDK_2.2.203_(x64)_20190504141659_003_dotnet_sdk_internal_2.2.203_win_x64.msi_rollback.log'

    [38EC:3578][2019-05-04T14:17:02]i000: Setting string variable 'WixBundleLog_dotnet_sdk_internal_2.2.203_win_x64.msi' to value 'C:\Users\ME\AppData\Local\Temp\Microsoft_.NET_Core_SDK_2.2.203_(x64)_20190504141659_003_dotnet_sdk_internal_2.2.203_win_x64.msi.log'

    [38EC:3578][2019-05-04T14:17:02]i052: Condition 'VersionNT64 AND (NOT OPT_NO_SHAREDFX)' evaluates to true.

    [38EC:3578][2019-05-04T14:17:02]i000: Setting string variable 'WixBundleRollbackLog_AspNetCoreSharedFramework_x64' to value 'C:\Users\ME\AppData\Local\Temp\Microsoft_.NET_Core_SDK_2.2.203_(x64)_20190504141659_004_AspNetCoreSharedFramework_x64_rollback.log'

    [38EC:3578][2019-05-04T14:17:02]i000: Setting string variable 'WixBundleLog_AspNetCoreSharedFramework_x64' to value 'C:\Users\ME\AppData\Local\Temp\Microsoft_.NET_Core_SDK_2.2.203_(x64)_20190504141659_004_AspNetCoreSharedFramework_x64.log'

    [38EC:3578][2019-05-04T14:17:02]i201: Planned package: dotnet_runtime_2.2.4_win_x64.msi, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register

    [38EC:3578][2019-05-04T14:17:02]i201: Planned package: dotnet_hostfxr_2.2.4_win_x64.msi, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register

    [38EC:3578][2019-05-04T14:17:02]i201: Planned package: dotnet_host_2.2.4_win_x64.msi, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register

    [38EC:3578][2019-05-04T14:17:02]i201: Planned package: dotnet_sdk_internal_2.2.203_win_x64.msi, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register

    [38EC:3578][2019-05-04T14:17:02]i201: Planned package: AspNetCoreSharedFramework_x64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register

    [38EC:3578][2019-05-04T14:17:02]i299: Plan complete, result: 0x0

    [38EC:3578][2019-05-04T14:17:02]i300: Apply begin

    [38EC:3578][2019-05-04T14:17:02]i010: Launching elevated engine process.

    [38EC:3578][2019-05-04T14:17:02]e000: Error 0x800704c7: Failed to launch elevated child process: C:\WINDOWS\Temp\{B183CA6D-FCEB-485A-8E10-F90553041CF6}\.be\dotnet-sdk-2.2.203-win-x64.exe

    [38EC:3578][2019-05-04T14:20:52]e000: Error 0x80070642: Failed to elevate.

    [38EC:3578][2019-05-04T14:20:52]e000: Error 0x80070642: Failed to actually elevate.

    [38EC:3578][2019-05-04T14:20:52]e000: Error 0x80070642: Failed to elevate.

    [38EC:3578][2019-05-04T14:20:52]i399: Apply complete, result: 0x80070642, restart: None, ba requested restart: No



    I have noticed problems installing various other pieces of software. All of the ones that fail seem to be ones which attempt to launch some other process with elevated privileges.

    :)
     
    ChadAllen1, May 4, 2019
    #1
  2. UFO
    ufo Win User

    Uninstall .NET Core SDK older versions

    I've got many versions of .NET Core SDK installed in my Windows 10 PC. I'm wondering if older versions can be uninstalled:

    List of installed softwares

    I'm not sure how .NET Core versioning works and if I need specific version in my PC.
     
  3. Brink Win User
    Announcing .NET Core, .NET Native and NuGet Updates in VS 2017 RC


    Read more: https://blogs.msdn.microsoft.com/dot...in-vs-2017-rc/
     
    Brink, May 4, 2019
    #3
  4. Brink Win User

    Installing .NET Core SDK fails.

    .NET Core October 2018 Update - NET Core 1.0 and 1.1


    Source: .NET Core October 2018 Update - NET Core 1.0 and 1.1 | .NET Blog
     
    Brink, May 4, 2019
    #4
Thema:

Installing .NET Core SDK fails.

Loading...
  1. Installing .NET Core SDK fails. - Similar Threads - Installing NET Core

  2. Unable to install .NET 6 SDK SOLVED

    in Windows 10 Gaming
    Unable to install .NET 6 SDK SOLVED: ***EDITI was able to locate and download the package in question, and installation then completed successfully. If you took time to read this, thank you. An application I need to run at work requires .NET 6 SDK to be installed. When I download and run the installer, it stops...
  3. Unable to install .NET 6 SDK

    in Windows 10 Gaming
    Unable to install .NET 6 SDK: An application I need to run at work requires .NET 6 SDK to be installed. When I download and run the installer, it stops and says "The feature you are trying to use is on a network resource that is unavailable. Click OK to try again, or enter an alternate path to a folder...
  4. Unable to install .NET 6 SDK

    in Windows 10 Software and Apps
    Unable to install .NET 6 SDK: An application I need to run at work requires .NET 6 SDK to be installed. When I download and run the installer, it stops and says "The feature you are trying to use is on a network resource that is unavailable. Click OK to try again, or enter an alternate path to a folder...
  5. Unable to install .NET 6 SDK

    in Windows 10 BSOD Crashes and Debugging
    Unable to install .NET 6 SDK: An application I need to run at work requires .NET 6 SDK to be installed. When I download and run the installer, it stops and says "The feature you are trying to use is on a network resource that is unavailable. Click OK to try again, or enter an alternate path to a folder...
  6. .NET SDK installation issue: SDK not recognized despite successful installation

    in Windows 10 Drivers and Hardware
    .NET SDK installation issue: SDK not recognized despite successful installation: I am encountering an issue with my .NET SDK installation on my Windows 10 Home Version 22H2, Build 19045.2604 system. Despite successfully installing the .NET SDK, I am unable to create a new project or access the installed SDKs list. I am seeking assistance in resolving this...
  7. .NET SDK installation issue: SDK not recognized despite successful installation

    in Windows 10 Gaming
    .NET SDK installation issue: SDK not recognized despite successful installation: I am encountering an issue with my .NET SDK installation on my Windows 10 Home Version 22H2, Build 19045.2604 system. Despite successfully installing the .NET SDK, I am unable to create a new project or access the installed SDKs list. I am seeking assistance in resolving this...
  8. .NET SDK installation issue: SDK not recognized despite successful installation

    in Windows 10 Software and Apps
    .NET SDK installation issue: SDK not recognized despite successful installation: I am encountering an issue with my .NET SDK installation on my Windows 10 Home Version 22H2, Build 19045.2604 system. Despite successfully installing the .NET SDK, I am unable to create a new project or access the installed SDKs list. I am seeking assistance in resolving this...
  9. Windows SDK installation failed

    in Windows 10 Installation and Upgrade
    Windows SDK installation failed: [ATTACH] 4:49:34 PM Wednesday, November 20, 2019: ------------------------------------------------------------------------------------------------- 4:49:34 PM Wednesday, November 20, 2019: [SDKSetup:Info] Begin 4:49:34 PM Wednesday, November 20, 2019: [SDKSetup:Info]...
  10. .NET Core 1.0.0 RC2 SDK Preview1

    in Windows 10 News
    .NET Core 1.0.0 RC2 SDK Preview1: .NET Core 1.0.0 RC2 SDK Preview1 Direct download links: x64: download.microsoft.com/download/2/1/0/2107669A-0DF9-4A91-A275-74735D433045/dotnet-dev-win-x64.1.0.0-preview1-002702.zip WinSvr Hosting:...