由于未注册 Windows.Launch 合同,Windows 10 分配的访问应用程序无法启动 [英] Windows 10 assigned access app fails to start due to not registered for Windows.Launch contract

查看:40
本文介绍了由于未注册 Windows.Launch 合同,Windows 10 分配的访问应用程序无法启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 WPF 应用程序,我已使用 DesktopAppConverter 将其转换为 UWP 应用程序,以便在 Assigned Access 模式下运行它 - 转换后的应用程序在以下情况下工作在非分配访问模式下运行 - 可以安装并正常运行.

I have a WPF application, which I have converted to a UWP application using the DesktopAppConverter for the purposes of running it in Assigned Access mode - the converted app works when run in non-assigned access mode - can be installed and functions properly.

但是,当我将其设置为指定访问权限应用程序并使用指定访问权限帐户登录时,屏幕一直闪烁(蓝屏带加载点,然后是白屏,并重复)一段时间,导致显示0x80270254错误.

However, when I set it up to be used as an assigned access application and log in with the account for assigned access, the screen keeps flashing (blue screen with loading dots, followed by a white screen, and repeat) for a period of time, resulting in the 0x80270254 error displayed.

此外,在检查 Windows 事件日志后,我连续收到两条错误消息:

Also after checking the Windows Event Logs I get two error messages in succession:

  1. 应用程序 MyAppName 未注册 Windows.启动合同或未安装.
  2. ActivateApplicationForContractByAppIdAsUserWithHost 的应用 MyAppName 的 Windows.启动合同失败,此应用不支持指定的合同或未安装.

我一直在尝试调试应用程序,包括更改 AppxManifest.xml 文件和重建 .appx 包、更改它来自的原始 WPF 应用程序的属性以及更改分配的访问权限用户帐户的环境几乎没有成功.

I've been trying to debug the app, including making changes to the AppxManifest.xml file and rebuilding the .appx package, making changes to the properties of the original WPF app that it came from and making changes to the Assigned Access user account's environment with little to no success.

任何解决问题的提示将不胜感激.

Any tips for the resolution of the issue would be much appreciated.

推荐答案

感谢您报告此问题.

我们确认分配访问模式尚不支持 Win32 应用程序,包括使用 Desktop Converter 转换的 Win32 应用程序.

We got the confirmation that the Assigned Access mode doesn’t support Win32 apps yet, including Win32 apps converted with the Desktop Converter.

这是 RS1 中的一个已知问题,它可以在设置 UI 时选择转换后的应用程序.我们在 RS2 中已计划修复此问题,但不保证它会很快交付.

It is a known issue in RS1 which can pick Converted app in setting UI. We have a planned fix for this in RS2 but do not guarantee it will be delivered soon.

有关如何使用 Shell Launcher 配置运行经典 Windows 应用程序作为用户界面的自助服务终端设备,请参阅这篇文章:https://technet.microsoft.com/en-us/itpro/windows/manage/set-up-a-kiosk-for-windows-10-for-desktop-editions

Please see this article for how to use Shell Launcher to config a kiosk device that runs a Classic Windows application as the user interface: https://technet.microsoft.com/en-us/itpro/windows/manage/set-up-a-kiosk-for-windows-10-for-desktop-editions

这篇关于由于未注册 Windows.Launch 合同,Windows 10 分配的访问应用程序无法启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆