我可以在电脑上使用 WinAppDeployCmd 安装、更新吗 [英] Can I Use WinAppDeployCmd install, update on pc itself

查看:24
本文介绍了我可以在电脑上使用 WinAppDeployCmd 安装、更新吗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的 .appx 文件安装在文件夹中.我可以通过双击文件来安装它.

但我正在寻找一种使用 WinAppDeployCmd 进行安装和更新过程来安装它的方法.

WinAppDeployCmd install -file "C:
eleasefile.appx" -ip 192.168.0.1

192.168.0.1 - 是电脑本身的ip.

我收到错误:0x80131500 - 正在等待的网络事件触发了错误.0x8007274D - 正在等待的网络事件触发了错误.

我使用的是 Windows 10.

我错过了什么吗?

解决方案

我可以在电脑上使用 WinAppDeployCmd 安装、更新吗

简单的答案是肯定的.

<块引用>

我收到错误:0x80131500 - 正在等待的网络事件触发了错误.

如果您想通过 WinAppDeployCmd 将软件包安装到本地计算机,则需要

然后此错误将消失,但您可能会收到以下错误,请按照 以上文档获取 Pin 图.

<块引用>

请使用-pin"选项和设备设置中显示的有效引脚重试该命令.

然后您可以使用以下命令安装应用程序:

WinAppDeployCmd install -file "DownloadsMyApp.appx" -ip 192.168.0.1 -pin A1B2C3

I have my .appx file for installation in folder. I can install it by double clicking the file.

But i am looking for a way to install it using WinAppDeployCmd for installation and also for update process.

WinAppDeployCmd install -file "C:
eleasefile.appx" -ip 192.168.0.1

192.168.0.1 - is the ip of the pc itself.

I am getting error : 0x80131500 - The network event being waited on triggered an error. 0x8007274D - The network event being waited on triggered an error.

I am using windows 10.

Am i missing anything?

解决方案

Can I Use WinAppDeployCmd install, update on pc itself

The simple answer is yes.

I am getting error : 0x80131500 - The network event being waited on triggered an error.

If you want to install the package to your local machine by WinAppDeployCmd, you need to Enable your device for development and enable device discovery firstly. The reason for getting this error should be you didn't enable device discovery. Please enable it in Settings->Update & security->For Developers:

After then this error will go but you may get the following error and please following the Device Discovery section of above document to get the Pin.

Please retry the command with the "-pin" option and a valid pin as shown in the device settings.

And then you can install the app with command like:

WinAppDeployCmd install -file "DownloadsMyApp.appx" -ip 192.168.0.1 -pin A1B2C3

这篇关于我可以在电脑上使用 WinAppDeployCmd 安装、更新吗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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