3.1.5: Cannot install a product when a newer version is installed.
See original GitHub issueCan’t install 3.1.5 (both 3.1.105 and 3.1.301) due to the following error: Error 0x80070666: Cannot install a product when a newer version is installed.
But actually neither of them are installed:
Installer log
[2EE4:C078][2020-08-10T20:34:58]i001: Burn v3.10.4.4718, Windows v10.0 (Build 18362: Service Pack 0), path: C:\WINDOWS\Temp\{A2797EA9-AE7C-400E-8F63-DF7C07091445}\.cr\dotnet-sdk-3.1.105-win-x64.exe
[2EE4:C078][2020-08-10T20:34:58]i000: Initializing string variable 'DOTNETHOME_X86' to value '[ProgramFilesFolder]dotnet'
[2EE4:C078][2020-08-10T20:34:58]i000: Initializing string variable 'DOTNETHOME_X64' to value '[ProgramFiles64Folder]dotnet'
[2EE4:C078][2020-08-10T20:34:58]i000: Initializing string variable 'DOTNETHOME' to value '[DOTNETHOME_X64]'
[2EE4:C078][2020-08-10T20:34:58]i000: Initializing string variable 'BUNDLEMONIKER' to value 'Microsoft .NET Core SDK 3.1.105'
[2EE4:C078][2020-08-10T20:34:58]i000: Initializing string variable 'DOTNETSDKVERSION' to value '3.1.105'
[2EE4:C078][2020-08-10T20:34:58]i000: Initializing string variable 'DOTNETRUNTIMEVERSION' to value '3.1.5'
[2EE4:C078][2020-08-10T20:34:58]i000: Initializing string variable 'ASPNETCOREVERSION' to value '3.1.5'
[2EE4:C078][2020-08-10T20:34:58]i000: Initializing string variable 'WINFORMSANDWPFVERSION' to value '3.1.5'
[2EE4:C078][2020-08-10T20:34:58]i000: Initializing string variable 'DOTNETHOMESIMILARITYCHECKOVERRIDE' to value ''
[2EE4:C078][2020-08-10T20:34:58]i009: Command Line: '-burn.clean.room=D:\Downloads\Chrome\dotnet-sdk-3.1.105-win-x64.exe -burn.filehandle.attached=696 -burn.filehandle.self=700'
[2EE4:C078][2020-08-10T20:34:58]i000: Setting string variable 'WixBundleOriginalSource' to value 'D:\Downloads\Chrome\dotnet-sdk-3.1.105-win-x64.exe'
[2EE4:C078][2020-08-10T20:34:58]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'D:\Downloads\Chrome\'
[2EE4:C078][2020-08-10T20:34:58]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\Deilan\AppData\Local\Temp\Microsoft_.NET_Core_SDK_3.1.105_(x64)_20200810203458.log'
[2EE4:C078][2020-08-10T20:34:58]i000: Setting string variable 'WixBundleName' to value 'Microsoft .NET Core SDK 3.1.105 (x64)'
[2EE4:C078][2020-08-10T20:34:58]i000: Setting string variable 'WixBundleManufacturer' to value 'Microsoft Corporation'
[2EE4:8BE4][2020-08-10T20:34:58]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033
[2EE4:8BE4][2020-08-10T20:34:58]i000: Setting version variable 'WixBundleFileVersion' to value '3.1.105.15039'
[2EE4:C078][2020-08-10T20:34:58]i100: Detect begin, 15 packages
[2EE4:C078][2020-08-10T20:34:58]i000: Setting numeric variable 'DotnetInstallLocationExists_x64' to value 1
[2EE4:C078][2020-08-10T20:34:58]i000: Setting numeric variable 'DotnetInstallLocationExists_x86' to value 1
[2EE4:C078][2020-08-10T20:34:58]i052: Condition 'DotnetInstallLocationExists_x64' evaluates to true.
[2EE4:C078][2020-08-10T20:34:58]i000: Setting string variable 'DOTNETHOME_X64' to value 'C:\Program Files\dotnet'
[2EE4:C078][2020-08-10T20:34:58]i052: Condition 'NOT DotnetInstallLocationExists_x64' evaluates to false.
[2EE4:C078][2020-08-10T20:34:58]i052: Condition 'DotnetExeExists_x64' evaluates to false.
[2EE4:C078][2020-08-10T20:34:58]i052: Condition 'DotnetInstallLocationExists_x86' evaluates to true.
[2EE4:C078][2020-08-10T20:34:58]i000: Setting string variable 'DOTNETHOME_X86' to value 'C:\Program Files (x86)\dotnet'
[2EE4:C078][2020-08-10T20:34:58]i052: Condition 'NOT DotnetInstallLocationExists_x86' evaluates to false.
[2EE4:C078][2020-08-10T20:34:58]i052: Condition 'DotnetExeExists_x86' evaluates to false.
[2EE4:C078][2020-08-10T20:34:58]i102: Detected related bundle: {5ab8e3af-c7f2-4178-9337-71d3c2d20ed8}, type: Upgrade, scope: PerMachine, version: 3.1.106.15050, operation: Downgrade
[2EE4:C078][2020-08-10T20:34:58]i101: Detected package: dotnet_runtime_3.1.5_win_x64.msi, state: Absent, cached: None
[2EE4:C078][2020-08-10T20:34:58]i101: Detected package: dotnet_hostfxr_3.1.5_win_x64.msi, state: Absent, cached: None
[2EE4:C078][2020-08-10T20:34:58]i101: Detected package: dotnet_host_3.1.5_win_x64.msi, state: Absent, cached: None
[2EE4:C078][2020-08-10T20:34:58]i101: Detected package: windowsdesktop_runtime_3.1.5_win_x64.msi, state: Absent, cached: None
[2EE4:C078][2020-08-10T20:34:58]i101: Detected package: dotnet_targeting_pack_3.1.0_win_x64.msi, state: Present, cached: Complete
[2EE4:C078][2020-08-10T20:34:58]i101: Detected package: dotnet_apphost_pack_3.1.5_win_x64.msi, state: Absent, cached: None
[2EE4:C078][2020-08-10T20:34:58]i101: Detected package: dotnet_apphost_pack_3.1.5_win_x64_x86.msi, state: Absent, cached: None
[2EE4:C078][2020-08-10T20:34:58]i101: Detected package: dotnet_apphost_pack_3.1.5_win_x64_arm.msi, state: Absent, cached: None
[2EE4:C078][2020-08-10T20:34:58]i101: Detected package: dotnet_apphost_pack_3.1.5_win_x64_arm64.msi, state: Absent, cached: None
[2EE4:C078][2020-08-10T20:34:58]i101: Detected package: netstandard_targeting_pack_2.1.0_win_x64.msi, state: Present, cached: None
[2EE4:C078][2020-08-10T20:34:58]i101: Detected package: aspnetcore_targeting_pack_3.1.3_win_x64.msi, state: Present, cached: Complete
[2EE4:C078][2020-08-10T20:34:58]i101: Detected package: windowsdesktop_targeting_pack_3.1.0_win_x64.msi, state: Present, cached: Complete
[2EE4:C078][2020-08-10T20:34:58]i101: Detected package: dotnet_31templates_3.1.105_servicing_015039_win_x64.msi, state: Absent, cached: None
[2EE4:C078][2020-08-10T20:34:58]i101: Detected package: dotnet_sdk_internal_3.1.105_win_x64.msi, state: Absent, cached: None
[2EE4:C078][2020-08-10T20:34:58]i101: Detected package: AspNetCoreSharedFramework_x64, state: Absent, cached: None
[2EE4:C078][2020-08-10T20:34:58]i052: Condition 'WixBundleInstalled OR ((NOT (DOTNETHOME_X64 ~= DOTNETHOME_X86)) OR DOTNETHOMESIMILARITYCHECKOVERRIDE)' evaluates to true.
[2EE4:C078][2020-08-10T20:34:58]i199: Detect complete, result: 0x0
[2EE4:8BE4][2020-08-10T20:35:00]e000: Error 0x80070666: Cannot install a product when a newer version is installed.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Cannot install a product when a newer version is installed
The error occurs because a newer version of Microsoft Visual C++ 2017 Redistributable (x64) is installed on the system already. As a workaround,....
Read more >Cannot install .NET core 3.1.100
I had installed a preview version of .net core 3.1. After .net core 3.1 was released, I followed the uninstallation steps for the...
Read more >Unable to install a product of higher version over ...
I need to install SAP Businessobject Data Services 4.0 SP02 Patch 02, or higher in our server ( windows 2003). I have downloaded...
Read more >Cannot install a product when a newer version is
It seems to me that you are trying to install a older version for a Product that you have installed. It is already...
Read more >cannot install the best update candidate for package
When running with --nobest dnf/yum just skips the bind packages.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@glennamanns that’s a valid point, the message can definitely be improved in the SDK.
I found myself in need of 3.1.401 (x64) and I had 3.1.402 (x64) installed. I accidentally installed 3.1.401 x86 (this completed successfully). After uninstalling that, I attempted to install 3.1.401 x64, and kept running into this error. I assumed something had been left behind by the 3.1.401 x86 installation and spent a long time looking for leftover files until I found this GitHub issue.
These are definitely rookie errors of mine, but it would have been really helpful if the error message indicated that downgrading within band is not supported.