.NET CLI Installer fails with error 0x80070666 if newer CRT is installed (VC Update 3)
See original GitHub issueSteps to reproduce
- Install VS 2015 + Update 3 RC candidate. If you are a Microsoft employee, you can obtain these machines from http://xlab
- Download the CLI installer from https://dotnetcli.blob.core.windows.net/dotnet/preview/Installers/Latest/dotnet-dev-win-x64.latest.exe and try to run it.
Expected behavior
Install succeeds
Actual behavior
Install fails with this error 0x80070666.
Which is: Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel.
[1A6C:18C8][2016-06-03T12:28:54]i000: Caching bundle from: ‘C:\Users\greggm\AppData\Local\Temp{F0CE44A1-8D96-45E9-9D9A-A26B983A46A3}.be\dotnet-dev-win-x64.1.0.0-preview2-002959.exe’ to: ‘C:\ProgramData\Package Cache{8a7f62bd-d30d-45b6-9159-1980659a5df3}\dotnet-dev-win-x64.1.0.0-preview2-002959.exe’
[1A6C:18C8][2016-06-03T12:28:54]i320: Registering bundle dependency provider: {8a7f62bd-d30d-45b6-9159-1980659a5df3}, version: 1.0.0.2959
[1A6C:18C8][2016-06-03T12:28:54]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{8a7f62bd-d30d-45b6-9159-1980659a5df3}, resume: Active, restart initiated: No, disable resume: No
[0FAC:1AE4][2016-06-03T12:28:54]w343: Prompt for source of package: VC_redist.x64.exe, payload: VC_redist.x64.exe, path: C:\Users\greggm\Downloads\VC_redist.x64.exe
[0FAC:1AE4][2016-06-03T12:28:54]i338: Acquiring package: VC_redist.x64.exe, payload: VC_redist.x64.exe, download from: http://go.microsoft.com/fwlink/?LinkID=615460&clcid=0x409
[1A6C:07EC][2016-06-03T12:28:55]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\9A19A51D1F40CD5CD5ECB6E4E4F978F18DA8212A\VC_redist.x64.exe.
[0FAC:1AE4][2016-06-03T12:28:55]i336: Acquiring container: WixAttachedContainer, copy from: C:\Users\greggm\Downloads\dotnet-dev-win-x64.latest.exe
[1A6C:18C8][2016-06-03T12:28:55]i301: Applying execute package: VC_redist.x64.exe, action: Install, path: C:\ProgramData\Package Cache\9A19A51D1F40CD5CD5ECB6E4E4F978F18DA8212A\VC_redist.x64.exe, arguments: ‘“C:\ProgramData\Package Cache\9A19A51D1F40CD5CD5ECB6E4E4F978F18DA8212A\VC_redist.x64.exe” /q /norestart’
[0FAC:1AE4][2016-06-03T12:28:55]i000: Setting string variable ‘WixBundleLastUsedSource’ to value 'C:\Users\greggm\Downloads'
[1A6C:07EC][2016-06-03T12:28:56]i305: Verified acquired payload: dotnet_dev_win_x64.1.0.0_preview2_002959.msi at path: C:\ProgramData\Package Cache.unverified\dotnet_dev_win_x64.1.0.0_preview2_002959.msi, moving to: C:\ProgramData\Package Cache{5998961F-838F-4D7B-8558-94226C800038}v4.0.2959\dotnet-dev-win-x64.1.0.0-preview2-002959.msi.
[1A6C:07EC][2016-06-03T12:28:56]i305: Verified acquired payload: cab1F012110334EE02E016A26C59ED9850B at path: C:\ProgramData\Package Cache.unverified\cab1F012110334EE02E016A26C59ED9850B, moving to: C:\ProgramData\Package Cache{5998961F-838F-4D7B-8558-94226C800038}v4.0.2959\dnet-1.cab.
[1A6C:07EC][2016-06-03T12:28:56]i305: Verified acquired payload: dotnet_sharedframework_win_x64.1.0.0_rc3_004373.msi at path: C:\ProgramData\Package Cache.unverified\dotnet_sharedframework_win_x64.1.0.0_rc3_004373.msi, moving to: C:\ProgramData\Package Cache{6F7911F2-EA90-4AE6-AF97-EF6B8C22B8FF}v1.0.0\dotnet-sharedframework-win-x64.1.0.0-rc3-004373.msi.
[1A6C:07EC][2016-06-03T12:28:56]i305: Verified acquired payload: dotnet_host_win_x64.1.0.1_rc3_004373_00.msi at path: C:\ProgramData\Package Cache.unverified\dotnet_host_win_x64.1.0.1_rc3_004373_00.msi, moving to: C:\ProgramData\Package Cache{7F6D5A75-241E-4D48-ABCA-B0203A07DE21}v0.0.4373\dotnet-host-win-x64.1.0.1-rc3-004373-00.msi.
[1A6C:18C8][2016-06-03T12:28:56]e000: Error 0x80070666: Process returned error: 0x666
[1A6C:18C8][2016-06-03T12:28:56]e000: Error 0x80070666: Failed to execute EXE package.
[0FAC:1AA8][2016-06-03T12:28:56]e000: Error 0x80070666: Failed to configure per-machine EXE package.
[0FAC:1AA8][2016-06-03T12:28:56]i319: Applied execute package: VC_redist.x64.exe, result: 0x80070666, restart: None
[0FAC:1AA8][2016-06-03T12:28:56]e000: Error 0x80070666: Failed to execute EXE package.
[1A6C:18C8][2016-06-03T12:28:56]i351: Removing cached package: VC_redist.x64.exe, from path: C:\ProgramData\Package Cache\9A19A51D1F40CD5CD5ECB6E4E4F978F18DA8212A
[1A6C:18C8][2016-06-03T12:28:56]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{8a7f62bd-d30d-45b6-9159-1980659a5df3}, resume: None, restart: None, disable resume: No
[1A6C:18C8][2016-06-03T12:28:56]i330: Removed bundle dependency provider: {8a7f62bd-d30d-45b6-9159-1980659a5df3}
[1A6C:18C8][2016-06-03T12:28:56]i352: Removing cached bundle: {8a7f62bd-d30d-45b6-9159-1980659a5df3}, from path: C:\ProgramData\Package Cache{8a7f62bd-d30d-45b6-9159-1980659a5df3}
[1A6C:18C8][2016-06-03T12:28:56]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{8a7f62bd-d30d-45b6-9159-1980659a5df3}, resume: None, restart initiated: No, disable resume: No
[0FAC:1AA8][2016-06-03T12:28:56]i399: Apply complete, result: 0x80070666, restart: None, ba requested restart: No
Environment data
dotnet --info
output:
Issue Analytics
- State:
- Created 7 years ago
- Comments:13 (2 by maintainers)
Top GitHub Comments
@piotrpMSFT not fixed as it prevents installation if VS2017 is installed
This also fails if you have VS.net 2017 RC installed with the RC C++ runtimes.