Appx / Appxbundle安装问题,证书问题 [英] Appx/Appxbundle install issue, certificate problem

查看:428
本文介绍了Appx / Appxbundle安装问题,证书问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我是
我正在开发一个UWP应用程序。在生成带有证书的appx / appxbundle文件之后,我无法在其他PC上安装此应用程序:软件包安装程序返回错误,其中说明了证书存在问题。 

Hello,
I am developing an UWP app. After generating appx/appxbundle file with certificate I cannot install this application on other PC: package installator return error, which says, that there is a problem with certificate. 

在运行应用程序时证书管理器中的Visual Studio 2017我可以看到我在appxmanifest中选择的证书。但删除此证书并安装使用appx生成的证书后,我可以在Cert中看到证书
的相同设置和属性。经理,但我仍然有这个证书错误。

While running app via Visual Studio 2017 in Certificate Manager I can see Certificate, that I chose in appxmanifest. But after deleting this certificate and installing that one generated with appx, I can see the same settings and properties of certificate in Cert. Manager, but still I've got this certificate error.

我做错了什么,在其他PC上运行这个应用程序?我该怎么做才能使这个证书有效? (PC上有开发者设置)。

What am I doing wrong, to run this app on other PC? What should I do to make this certificate working? (PCs have developer settings on).

提前感谢您的帮助。

推荐答案

嗨  ; sha-3,

Hi  sha-3,

当您在其他设备上加载应用程序时,需要将appx文件和证书文件复制到新设备,然后在
上安装证书本地计算机并将证书导入受信任的根证书颁发机构文件夹作为 文档:
https://docs.microsoft.com/en-us/windows/application-management/sideload-apps- in-windows-10#how-do-i-sideload-an-app-on-desktop

When you sideload the app on other device, you need to copy the appx file and the certificate file to the new device, then install the certificate on the Local Machine and Import the certificate to the Trusted Root Certification Authorities folder as the  document: https://docs.microsoft.com/en-us/windows/application-management/sideload-apps-in-windows-10#how-do-i-sideload-an-app-on-desktop

之后,如果仍然无法安装该应用程序,请提供详细的错误信息。

After that, if you still can’t install the app, please give detailed error info.

最诚挚的问候,

Yong Lu


这篇关于Appx / Appxbundle安装问题,证书问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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