fail to install latest dotnet core
when I tried to install the latest version of dotnet core (1.1.1) it gives me the following error (both the runtime and the sdk):
ox80070666 - Another version of this product is already installed. Installation of this version cannot continue.
I am pretty sure the previous versions are removed via control panel.
here is the full log:
[1D20:21D4][2017-04-07T00:56:39]i001: Burn v3.10.2.2516, Windows v10.0 (Build 14393: Service Pack 0), path: C:\Users\zcsxo\AppData\Local\Temp\{9403C5BE-90B9-4BE2-A11E-42446AE03B2F}\.cr\dotnet-win-x64.1.1.1.exe
[1D20:21D4][2017-04-07T00:56:39]i000: Initializing string variable 'DOTNETHOME' to value '[ProgramFiles6432Folder]dotnet'
[1D20:21D4][2017-04-07T00:56:39]i000: Initializing string variable 'BUNDLEMONIKER' to value 'Microsoft .NET Core 1.1.1 - Runtime'
[1D20:21D4][2017-04-07T00:56:39]i009: Command Line: '-burn.clean.room=C:\Users\zcsxo\AppData\Local\Temp\chocolatey\dotnetcore-runtime.install\1.1.1\dotnet-win-x64.1.1.1.exe'
[1D20:21D4][2017-04-07T00:56:39]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\zcsxo\AppData\Local\Temp\chocolatey\dotnetcore-runtime.install\1.1.1\dotnet-win-x64.1.1.1.exe'
[1D20:21D4][2017-04-07T00:56:39]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\zcsxo\AppData\Local\Temp\chocolatey\dotnetcore-runtime.install\1.1.1\'
[1D20:21D4][2017-04-07T00:56:39]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\zcsxo\AppData\Local\Temp\Microsoft_.NET_Core_1.1.1_-_Runtime_(x64)_20170407005639.log'
[1D20:21D4][2017-04-07T00:56:39]i000: Setting string variable 'WixBundleName' to value 'Microsoft .NET Core 1.1.1 - Runtime (x64)'
[1D20:21D4][2017-04-07T00:56:39]i000: Setting string variable 'WixBundleManufacturer' to value 'Microsoft Corporation'
[1D20:2D6C][2017-04-07T00:56:39]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033
[1D20:2D6C][2017-04-07T00:56:39]i000: Setting version variable 'WixBundleFileVersion' to value '1.1.1.1374'
[1D20:21D4][2017-04-07T00:56:39]i100: Detect begin, 4 packages
[1D20:21D4][2017-04-07T00:56:39]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\x64'
[1D20:21D4][2017-04-07T00:56:39]i000: Setting numeric variable 'VCRedist_KeyExists' to value 0
[1D20:21D4][2017-04-07T00:56:39]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\x64'
[1D20:21D4][2017-04-07T00:56:39]w120: Detected partially cached package: VC_redist.x64.exe, invalid payload: VC_redist.x64.exe, reason: 0x80070002
[1D20:21D4][2017-04-07T00:56:39]i052: Condition '(VCRedist_KeyExists AND VCRedist_KeyValue >= "v14.0.23506.00")' evaluates to false.
[1D20:21D4][2017-04-07T00:56:39]i101: Detected package: VC_redist.x64.exe, state: Absent, cached: Partial
[1D20:21D4][2017-04-07T00:56:39]i101: Detected package: dotnet_sharedframework_win_x64.1.1.1.msi, state: Absent, cached: Complete
[1D20:21D4][2017-04-07T00:56:39]i101: Detected package: dotnet_hostfxr_win_x64.1.1.0.msi, state: Absent, cached: Complete
[1D20:21D4][2017-04-07T00:56:39]i101: Detected package: dotnet_host_win_x64.1.1.0.msi, state: Absent, cached: Complete
[1D20:21D4][2017-04-07T00:56:39]i199: Detect complete, result: 0x0
[1D20:2D6C][2017-04-07T00:56:43]i000: Setting numeric variable 'EulaAcceptCheckbox' to value 1
[1D20:21D4][2017-04-07T00:56:43]i200: Plan begin, 4 packages, action: Install
[1D20:21D4][2017-04-07T00:56:43]w321: Skipping dependency registration on package with no dependency providers: VC_redist.x64.exe
[1D20:21D4][2017-04-07T00:56:43]i000: Setting string variable 'WixBundleLog_VC_redist.x64.exe' to value 'C:\Users\zcsxo\AppData\Local\Temp\Microsoft_.NET_Core_1.1.1_-_Runtime_(x64)_20170407005639_000_VC_redist.x64.exe.log'
[1D20:21D4][2017-04-07T00:56:43]i000: Setting string variable 'WixBundleRollbackLog_dotnet_sharedframework_win_x64.1.1.1.msi' to value 'C:\Users\zcsxo\AppData\Local\Temp\Microsoft_.NET_Core_1.1.1_-_Runtime_(x64)_20170407005639_001_dotnet_sharedframework_win_x64.1.1.1.msi_rollback.log'
[1D20:21D4][2017-04-07T00:56:43]i000: Setting string variable 'WixBundleLog_dotnet_sharedframework_win_x64.1.1.1.msi' to value 'C:\Users\zcsxo\AppData\Local\Temp\Microsoft_.NET_Core_1.1.1_-_Runtime_(x64)_20170407005639_001_dotnet_sharedframework_win_x64.1.1.1.msi.log'
[1D20:21D4][2017-04-07T00:56:43]i000: Setting string variable 'WixBundleRollbackLog_dotnet_hostfxr_win_x64.1.1.0.msi' to value 'C:\Users\zcsxo\AppData\Local\Temp\Microsoft_.NET_Core_1.1.1_-_Runtime_(x64)_20170407005639_002_dotnet_hostfxr_win_x64.1.1.0.msi_rollback.log'
[1D20:21D4][2017-04-07T00:56:43]i000: Setting string variable 'WixBundleLog_dotnet_hostfxr_win_x64.1.1.0.msi' to value 'C:\Users\zcsxo\AppData\Local\Temp\Microsoft_.NET_Core_1.1.1_-_Runtime_(x64)_20170407005639_002_dotnet_hostfxr_win_x64.1.1.0.msi.log'
[1D20:21D4][2017-04-07T00:56:43]i000: Setting string variable 'WixBundleRollbackLog_dotnet_host_win_x64.1.1.0.msi' to value 'C:\Users\zcsxo\AppData\Local\Temp\Microsoft_.NET_Core_1.1.1_-_Runtime_(x64)_20170407005639_003_dotnet_host_win_x64.1.1.0.msi_rollback.log'
[1D20:21D4][2017-04-07T00:56:43]i000: Setting string variable 'WixBundleLog_dotnet_host_win_x64.1.1.0.msi' to value 'C:\Users\zcsxo\AppData\Local\Temp\Microsoft_.NET_Core_1.1.1_-_Runtime_(x64)_20170407005639_003_dotnet_host_win_x64.1.1.0.msi.log'
[1D20:21D4][2017-04-07T00:56:43]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
[1D20:21D4][2017-04-07T00:56:43]i201: Planned package: dotnet_sharedframework_win_x64.1.1.1.msi, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register
[1D20:21D4][2017-04-07T00:56:43]i201: Planned package: dotnet_hostfxr_win_x64.1.1.0.msi, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register
[1D20:21D4][2017-04-07T00:56:43]i201: Planned package: dotnet_host_win_x64.1.1.0.msi, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register
[1D20:21D4][2017-04-07T00:56:43]i299: Plan complete, result: 0x0
[1D20:21D4][2017-04-07T00:56:43]i300: Apply begin
[1D20:21D4][2017-04-07T00:56:43]i010: Launching elevated engine process.
[1D20:21D4][2017-04-07T00:56:46]i011: Launched elevated engine process.
[1D20:21D4][2017-04-07T00:56:46]i012: Connected to elevated engine.
[2CDC:2008][2017-04-07T00:56:46]i358: Pausing automatic updates.
[2CDC:2008][2017-04-07T00:56:46]i359: Paused automatic updates.
[2CDC:2008][2017-04-07T00:56:46]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{a9438789-f132-4bc7-9ba3-af66003fce79}, options: 0x7, disable resume: No
[2CDC:2008][2017-04-07T00:56:46]i000: Caching bundle from: 'C:\Users\zcsxo\AppData\Local\Temp\{2E87B482-1AE3-42C9-A92E-63AEA85CC779}\.be\dotnet-win-x64.1.1.1.exe' to: 'C:\ProgramData\Package Cache\{a9438789-f132-4bc7-9ba3-af66003fce79}\dotnet-win-x64.1.1.1.exe'
[2CDC:2008][2017-04-07T00:56:46]i320: Registering bundle dependency provider: {a9438789-f132-4bc7-9ba3-af66003fce79}, version: 1.1.1.1374
[2CDC:2008][2017-04-07T00:56:46]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{a9438789-f132-4bc7-9ba3-af66003fce79}, resume: Active, restart initiated: No, disable resume: No
[1D20:2C30][2017-04-07T00:56:46]w343: Prompt for source of package: VC_redist.x64.exe, payload: VC_redist.x64.exe, path: C:\Users\zcsxo\AppData\Local\Temp\chocolatey\dotnetcore-runtime.install\1.1.1\VC_redist.x64.exe
[1D20:2C30][2017-04-07T00:56:46]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
[2CDC:29FC][2017-04-07T00:56:54]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.
[2CDC:2008][2017-04-07T00:56:54]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'
[2CDC:29FC][2017-04-07T00:56:54]i304: Verified existing payload: dotnet_sharedframework_win_x64.1.1.1.msi at path: C:\ProgramData\Package Cache\{5C55840C-94E5-40CB-B709-15A0F57D7637}v1.1.1\dotnet-sharedframework-win-x64.1.1.1.msi.
[2CDC:29FC][2017-04-07T00:56:54]i304: Verified existing payload: dotnet_hostfxr_win_x64.1.1.0.msi at path: C:\ProgramData\Package Cache\{F70725AC-A5A7-418B-BB66-70005DC505C2}v4.16.1374\dotnet-hostfxr-win-x64.1.1.0.msi.
[2CDC:29FC][2017-04-07T00:56:54]i304: Verified existing payload: dotnet_host_win_x64.1.1.0.msi at path: C:\ProgramData\Package Cache\{CA2A9E77-78D9-4BCC-BA1F-1F9E3E795329}v4.16.1374\dotnet-host-win-x64.1.1.0.msi.
[2CDC:2008][2017-04-07T00:56:55]e000: Error 0x80070666: Process returned error: 0x666
[2CDC:2008][2017-04-07T00:56:55]e000: Error 0x80070666: Failed to execute EXE package.
[1D20:21D4][2017-04-07T00:56:55]e000: Error 0x80070666: Failed to configure per-machine EXE package.
[1D20:21D4][2017-04-07T00:56:55]i319: Applied execute package: VC_redist.x64.exe, result: 0x80070666, restart: None
[1D20:21D4][2017-04-07T00:56:55]e000: Error 0x80070666: Failed to execute EXE package.
[2CDC:2008][2017-04-07T00:56:55]i351: Removing cached package: VC_redist.x64.exe, from path: C:\ProgramData\Package Cache\10B1683EA3FF5F36F225769244BF7E7813D54AD0\
[2CDC:2008][2017-04-07T00:56:55]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{a9438789-f132-4bc7-9ba3-af66003fce79}, resume: None, restart: None, disable resume: No
[2CDC:2008][2017-04-07T00:56:55]i330: Removed bundle dependency provider: {a9438789-f132-4bc7-9ba3-af66003fce79}
[2CDC:2008][2017-04-07T00:56:55]i352: Removing cached bundle: {a9438789-f132-4bc7-9ba3-af66003fce79}, from path: C:\ProgramData\Package Cache\{a9438789-f132-4bc7-9ba3-af66003fce79}\
[2CDC:2008][2017-04-07T00:56:55]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{a9438789-f132-4bc7-9ba3-af66003fce79}, resume: None, restart initiated: No, disable resume: No
[1D20:21D4][2017-04-07T00:56:55]i399: Apply complete, result: 0x80070666, restart: None, ba requested restart: No
VC redist failed to install : [1D20:21D4][2017-04-07T00:56:55]i319: Applied execute package: VC_redist.x64.exe, result: 0x80070666, restart: None
@rakeshsinghranchi . the installer needs to handle 1638 as success.
Lets use this issue to track this other issue to track getting this fixed. https://github.com/dotnet/core-setup/issues/1973#issuecomment-292273076
In fact I have installed many versions of vc redist installed via choco, it is just the installer do not pick them up:
❯ choco list -lo | Select-String vc
InputStream:76:vcredist140 14.10.25008.0
InputStream:77:vcredist2008 9.0.30729.6161
InputStream:78:vcredist2010 10.0.40219.2
InputStream:79:vcredist2012 11.0.61031
InputStream:80:vcredist2013 12.0.30501.20150616
InputStream:81:vcredist2015 14.0.24215.20170201
InputStream:82:vcredist2017 14.10.25008.0
is there any way I can by pass this error? For now my F# development has become a pain, since I cannot debug it via vscode.
Below workaround may resolve the installation issue:
- Uninstall vcredist 14.10.25008.0
- Try re-installing the setup.
the work around works!
I don't know whether this issue is still useful to you guys, if it is not, feel free to close this issue
cc @Petermarcu, @gkhanna79 , @vivmishra Glad to know that you are unblocked. Thanks for reporting the issue, the fix will be available in next release of Runtime and Sdk setup. Closing this now.