runtime icon indicating copy to clipboard operation
runtime copied to clipboard

.Net Core 1.0.4 will not install. All Core removed from machine and cannot put it back on

Open livarcocc opened this issue 9 years ago • 7 comments

From @Mattacks on April 6, 2017 12:51

Steps to reproduce

Download .Net Core 1.0.4 runtime rom the main landing page Start Install

Expected behavior

.Net core installed

Actual behavior

Get error 0x8007066 - Another version of this product is installed. But it is not. There is no programfiles\dotnet folder Add/remove programs does not list anything related to core

Log

[376C:0540][2017-04-06T13:48:28]i001: Burn v3.10.2.2516, Windows v10.0 (Build 14393: Service Pack 0), path: C:\Users\myusername\AppData\Local\Temp{309325F7-E4A3-49D0-94A9-46E85AA563CB}.cr\dotnet-win-x64.1.0.4 (2).exe [376C:0540][2017-04-06T13:48:28]i000: Initializing string variable 'DOTNETHOME' to value '[ProgramFiles6432Folder]dotnet' [376C:0540][2017-04-06T13:48:28]i000: Initializing string variable 'BUNDLEMONIKER' to value 'Microsoft .NET Core 1.0.4 - Runtime' [376C:0540][2017-04-06T13:48:28]i009: Command Line: '"-burn.clean.room=D:\Downloads\dotnet-win-x64.1.0.4 (2).exe"' [376C:0540][2017-04-06T13:48:28]i000: Setting string variable 'WixBundleOriginalSource' to value 'D:\Downloads\dotnet-win-x64.1.0.4 (2).exe' [376C:0540][2017-04-06T13:48:28]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'D:\Downloads' [376C:0540][2017-04-06T13:48:28]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\myusername\AppData\Local\Temp\Microsoft_.NET_Core_1.0.4_-Runtime(x64)20170406134828.log' [376C:0540][2017-04-06T13:48:28]i000: Setting string variable 'WixBundleName' to value 'Microsoft .NET Core 1.0.4 - Runtime (x64)' [376C:0540][2017-04-06T13:48:28]i000: Setting string variable 'WixBundleManufacturer' to value 'Microsoft Corporation' [376C:26C8][2017-04-06T13:48:28]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033 [376C:26C8][2017-04-06T13:48:28]i000: Setting version variable 'WixBundleFileVersion' to value '1.0.4.4764' [376C:0540][2017-04-06T13:48:28]i100: Detect begin, 4 packages [376C:0540][2017-04-06T13:48:28]i000: Setting numeric variable 'VCRedist_KeyExists' to value 1 [376C:0540][2017-04-06T13:48:28]i000: Setting string variable 'VCRedist_KeyValue' to value 'v14.0.23026.00' [376C:0540][2017-04-06T13:48:28]w120: Detected partially cached package: VC_redist.x64.exe, invalid payload: VC_redist.x64.exe, reason: 0x80070002 [376C:0540][2017-04-06T13:48:28]i052: Condition '(VCRedist_KeyExists AND VCRedist_KeyValue >= "v14.0.23506.00")' evaluates to false. [376C:0540][2017-04-06T13:48:28]i101: Detected package: VC_redist.x64.exe, state: Absent, cached: Partial [376C:0540][2017-04-06T13:48:28]i101: Detected package: dotnet_sharedframework_win_x64.1.0.4.msi, state: Absent, cached: Complete [376C:0540][2017-04-06T13:48:28]i101: Detected package: dotnet_hostfxr_win_x64.1.0.1.msi, state: Absent, cached: Complete [376C:0540][2017-04-06T13:48:28]i101: Detected package: dotnet_host_win_x64.1.0.1.msi, state: Absent, cached: Complete [376C:0540][2017-04-06T13:48:28]i199: Detect complete, result: 0x0 [376C:26C8][2017-04-06T13:48:49]i000: Setting numeric variable 'EulaAcceptCheckbox' to value 1 [376C:0540][2017-04-06T13:48:49]i200: Plan begin, 4 packages, action: Install [376C:0540][2017-04-06T13:48:49]w321: Skipping dependency registration on package with no dependency providers: VC_redist.x64.exe [376C:0540][2017-04-06T13:48:49]i000: Setting string variable 'WixBundleLog_VC_redist.x64.exe' to value 'C:\Users\myusername\AppData\Local\Temp\Microsoft.NET_Core_1.0.4_-Runtime(x64)20170406134828_000_VC_redist.x64.exe.log' [376C:0540][2017-04-06T13:48:49]i000: Setting string variable 'WixBundleRollbackLog_dotnet_sharedframework_win_x64.1.0.4.msi' to value 'C:\Users\myusername\AppData\Local\Temp\Microsoft.NET_Core_1.0.4_-Runtime(x64)20170406134828_001_dotnet_sharedframework_win_x64.1.0.4.msi_rollback.log' [376C:0540][2017-04-06T13:48:49]i000: Setting string variable 'WixBundleLog_dotnet_sharedframework_win_x64.1.0.4.msi' to value 'C:\Users\myusername\AppData\Local\Temp\Microsoft.NET_Core_1.0.4_-Runtime(x64)20170406134828_001_dotnet_sharedframework_win_x64.1.0.4.msi.log' [376C:0540][2017-04-06T13:48:49]i000: Setting string variable 'WixBundleRollbackLog_dotnet_hostfxr_win_x64.1.0.1.msi' to value 'C:\Users\myusername\AppData\Local\Temp\Microsoft.NET_Core_1.0.4_-Runtime(x64)20170406134828_002_dotnet_hostfxr_win_x64.1.0.1.msi_rollback.log' [376C:0540][2017-04-06T13:48:49]i000: Setting string variable 'WixBundleLog_dotnet_hostfxr_win_x64.1.0.1.msi' to value 'C:\Users\myusername\AppData\Local\Temp\Microsoft.NET_Core_1.0.4_-Runtime(x64)20170406134828_002_dotnet_hostfxr_win_x64.1.0.1.msi.log' [376C:0540][2017-04-06T13:48:49]i000: Setting string variable 'WixBundleRollbackLog_dotnet_host_win_x64.1.0.1.msi' to value 'C:\Users\myusername\AppData\Local\Temp\Microsoft.NET_Core_1.0.4_-Runtime(x64)20170406134828_003_dotnet_host_win_x64.1.0.1.msi_rollback.log' [376C:0540][2017-04-06T13:48:49]i000: Setting string variable 'WixBundleLog_dotnet_host_win_x64.1.0.1.msi' to value 'C:\Users\myusername\AppData\Local\Temp\Microsoft.NET_Core_1.0.4_-Runtime(x64)_20170406134828_003_dotnet_host_win_x64.1.0.1.msi.log' [376C:0540][2017-04-06T13:48:49]i201: Planned package: VC_redist.x64.exe, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: No, dependency: None [376C:0540][2017-04-06T13:48:49]i201: Planned package: dotnet_sharedframework_win_x64.1.0.4.msi, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register [376C:0540][2017-04-06T13:48:49]i201: Planned package: dotnet_hostfxr_win_x64.1.0.1.msi, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register [376C:0540][2017-04-06T13:48:49]i201: Planned package: dotnet_host_win_x64.1.0.1.msi, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register [376C:0540][2017-04-06T13:48:49]i299: Plan complete, result: 0x0 [376C:0540][2017-04-06T13:48:49]i300: Apply begin [376C:0540][2017-04-06T13:48:49]i010: Launching elevated engine process. [376C:0540][2017-04-06T13:48:51]i011: Launched elevated engine process. [376C:0540][2017-04-06T13:48:51]i012: Connected to elevated engine. [30F8:30F4][2017-04-06T13:48:51]i358: Pausing automatic updates. [30F8:30F4][2017-04-06T13:48:51]i359: Paused automatic updates. [30F8:30F4][2017-04-06T13:48:51]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{5c2649b4-8b21-487a-a72a-175a4ad995be}, options: 0x7, disable resume: No [30F8:30F4][2017-04-06T13:48:51]i000: Caching bundle from: 'C:\Users\myusername\AppData\Local\Temp{D93D2A24-ED4F-4C78-88FA-A2C20B17C5D4}.be\dotnet-win-x64.1.0.4.exe' to: 'C:\ProgramData\Package Cache{5c2649b4-8b21-487a-a72a-175a4ad995be}\dotnet-win-x64.1.0.4.exe' [30F8:30F4][2017-04-06T13:48:51]i320: Registering bundle dependency provider: {5c2649b4-8b21-487a-a72a-175a4ad995be}, version: 1.0.4.4764 [30F8:30F4][2017-04-06T13:48:51]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{5c2649b4-8b21-487a-a72a-175a4ad995be}, resume: Active, restart initiated: No, disable resume: No [376C:3610][2017-04-06T13:48:51]w343: Prompt for source of package: VC_redist.x64.exe, payload: VC_redist.x64.exe, path: D:\Downloads\VC_redist.x64.exe [376C:3610][2017-04-06T13:48:51]i338: Acquiring package: VC_redist.x64.exe, payload: VC_redist.x64.exe, download from: https://download.microsoft.com/download/1/F/0/1F01DD22-748C-41A7-89DE-54D64355CDA6/vc_redist.x64.exe [30F8:2694][2017-04-06T13:48:53]i305: Verified acquired payload: VC_redist.x64.exe at path: C:\ProgramData\Package Cache.unverified\VC_redist.x64.exe, moving to: C:\ProgramData\Package Cache\10B1683EA3FF5F36F225769244BF7E7813D54AD0\VC_redist.x64.exe. [30F8:30F4][2017-04-06T13:48:53]i301: Applying execute package: VC_redist.x64.exe, action: Install, path: C:\ProgramData\Package Cache\10B1683EA3FF5F36F225769244BF7E7813D54AD0\VC_redist.x64.exe, arguments: '"C:\ProgramData\Package Cache\10B1683EA3FF5F36F225769244BF7E7813D54AD0\VC_redist.x64.exe" /q /norestart' [30F8:2694][2017-04-06T13:48:53]i304: Verified existing payload: dotnet_sharedframework_win_x64.1.0.4.msi at path: C:\ProgramData\Package Cache{2B1BE032-963B-4E7C-81A3-37EFBCECC89B}v1.0.4\dotnet-sharedframework-win-x64.1.0.4.msi. [30F8:2694][2017-04-06T13:48:53]i304: Verified existing payload: dotnet_hostfxr_win_x64.1.0.1.msi at path: C:\ProgramData\Package Cache{345454EC-558E-4A99-B62C-DA39FC7722F8}v4.0.21148\dotnet-hostfxr-win-x64.1.0.1.msi. [30F8:2694][2017-04-06T13:48:53]i304: Verified existing payload: dotnet_host_win_x64.1.0.1.msi at path: C:\ProgramData\Package Cache{77C2864D-78AA-4974-BD7A-ED658EB8C52E}v4.0.21148\dotnet-host-win-x64.1.0.1.msi. [30F8:30F4][2017-04-06T13:48:53]e000: Error 0x80070666: Process returned error: 0x666 [30F8:30F4][2017-04-06T13:48:53]e000: Error 0x80070666: Failed to execute EXE package. [376C:0540][2017-04-06T13:48:53]e000: Error 0x80070666: Failed to configure per-machine EXE package. [376C:0540][2017-04-06T13:48:53]i319: Applied execute package: VC_redist.x64.exe, result: 0x80070666, restart: None [376C:0540][2017-04-06T13:48:53]e000: Error 0x80070666: Failed to execute EXE package. [30F8:30F4][2017-04-06T13:48:53]i351: Removing cached package: VC_redist.x64.exe, from path: C:\ProgramData\Package Cache\10B1683EA3FF5F36F225769244BF7E7813D54AD0
[30F8:30F4][2017-04-06T13:48:53]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{5c2649b4-8b21-487a-a72a-175a4ad995be}, resume: None, restart: None, disable resume: No [30F8:30F4][2017-04-06T13:48:53]i330: Removed bundle dependency provider: {5c2649b4-8b21-487a-a72a-175a4ad995be} [30F8:30F4][2017-04-06T13:48:53]i352: Removing cached bundle: {5c2649b4-8b21-487a-a72a-175a4ad995be}, from path: C:\ProgramData\Package Cache{5c2649b4-8b21-487a-a72a-175a4ad995be}
[30F8:30F4][2017-04-06T13:48:53]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{5c2649b4-8b21-487a-a72a-175a4ad995be}, resume: None, restart initiated: No, disable resume: No [376C:0540][2017-04-06T13:48:54]i399: Apply complete, result: 0x80070666, restart: None, ba requested restart: No

Copied from original issue: dotnet/cli#6259

livarcocc avatar Apr 06 '17 16:04 livarcocc

@gkhanna79 another issue due to VC_Redist.

livarcocc avatar Apr 06 '17 16:04 livarcocc

This is a VC redist installer issue and not a Core-Setup installer issue, right?

gkhanna79 avatar Apr 06 '17 16:04 gkhanna79

Repairing the VC++ redistributables has made it work. It's still a bug though. I don't see how you can close it without some 'work'. E.G. to detect the condition in your installer

Mattacks avatar Apr 06 '17 18:04 Mattacks

The issue is not closed yet @Mattacks

gkhanna79 avatar Apr 06 '17 18:04 gkhanna79

x666 = 1638. This should be treated as success and we should fix it in 1.0.X and 1.1.X. This dependency is gone in 2.0.

Petermarcu avatar Apr 06 '17 22:04 Petermarcu

Getting fixed in https://github.com/dotnet/core-setup/pull/1982 and https://github.com/dotnet/core-setup/pull/1983

gkhanna79 avatar Apr 06 '17 23:04 gkhanna79

Closing since the PRs are merged.

gkhanna79 avatar Apr 07 '17 04:04 gkhanna79