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

查看:88
本文介绍了由于未注册Windows,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. 未为Windows.Launch合同注册或未安装应用程序MyAppName.
  2. Windows应用MyAppName的
  3. ActivateApplicationForContractByAppIdAsUserWithHost.启动合同失败,此应用不支持指定的合同或未安装.

我一直在尝试调试该应用程序,包括对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应用程序作为用户界面的信息亭设备:

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,Windows 10分配的访问应用程序无法启动.启动合同的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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