Skip to content

Error installing WindowsAppSDK on windows server 2022 #2829

Closed

Description

Package deployment result : 0x8000000b Install failed. Please contact your software vendor.
ExtendedError: 0x8000000b The operation attempted to access data outside the valid range
ErrorMessage: Deployment Add operation with target volume C: on Package Microsoft.WindowsAppRuntime.1.1_1003.565.600.0_x64__8wekyb3d8bbwe from: (MSIA653.tmp) failed with error 0x8000000B. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.One or more install operations failed. Result: 0x8000000b

when attemting to install on windows server 2022

no support on server 2022 (2019?)? -> no WinUI 3 on Terminal Servers .. -> have to stay with WPF ?

best regards k.u.

Activity

  1. added
    area-WinAppSDKDeploymentIssues related to packaging, installation, runtime (e.g., SelfContained, Unpackaged)
    bugSomething isn't working
    on Aug 8, 2022
  2. sachintaMSFT commented on Aug 8, 2022

    @sachintaMSFT
    Contributor

    WinAppSDK framework package failing to install on Server 2022 is a known issue tracked internally by https://task.ms/40529191. The fix for this issue is currently scheduled to be serviced to Server 2022 in October.

    Are you seeing the issue on Sever 2019, as well ?

  3. klemensurban commented on Aug 10, 2022

    @klemensurban
    Author
  4. sachintaMSFT commented on Aug 10, 2022

    @sachintaMSFT
    Contributor

    Thanks Klemens Urban (@klemensurban) for testing. That is in line with our expectation that the issue is only on Windows Server 2022. As slated earlier, the fix will be in the OS itself and the fix is currently scheduled to be serviced to Server 2022 in October.

  5. Andrew-lll commented on Aug 19, 2022

    @Andrew-lll

    sachintaMSFT David Ortinau (@davidortinau)

    Scope:

    It appears that all current MAUI developers working on Server 2022 are blocked by this. Unfortunately, waiting months until October to be able to develop apps in .net MAUI is simply not possible for our developers (which is probably the case elsewhere, and many developers must run Server to emulate the prod env).

    Workarounds?

    Is there any intermediate step that can be done to workaround the issue until then:

    • a manually installable optional patch for Server 2022?
    • workaround instructions to manually install WindowsAppRuntime1.1?
    • a last installable version of WindowsAppRuntime? Previous versions of VS2022 preview + MAUI (VS2022 17.2?) have ran without issue on Server 2022 - is there an earlier version of the WindowsAppRuntime that we can manually roll back to, or that MAUI can roll back to in order to regain Server 2022 support?

    Prevention:

    For the MAUI team, adding Server 2022 to the pre-release testing pipeline would catch these issues before they reach the customer

  6. michael-hawker commented on Sep 7, 2022

    @michael-hawker

    This has been blocking the Windows Community Toolkit for months now in trying to update our new infrastructure for testing and now our main repository as well. We are stuck on 1.0.x until this is resolved.

  7. sachintaMSFT commented on Sep 20, 2022

    @sachintaMSFT
    Contributor

    Andrew (@Andrew-lll),

    1. There is currently no work around to the issue with installing WindowsAppSDK 1.1 on Windows Server 2022. Installing WindowsAppSDK 1.1 on Windows Server 2019 works or Installing WindowsAppSDK 1.0 on Windows Server 2022 works.
    2. There is no WinAppSDK fix. This is an OS issue requiring an OS update.
    3. We've been discussing servicing timelines and the earliest opportunity is the current October target.
  8. conioh commented on Sep 22, 2022

    @conioh

    sachintaMSFT wrote:

    It is a duplicate of the issue# #2829. Latest status of the root cause and the fix is being shared there.

    I'm here at #2829. I don't see the root cause.
    For some strange reason I don't have access to https://task.ms/40529191 so I don't know what's going on there.

    To be clear, "That is in line with our expectation that the issue is only on Windows Server 2022" is not a root cause nor is "As slated earlier, the fix will be in the OS itself and the fix is currently scheduled to be serviced to Server 2022 in October."

    May we know what the root cause is?

  9. sachintaMSFT commented on Sep 22, 2022

    @sachintaMSFT
    Contributor

    https://task.ms/40529191 is Microsoft internal link that is tracking the bug in OS and hence, our partners outside the company won't have access to it.

    The root cause is that support for undocked DEH is incomplete in Server 2022 (support for undocked DEH was only planned for Windows 11 client Desktop and equivalent Server SKUs. It is not supposed to be in Server 2022 at all even in half complete state) and WindowsAppSDK framework package added Undocked DEH in it's 1.1 version where as it's 1.0 version doesn't have it.

  10. TemperedEnterprises commented on Oct 14, 2022

    @TemperedEnterprises

    I, also, cannot run any MAUI .NET app on Windows Server 2022. I don't see any fix. Windows Updates is on and functioning.

    Is there a link to an install file to fix this so I can develop and run on Windows Server 2022?

  11. sachintaMSFT commented on Oct 14, 2022

    @sachintaMSFT
    Contributor

    The fix in OS that will help WinAppSDK installer to succeed on Windows Server 2022 is anticipated to be released on 3rd Tuesday of October which is 18th October.

  12. Andrew-lll commented on Oct 24, 2022

    @Andrew-lll

    sachintaMSFT Do you have an update on this fix (when it will be released and in which update)?

    Tomorrow will be 1 week past Oct 18th. After testing, the Oct 11 update: 2022-10 Cumulative update for 21H2 (KB5018421) with the latest .NET Maui framework does not resolve the issue.

  13. sachintaMSFT commented on Oct 26, 2022

    @sachintaMSFT
    Contributor

    Andrew (@Andrew-lll) ,
    Did you try the one from Oct 17th - it's out of band update - KB5020436 ?

    The fix will be auto updated on Server machines on 2nd Tuesday of November. Until then, on demand update of the above KB should fix the issue.

  14. TemperedEnterprises commented on Oct 26, 2022

    @TemperedEnterprises

    Andrew (@Andrew-lll) , Did you try the one from Oct 17th - it's out of band update - KB5020436 ?

    The fix will be auto updated on Server machines on 2nd Tuesday of November. Until then, on demand update of the above KB should fix the issue.

    I just installed KB5020436 on a Server 2022 machine. It installed successfully. I then created a new .NET MAUI app in Visual Studio 2022 and then pressed "Run". I got a deployment error same as before.

  15. Andrew-lll commented on Oct 26, 2022

    @Andrew-lll

    sachintaMSFT I was able to resolve the issue on Server 2022 by installing KB5018485, which is a larger update that replaces KB5020436. Previously, I did not install either of these as they did not indicate in the release notes that they resolved this issue - but they do! Thank you for following up on this.

    TemperedEnterprises You can install KB5018485 as an optional update directly through windows update. If after installing this you are still receiving errors, most likely there is a different issue at work not related to the app SDK.

  16. bpulliam commented on Oct 28, 2022

    @bpulliam
    Contributor

    Marking as Fixed since the patch is now available. It will be in the next OS update as well.

  17. michael-hawker commented on Nov 17, 2022

    @michael-hawker

    Looks like the KB listed above should be applied on next Tuesday's VM revision? See: actions/runner-images#6585

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Status: FixedThis issue has been fixed in a stable release.area-ExternalTopics external to Windows App SDKarea-WinAppSDKDeploymentIssues related to packaging, installation, runtime (e.g., SelfContained, Unpackaged)bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions