WindowsAppRuntimeInstall.exe works incorrectly #3166
Labels
area-Installer
bug
Something isn't working
fix-released
The fix has been in a release (experimental, preview, stable, or servicing).
Milestone
Describe the bug
The Bootstrap DLL requests a specific version (Major+Minor) of the SDK runtime for an application. Therefore, different runtime versions must be installable in parallel on a target computer, because different applications can of course require different runtime versions. However, the current runtime installer does not support this correctly.
Example A (x64):
Precondition: no runtime installed on the system
Step 1: Installer v1.1.5 is executed.
Step 2: Installer v1.2.221116.1 is executed.
Result: Installer v1.2.221116.1 deletes the singleton package that was installed by Installer v1.1.5. Only the singleton package from installer v1.2.221116.1 is left on the system. All other packages are correctly present in both versions.
Note: Since I may not have fully understood the function of the Singleton package, this example may not be an error. Then an explanation would be useful in a suitable place.
Example B (x64):
Precondition: no runtime installed on the system
Step 1: Installer v1.2.221116.1 is executed.
Step 2: Installer v1.1.5 is executed.
Result: During the installation of the Singleton package in step 2, the following error occurs:
"ErrorMessage: Windows cannot install package MicrosoftCorporationII.WinAppRuntime.Singleton_1005.616.1651.0_x64__8wekyb3d8bbwe because it has version 1005.616.1651.0. A higher version 2000.684.1510.0 of this package is already installed.One or more install operations failed. Result: 0x80073d06"
The further installation is aborted and missing packages are not installed, among others the DDLM packages which are important for the enumeration by the Bootstrap DLL. Thus, an application that requires runtime version v1.1.5 cannot be executed in this case.
Steps to reproduce the bug
see above
Expected behavior
No response
Screenshots
No response
NuGet package version
No response
Packaging type
No response
Windows version
Windows 10 version 21H2 (19044, November 2021 Update)
IDE
Visual Studio 2022
Additional context
No response
The text was updated successfully, but these errors were encountered: