Windows 10 IoT应用程序的可编写脚本的部署? [英] Scriptable Deployment for Windows 10 IoT Apps?

查看:83
本文介绍了Windows 10 IoT应用程序的可编写脚本的部署?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经构建了一个针对Windows 10 IoT的Windows 10通用应用。我们有几十个Raspberry Pis,都运行10240版本。到目前为止,我发现的所有部署指南都涉及使用Visual Studio并进行单设备部署。对于早期的开发人员来说,这是很好的
,但是现在我们已经有了需要部署的设备,而且常规的Windows 10部署机制似乎都不起作用。
I've built a Windows 10 universal app targeting Windows 10 IoT. We've got a few dozen Raspberry Pis, all running the 10240 build. All the deployment guidance I've found so far involves using Visual Studio and doing a single-device deployment. This is fine for early dev, but now we've got devices we need to deploy to and none of the regular Windows 10 deployment mechanisms seem to work.

推荐答案


内部Web服务器(WebB.exe)使用  http://192.168.xy:8080 / AppXManager.htm

The internal web server (WebB.exe) uses http://192.168.x.y:8080/AppXManager.htm

从桌面连接到Pi并实现记录的REST API以传输包

when connected to the Pi from your desktop and implements the documented REST API to transfer packages

c:\ Windows \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ Pi上的.htm

c:\Windows\WebB\www\default\RestDocumentation.htm on the Pi

http://192.168。来自桌面的1.19:8080 / RestDocumentation.htm。

http://192.168.1.19:8080/RestDocumentation.htm from the desktop.

...

/ api / appx / deployment / package


上传.appx文件。上载会覆盖已上载但未提交的任何其他待处理.appx文件。

HTTP动词:POST

Payload

多部分符合http body

返回代码


成功:200 OK

错误:500内部服务器错误

错误:400错误请求

/api/appx/deployment/package Uploads an .appx file. The upload overwrites any other pending .appx files already uploaded but not commited. HTTP verb: POST Payload multi-part conforming http body Return codes Success : 200 OK Error : 500 Internal server error Error : 400 Bad request

...




那个(和包含的js文件),记录如何驱动REST界面。

That (and the included js files), document how to drive the REST interface.

请注意,证书使用可能是您最大的问题。目前似乎没有办法(除了使用开发证书)来证明侧载应用程序。

Mind you, Certificate usage may be your biggest problem. There appears to be no way (other than using development certificates) to certify sideloaded applications at present.


这篇关于Windows 10 IoT应用程序的可编写脚本的部署?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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