WindowsAppRuntime installation error: The package could not be installed because a higher version of this package is already installed. #2708
-
Hello - Is there a way around the problem in which WindowsAppRuntime will not install because a higher version of that runtime is already installed? Here is the error I see: This is problematic because a previously installed app with a higher WindowsAppRuntime version would prevent a lower version from installing. And the WindowsAppSDK for that lower version is what was built with. What would you suggest as a solution to always make sure the version needed by the App is installed? Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
That's a bug - it should be OK, not an error. If v1.1.3 is installed and you run the installer for v1.1.2 we call Problem is we should be trapping That's a bug on our part. The fix seems easy but checking with @sachintaMSFT to make sure the right bits are tickled. Will have a PR up later today (maybe even a complete one :P) and will aim to have it in main and the next servicing update. Thanks for bringing this to our attention! |
Beta Was this translation helpful? Give feedback.
-
This issue was fixed and released in Windows App SDK 1.1.3 - check out the release notes and NuGet to try it out 🎉 |
Beta Was this translation helpful? Give feedback.
That's a bug - it should be OK, not an error.
If v1.1.3 is installed and you run the installer for v1.1.2 we call
packageManager.AddPackageAsync(...v1.1.2...)
which reutrns 0x80073d06 ==ERROR_INSTALL_PACKAGE_DOWNGRADE
which is technically an error but functionally it's OK. If you build with 1.1.2 we don't require the runtime packages exactly match 1.1.2, but rather that there needs to be a package equal-or-higher than 1.1.2 (i.e.…