Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

DotNet Core Setup Failed

When install DotNet Core on my windows 10 laptop(DotNetCore.1.0.0.RC2-VS2015Tools.Preview1),the runtime package setup failed.

I found some error information from the install log file:

web developer tool info:

[037C:1EC0][2016-06-19T11:07:26]e000: Error 0x80070643: Failed to install MSI package.
[037C:1EC0][2016-06-19T11:07:26]e000: Error 0x80070643: Failed to execute MSI package.
[2E70:3228][2016-06-19T11:07:26]e000: Error 0x80070643: Failed to configure per-machine MSI package.
[2E70:3228][2016-06-19T11:07:26]i319: Applied execute package: WebToolsExtensionsVS14, result: 0x80070643, restart: None
[2E70:3228][2016-06-19T11:07:26]e000: Error 0x80070643: Failed to execute MSI package.
[037C:1EC0][2016-06-19T11:07:26]i318: Skipped rollback of package: WebToolsExtensionsVS14, action: Uninstall, already: Absent
[2E70:3228][2016-06-19T11:07:26]i319: Applied rollback package: WebToolsExtensionsVS14, result: 0x0, restart: None
[037C:1EC0][2016-06-19T11:07:26]i351: Removing cached package: WebToolsExtensionsVS14, from path: C:\ProgramData\Package Cache\{1F275091-F18D-37F3-8A70-8E6CE66BB1A8}v14.1.20512.0\
[037C:1EC0][2016-06-19T11:07:26]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{22041006-8484-4b8d-a13c-40189695de2f}, resume: ARP, restart: None, disable resume: No
[037C:1EC0][2016-06-19T11:07:26]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{22041006-8484-4b8d-a13c-40189695de2f}, resume: ARP, restart initiated: No, disable resume: No
[2E70:3228][2016-06-19T11:07:26]i399: Apply complete, result: 0x80070643, restart: None, ba requested restart:  No
like image 992
Ajit Goel Avatar asked Jun 19 '16 16:06

Ajit Goel


People also ask

How do I fix failed to install .NET Framework?

Reboot your computer and try installing the NET Framework. If still getting the same error message then try following the below-given steps. Open CMD (Command Prompt) in administrator mode. In the command prompt window, type the following command “net stop wuauserv” and press the enter button to stop the service.

Why is .NET Framework not installing?

You do not have sufficient privileges to complete this operation for all users of this computer. Log on as an administrator and rerun Setup. You must be an administrator on the computer to install the . NET Framework.

Why is Net Framework 3.5 not installing?

Here we show you how to solve this issue. First, you can check if the component is already installed on your device. Go to Control Panel > Programs > Turn Windows features on or off, verify if . NET Framework 3.5 checkbox is selected and then proceed with the software installation.


2 Answers

Another Solution is to:

  1. go to the folder where you have downloaded the installer
  2. open the command prompt by Shift+right click -> Open command window here
  3. Type - dotnetcore.1.0.0-vs2015tools.preview2 SKIP_VSU_CHECK=1 and hit enter

This should skip the VS update check and start the installation normally.

like image 156
CoOl Avatar answered Sep 30 '22 22:09

CoOl


I was able to fix this issue by

  1. turning off Antivirus
  2. clearing the %temp% folder
  3. running the DotNet Core (DotNetCore.1.0.0.RC2-VS2015Tools.Preview1) again in repair mode
like image 33
Ajit Goel Avatar answered Sep 30 '22 23:09

Ajit Goel