如何在自定义操作系统映像中包含存储已签名的应用程序 [英] How To Include Store Signed App In Custom OS Image
问题描述
我正在尝试创建一个自定义操作系统映像和包含我的商店应用程序的相应FFU文件,以便通过商店进行更新。我在创建自定义映像的过去几天一直在努力,但我发现我可以成功构建
并将示例A部署到我的raspberry pi 3.接下来我尝试打包我的应用程序并将其包含在示例A中。 Visual Studio生成的文件 - >商店 - >创建应用程序包...我可以使用newAppxPkg添加一个新包,并在安装了我的应用程序的情况下重建示例
A.
I am trying to create a custom OS image and corresponding FFU file that contains my store application so that it will be updated via the store. I have struggled for the last few days with creating the custom image but I found that I could successfully build and deploy Sample A to my raspberry pi 3. Next I attempted to package my app and include it with Sample A. Using the files generated by Visual Studio -> Store -> Create App Packages... I am able to add a new package with newAppxPkg and rebuild Sample A with my app installed.
但是...当我尝试对我从商店下载的预安装包执行相同的操作,所有内容构建和操作系统启动但应用程序未在门户中列出。
However...when I try to do the same with the pre-install package that I download from the store, everything builds and the OS boots but the app is not listed in the portal.
我注意到前-install包不包含证书文件。我尝试从VS版本手动添加证书,但这也不起作用。
I noticed that the pre-install package does not contain the certificate file. I tried manually adding the cert from the VS build but that did not work either.
所以... TLDR ...当使用商店的预安装包时,有什么特别之处需要在创建应用程序包或操作系统构建期间完成(测试与零售?)?
So...TLDR...When using the pre-install package from the store is there anything special that needs to be done during the creation of the app package or the OS build (Test vs Retail?)?
谢谢,
Dan
推荐答案
嗨Dan,
你看过这个话题的先前主题吗?例如
https://social.msdn.microsoft.com/Forums/en-US/685279c6-3c88-4cd1-b678-fd5dd185e9e3/certificates-for-sideloading-on-iot?forum=WindowsIoT 。
Have you looked at previous threads on this topic? Such as https://social.msdn.microsoft.com/Forums/en-US/685279c6-3c88-4cd1-b678-fd5dd185e9e3/certificates-for-sideloading-on-iot?forum=WindowsIoT.
我还得到了IoT核心团队成员的以下指导:
I also have the following guidance from a member of the IoT Core team:
对于来自商店的预先签名的appx,没有证书,但会有许可证文件。脚本newappxpkg会自动提取许可文件以进行打包。请
确保您已下载软件包中的许可文件。
此致,
IoTGirl
这篇关于如何在自定义操作系统映像中包含存储已签名的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!