microsoft / microsoft/WindowsAppSDK

UI Access is not supported for Desktop AppX processes

Open
#1,669 50 comments 8 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

area-External needs-triage
Dominant language
C++
Stars
4.7k
Forks
471
Avg merge
3d 13h
Merged PRs (30d)
28

Description

**Describe the bug**
Cant use .MSIX packaging for WinUI3 Desktop apps that uses UIAccess.
When launching the app an error "the request is not supported" pops up, and the app fails to launch.

The following error is observed in event viewer:
`0x80070032: Cannot create the process for package fd6e7c45-f095-4b47-a46a-71657af65eae_1.0.0.0_x64__0dbdf1n3n58kt because UI Access is not supported for Desktop AppX processes. [LaunchProcess]`

**Steps to reproduce the bug**

Steps to reproduce the behavior:
Package any Winui3 App with `UIaccess = True`
Install apps .msix
Run app
Error Occurs

**Expected behavior**
it works

**Version Info**
OS: Windows 11 Build 22489.1000

NuGet package version:
WindowsAppSDK 0.1.0-prerelease3

| Windows version | Saw the problem? |
| :--------------------------------- | :-------------------- |
| Insider Build (xxxxx) | Yes |
| May 2020 Update (19041) | Yes |
| November 2019 Update (18363) | Yes |
| May 2019 Update (18362) | Yes |
| October 2018 Update (17763) | Yes |

**Additional context**
This is a major problem as it prevents apps that require `UIaccess = True` from using .MSIX packaging, commonly assistive technologies apps.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.