You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
on win-arm64, Upgrade failed from net 6 RC1 to RC2 with error The installation path for ARM64 SDK installations: "C:\Program Files\dotnet" cannot be the same as for x64 SDK installations: "C:\Program Files\dotnet"
#21872
Closed
vdanche opened this issue
Oct 8, 2021
· 5 comments
Actual Result
Upgrade failed with error -The installation path for ARM64 SDK installations: "C:\Program Files\dotnet" cannot be the same as for x64 SDK installations: "C:\Program Files\dotnet"
LOG:
[1830:2AC4][2021-10-07T20:27:51]i001: Burn v3.14.0.4118, Windows v10.0 (Build 19042: Service Pack 0), path: C:\Users\v-danche\AppData\Local\Temp{489814F1-3F58-4EFA-8214-342DDD6FC63E}.cr\dotnet-sdk-6.0.100-rc.2.21505.57-win-arm64.exe
[1830:2AC4][2021-10-07T20:27:51]i000: Initializing string variable 'DOTNETHOME' to value '[DOTNETHOME_ARM64]'
[1830:2AC4][2021-10-07T20:27:51]i000: Initializing string variable 'BUNDLEMONIKER' to value 'Microsoft .NET SDK 6.0.100-rc.2.21505.57'
[1830:2AC4][2021-10-07T20:27:51]i000: Initializing string variable 'DOTNETSDKVERSION' to value '6.0.100-rc.2.21505.57'
[1830:2AC4][2021-10-07T20:27:51]i000: Initializing string variable 'DOTNETRUNTIMEVERSION' to value '6.0.0-rc.2.21480.5'
[1830:2AC4][2021-10-07T20:27:51]i000: Initializing string variable 'ASPNETCOREVERSION' to value '6.0.0-rc.2.21480.10'
[1830:2AC4][2021-10-07T20:27:51]i000: Initializing string variable 'WINFORMSANDWPFVERSION' to value '6.0.0-rc.2.21501.6'
[1830:2AC4][2021-10-07T20:27:51]i000: Initializing string variable 'DOTNETHOMESIMILARITYCHECKOVERRIDE' to value ''
[1830:2AC4][2021-10-07T20:27:51]i009: Command Line: '-burn.clean.room=C:\Users\v-danche\Desktop\dotnet-sdk-6.0.100-rc.2.21505.57-win-arm64.exe -burn.filehandle.attached=604 -burn.filehandle.self=672'
[1830:2AC4][2021-10-07T20:27:51]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\v-danche\Desktop\dotnet-sdk-6.0.100-rc.2.21505.57-win-arm64.exe'
[1830:2AC4][2021-10-07T20:27:51]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\v-danche\Desktop'
[1830:2AC4][2021-10-07T20:27:51]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\v-danche\AppData\Local\Temp\Microsoft_.NET_SDK_6.0.100-rc.2.21505.57_(arm64)_20211007202751.log'
[1830:2AC4][2021-10-07T20:27:51]i000: Setting string variable 'WixBundleName' to value 'Microsoft .NET SDK 6.0.100-rc.2.21505.57 (arm64)'
[1830:2AC4][2021-10-07T20:27:51]i000: Setting string variable 'WixBundleManufacturer' to value 'Microsoft Corporation'
[1830:0B7C][2021-10-07T20:27:51]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033
[1830:0B7C][2021-10-07T20:27:51]i000: Setting version variable 'WixBundleFileVersion' to value '6.1.21.50557'
[1830:2AC4][2021-10-07T20:27:51]i100: Detect begin, 13 packages
[1830:2AC4][2021-10-07T20:27:51]i000: Setting numeric variable 'DotnetInstallLocationExists_arm64' to value 1
[1830:2AC4][2021-10-07T20:27:51]i000: Setting numeric variable 'DotnetInstallLocationExists_x64' to value 1
[1830:2AC4][2021-10-07T20:27:51]i000: Setting numeric variable 'DotnetInstallLocationExists_x86' to value 1
[1830:2AC4][2021-10-07T20:27:51]i052: Condition 'DotnetInstallLocationExists_arm64' evaluates to true.
[1830:2AC4][2021-10-07T20:27:51]i000: Setting string variable 'DOTNETHOME_ARM64' to value 'C:\Program Files\dotnet'
[1830:2AC4][2021-10-07T20:27:51]i052: Condition 'NOT DotnetInstallLocationExists_arm64' evaluates to false.
[1830:2AC4][2021-10-07T20:27:51]i052: Condition 'DotnetExeExists_arm64' evaluates to false.
[1830:2AC4][2021-10-07T20:27:51]i052: Condition 'DotnetInstallLocationExists_x64' evaluates to true.
[1830:2AC4][2021-10-07T20:27:51]i000: Setting string variable 'DOTNETHOME_X64' to value 'C:\Program Files\dotnet'
[1830:2AC4][2021-10-07T20:27:51]i000: Setting string variable 'NativeProcessorArchitecture' to value 'ARM64'
[1830:2AC4][2021-10-07T20:27:51]i052: Condition 'NOT DotnetInstallLocationExists_x64 AND NOT NativeProcessorArchitecture="AMD64"' evaluates to false.
[1830:2AC4][2021-10-07T20:27:51]i052: Condition 'DotnetExeExists_alt_x64' evaluates to false.
[1830:2AC4][2021-10-07T20:27:51]i052: Condition 'NOT DotnetInstallLocationExists_x64 AND NativeProcessorArchitecture="AMD64"' evaluates to false.
[1830:2AC4][2021-10-07T20:27:51]i052: Condition 'DotnetExeExists_x64' evaluates to false.
[1830:2AC4][2021-10-07T20:27:51]i052: Condition 'DotnetInstallLocationExists_x86' evaluates to true.
[1830:2AC4][2021-10-07T20:27:51]i000: Setting string variable 'DOTNETHOME_X86' to value 'C:\Program Files (x86)\dotnet'
[1830:2AC4][2021-10-07T20:27:51]i052: Condition 'NOT DotnetInstallLocationExists_x86' evaluates to false.
[1830:2AC4][2021-10-07T20:27:51]i052: Condition 'DotnetExeExists_x86' evaluates to false.
[1830:2AC4][2021-10-07T20:27:51]i102: Detected related bundle: {3cb33ee3-8186-4190-baa8-76c1590f46df}, type: Upgrade, scope: PerMachine, version: 6.1.21.46306, operation: MajorUpgrade
[1830:2AC4][2021-10-07T20:27:51]i052: Condition 'WixBundleAction >= 3' evaluates to true.
[1830:2AC4][2021-10-07T20:27:51]i101: Detected package: dotnet_runtime_6.0.0_rc.2.21480.5_win_arm64.msi, state: Absent, cached: None
[1830:2AC4][2021-10-07T20:27:51]i101: Detected package: dotnet_hostfxr_6.0.0_rc.2.21480.5_win_arm64.msi, state: Absent, cached: None
[1830:2AC4][2021-10-07T20:27:51]i101: Detected package: dotnet_host_6.0.0_rc.2.21480.5_win_arm64.msi, state: Absent, cached: None
[1830:2AC4][2021-10-07T20:27:51]i101: Detected package: dotnet_targeting_pack_6.0.0_rc.2.21480.5_win_arm64.msi, state: Absent, cached: None
[1830:2AC4][2021-10-07T20:27:51]i101: Detected package: dotnet_apphost_pack_6.0.0_rc.2.21480.5_win_arm64.msi, state: Absent, cached: None
[1830:2AC4][2021-10-07T20:27:51]i101: Detected package: windowsdesktop_runtime_6.0.0_rc.2.21501.6_win_arm64.msi, state: Absent, cached: None
[1830:2AC4][2021-10-07T20:27:51]i101: Detected package: windowsdesktop_targeting_pack_6.0.0_rc.2.21501.6_win_arm64.msi, state: Absent, cached: None
[1830:2AC4][2021-10-07T20:27:51]i101: Detected package: aspnetcore_targeting_pack_6.0.0_rc.2.21480.10_win_arm64.msi, state: Absent, cached: None
[1830:2AC4][2021-10-07T20:27:51]i101: Detected package: dotnet_60templates_6.0.100_rc.2.21505.57_win_arm64.msi, state: Absent, cached: None
[1830:2AC4][2021-10-07T20:27:51]i101: Detected package: dotnet_sdkmanifests_6.0.100_rc.2.21505.57_win_arm64.msi, state: Absent, cached: None
[1830:2AC4][2021-10-07T20:27:51]i101: Detected package: dotnet_sdk_internal_6.0.100_rc.2.21505.57_win_arm64.msi, state: Absent, cached: None
[1830:2AC4][2021-10-07T20:27:51]i101: Detected package: AspNetCoreSharedFramework_arm64, state: Absent, cached: None
[1830:2AC4][2021-10-07T20:27:51]i101: Detected package: Finalizer, state: Present, cached: None
[1830:2AC4][2021-10-07T20:27:51]i052: Condition 'WixBundleInstalled OR (NOT DOTNETHOME_X64 ~= DOTNETHOME_X86) OR DOTNETHOMESIMILARITYCHECKOVERRIDE' evaluates to true.
[1830:2AC4][2021-10-07T20:27:51]i052: Condition 'WixBundleInstalled OR (NOT DOTNETHOME_ARM64 ~= DOTNETHOME_X86) OR DOTNETHOMESIMILARITYCHECKOVERRIDE' evaluates to true.
[1830:2AC4][2021-10-07T20:27:51]i052: Condition 'WixBundleInstalled OR (NOT DOTNETHOME_ARM64 ~= DOTNETHOME_X64) OR (NOT NativeProcessorArchitecture="ARM64") OR DOTNETHOMESIMILARITYCHECKOVERRIDE' evaluates to false.
[1830:2AC4][2021-10-07T20:27:51]e000: The installation path for ARM64 SDK installations: "C:\Program Files\dotnet" cannot be the same as for x64 SDK installations: "C:\Program Files\dotnet"
[1830:2AC4][2021-10-07T20:27:51]e000: Error 0x81f40001: Bundle condition evaluated to false: WixBundleInstalled OR (NOT DOTNETHOME_ARM64 ~= DOTNETHOME_X64) OR (NOT NativeProcessorArchitecture="ARM64") OR DOTNETHOMESIMILARITYCHECKOVERRIDE
[1830:2AC4][2021-10-07T20:27:51]i199: Detect complete, result: 0x0
The text was updated successfully, but these errors were encountered:
We made some changes in RC2 where some of the install location data was written up front. Try uninstalling RC1 and then installing RC2. Otherwise if you want to upgrade you will need to delete HKEY_LOCAL_MACHINE\SOFTWARE\dotnet\setup\InstalledVersions\x64\InstallLocation first from the registry.
Please do not delete that key. You must uninstall all previous dotnet installers before installing 6.0 RC2 or later. @richlander mentions this here: #21686
Just noticed that this machine only had arm64 installed. This is effectively the bug where the SDK wrote all detection keys regardless of installation. In that specific case it may be OK to delete the key, but it's better to uninstall everything before installing the 6.0 ARM64 SDK.
@richlander -- please see this as consideration if we would like to add another blocking condition to avoid this in the boostrapper or give a better error message.
Environment: win-arm64
Repro
Install net 6 RC1-- dotnet-sdk-6.0.100-rc.1.21463.6-win-arm64.exe on win-arm64
Install the latest RC2 SDK-dotnet-sdk-6.0.100-rc.2.21505.57-win-arm64.exe to upgrade
Artifacts: https://dev.azure.com/dnceng/internal/_build/results?buildId=1405337&view=artifacts&pathAsName=false&type=publishedArtifacts
Actual Result
Upgrade failed with error -The installation path for ARM64 SDK installations: "C:\Program Files\dotnet" cannot be the same as for x64 SDK installations: "C:\Program Files\dotnet"
LOG:
[1830:2AC4][2021-10-07T20:27:51]i001: Burn v3.14.0.4118, Windows v10.0 (Build 19042: Service Pack 0), path: C:\Users\v-danche\AppData\Local\Temp{489814F1-3F58-4EFA-8214-342DDD6FC63E}.cr\dotnet-sdk-6.0.100-rc.2.21505.57-win-arm64.exe
[1830:2AC4][2021-10-07T20:27:51]i000: Initializing string variable 'DOTNETHOME' to value '[DOTNETHOME_ARM64]'
[1830:2AC4][2021-10-07T20:27:51]i000: Initializing string variable 'BUNDLEMONIKER' to value 'Microsoft .NET SDK 6.0.100-rc.2.21505.57'
[1830:2AC4][2021-10-07T20:27:51]i000: Initializing string variable 'DOTNETSDKVERSION' to value '6.0.100-rc.2.21505.57'
[1830:2AC4][2021-10-07T20:27:51]i000: Initializing string variable 'DOTNETRUNTIMEVERSION' to value '6.0.0-rc.2.21480.5'
[1830:2AC4][2021-10-07T20:27:51]i000: Initializing string variable 'ASPNETCOREVERSION' to value '6.0.0-rc.2.21480.10'
[1830:2AC4][2021-10-07T20:27:51]i000: Initializing string variable 'WINFORMSANDWPFVERSION' to value '6.0.0-rc.2.21501.6'
[1830:2AC4][2021-10-07T20:27:51]i000: Initializing string variable 'DOTNETHOMESIMILARITYCHECKOVERRIDE' to value ''
[1830:2AC4][2021-10-07T20:27:51]i009: Command Line: '-burn.clean.room=C:\Users\v-danche\Desktop\dotnet-sdk-6.0.100-rc.2.21505.57-win-arm64.exe -burn.filehandle.attached=604 -burn.filehandle.self=672'
[1830:2AC4][2021-10-07T20:27:51]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\v-danche\Desktop\dotnet-sdk-6.0.100-rc.2.21505.57-win-arm64.exe'
[1830:2AC4][2021-10-07T20:27:51]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\v-danche\Desktop'
[1830:2AC4][2021-10-07T20:27:51]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\v-danche\AppData\Local\Temp\Microsoft_.NET_SDK_6.0.100-rc.2.21505.57_(arm64)_20211007202751.log'
[1830:2AC4][2021-10-07T20:27:51]i000: Setting string variable 'WixBundleName' to value 'Microsoft .NET SDK 6.0.100-rc.2.21505.57 (arm64)'
[1830:2AC4][2021-10-07T20:27:51]i000: Setting string variable 'WixBundleManufacturer' to value 'Microsoft Corporation'
[1830:0B7C][2021-10-07T20:27:51]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033
[1830:0B7C][2021-10-07T20:27:51]i000: Setting version variable 'WixBundleFileVersion' to value '6.1.21.50557'
[1830:2AC4][2021-10-07T20:27:51]i100: Detect begin, 13 packages
[1830:2AC4][2021-10-07T20:27:51]i000: Setting numeric variable 'DotnetInstallLocationExists_arm64' to value 1
[1830:2AC4][2021-10-07T20:27:51]i000: Setting numeric variable 'DotnetInstallLocationExists_x64' to value 1
[1830:2AC4][2021-10-07T20:27:51]i000: Setting numeric variable 'DotnetInstallLocationExists_x86' to value 1
[1830:2AC4][2021-10-07T20:27:51]i052: Condition 'DotnetInstallLocationExists_arm64' evaluates to true.
[1830:2AC4][2021-10-07T20:27:51]i000: Setting string variable 'DOTNETHOME_ARM64' to value 'C:\Program Files\dotnet'
[1830:2AC4][2021-10-07T20:27:51]i052: Condition 'NOT DotnetInstallLocationExists_arm64' evaluates to false.
[1830:2AC4][2021-10-07T20:27:51]i052: Condition 'DotnetExeExists_arm64' evaluates to false.
[1830:2AC4][2021-10-07T20:27:51]i052: Condition 'DotnetInstallLocationExists_x64' evaluates to true.
[1830:2AC4][2021-10-07T20:27:51]i000: Setting string variable 'DOTNETHOME_X64' to value 'C:\Program Files\dotnet'
[1830:2AC4][2021-10-07T20:27:51]i000: Setting string variable 'NativeProcessorArchitecture' to value 'ARM64'
[1830:2AC4][2021-10-07T20:27:51]i052: Condition 'NOT DotnetInstallLocationExists_x64 AND NOT NativeProcessorArchitecture="AMD64"' evaluates to false.
[1830:2AC4][2021-10-07T20:27:51]i052: Condition 'DotnetExeExists_alt_x64' evaluates to false.
[1830:2AC4][2021-10-07T20:27:51]i052: Condition 'NOT DotnetInstallLocationExists_x64 AND NativeProcessorArchitecture="AMD64"' evaluates to false.
[1830:2AC4][2021-10-07T20:27:51]i052: Condition 'DotnetExeExists_x64' evaluates to false.
[1830:2AC4][2021-10-07T20:27:51]i052: Condition 'DotnetInstallLocationExists_x86' evaluates to true.
[1830:2AC4][2021-10-07T20:27:51]i000: Setting string variable 'DOTNETHOME_X86' to value 'C:\Program Files (x86)\dotnet'
[1830:2AC4][2021-10-07T20:27:51]i052: Condition 'NOT DotnetInstallLocationExists_x86' evaluates to false.
[1830:2AC4][2021-10-07T20:27:51]i052: Condition 'DotnetExeExists_x86' evaluates to false.
[1830:2AC4][2021-10-07T20:27:51]i102: Detected related bundle: {3cb33ee3-8186-4190-baa8-76c1590f46df}, type: Upgrade, scope: PerMachine, version: 6.1.21.46306, operation: MajorUpgrade
[1830:2AC4][2021-10-07T20:27:51]i052: Condition 'WixBundleAction >= 3' evaluates to true.
[1830:2AC4][2021-10-07T20:27:51]i101: Detected package: dotnet_runtime_6.0.0_rc.2.21480.5_win_arm64.msi, state: Absent, cached: None
[1830:2AC4][2021-10-07T20:27:51]i101: Detected package: dotnet_hostfxr_6.0.0_rc.2.21480.5_win_arm64.msi, state: Absent, cached: None
[1830:2AC4][2021-10-07T20:27:51]i101: Detected package: dotnet_host_6.0.0_rc.2.21480.5_win_arm64.msi, state: Absent, cached: None
[1830:2AC4][2021-10-07T20:27:51]i101: Detected package: dotnet_targeting_pack_6.0.0_rc.2.21480.5_win_arm64.msi, state: Absent, cached: None
[1830:2AC4][2021-10-07T20:27:51]i101: Detected package: dotnet_apphost_pack_6.0.0_rc.2.21480.5_win_arm64.msi, state: Absent, cached: None
[1830:2AC4][2021-10-07T20:27:51]i101: Detected package: windowsdesktop_runtime_6.0.0_rc.2.21501.6_win_arm64.msi, state: Absent, cached: None
[1830:2AC4][2021-10-07T20:27:51]i101: Detected package: windowsdesktop_targeting_pack_6.0.0_rc.2.21501.6_win_arm64.msi, state: Absent, cached: None
[1830:2AC4][2021-10-07T20:27:51]i101: Detected package: aspnetcore_targeting_pack_6.0.0_rc.2.21480.10_win_arm64.msi, state: Absent, cached: None
[1830:2AC4][2021-10-07T20:27:51]i101: Detected package: dotnet_60templates_6.0.100_rc.2.21505.57_win_arm64.msi, state: Absent, cached: None
[1830:2AC4][2021-10-07T20:27:51]i101: Detected package: dotnet_sdkmanifests_6.0.100_rc.2.21505.57_win_arm64.msi, state: Absent, cached: None
[1830:2AC4][2021-10-07T20:27:51]i101: Detected package: dotnet_sdk_internal_6.0.100_rc.2.21505.57_win_arm64.msi, state: Absent, cached: None
[1830:2AC4][2021-10-07T20:27:51]i101: Detected package: AspNetCoreSharedFramework_arm64, state: Absent, cached: None
[1830:2AC4][2021-10-07T20:27:51]i101: Detected package: Finalizer, state: Present, cached: None
[1830:2AC4][2021-10-07T20:27:51]i052: Condition 'WixBundleInstalled OR (NOT DOTNETHOME_X64 ~= DOTNETHOME_X86) OR DOTNETHOMESIMILARITYCHECKOVERRIDE' evaluates to true.
[1830:2AC4][2021-10-07T20:27:51]i052: Condition 'WixBundleInstalled OR (NOT DOTNETHOME_ARM64 ~= DOTNETHOME_X86) OR DOTNETHOMESIMILARITYCHECKOVERRIDE' evaluates to true.
[1830:2AC4][2021-10-07T20:27:51]i052: Condition 'WixBundleInstalled OR (NOT DOTNETHOME_ARM64 ~= DOTNETHOME_X64) OR (NOT NativeProcessorArchitecture="ARM64") OR DOTNETHOMESIMILARITYCHECKOVERRIDE' evaluates to false.
[1830:2AC4][2021-10-07T20:27:51]e000: The installation path for ARM64 SDK installations: "C:\Program Files\dotnet" cannot be the same as for x64 SDK installations: "C:\Program Files\dotnet"
[1830:2AC4][2021-10-07T20:27:51]e000: Error 0x81f40001: Bundle condition evaluated to false: WixBundleInstalled OR (NOT DOTNETHOME_ARM64 ~= DOTNETHOME_X64) OR (NOT NativeProcessorArchitecture="ARM64") OR DOTNETHOMESIMILARITYCHECKOVERRIDE
[1830:2AC4][2021-10-07T20:27:51]i199: Detect complete, result: 0x0
The text was updated successfully, but these errors were encountered: