请问 WinAppDeployCmd可以部署xap吗?(已自行解决,请关贴,xie...

yx****nl UID.1176624
2015-10-31 发表

本帖最后由 yxcanl 于 2015-11-2 12:27 编辑

请问不能吗?

如下:

QuoteD:\Program Files\Windows Kits\10\bin\x86>WinAppDeployCmd install -file "D:\Downloads\W10edition.xap" -ip 192.168.0.111
Windows App Deployment Tool
Version 10.0.0.0
Copyright (c) Microsoft Corporation. All rights reserved.

Usage:
WinAppDeployCmd command -option <argument> ...
WinAppDeployCmd devices
WinAppDeployCmd devices <x>
WinAppDeployCmd install -file <path> -ip <address>
WinAppDeployCmd install -file <path> -guid <address> -pin <p>
WinAppDeployCmd install -file <path> -ip <address> -dependency <a> <b> ...
WinAppDeployCmd install -file <path> -guid <address> -dependency <a> <b> ...
WinAppDeployCmd uninstall -file <path>
WinAppDeployCmd uninstall -package <name>
WinAppDeployCmd update -file <path>
WinAppDeployCmd list -ip <address>
WinAppDeployCmd list -guid <address>

Command:
devices Show the list of available network devices.
install Install a Windows app to the target device.
update Update a Windows app already installed on the target device.
list Show the list of app packages installed on the specified target device.
uninstall Uninstall the specified app package from the specified target device.

Options:
-h -help Show this screen.
-ip IP address of the target device
-g -guid Unique identifier of the target device
-d -dependency Optional to specify the dependency path for each of the package dependencies. If none are specified, by default, this tool will search for dependencies in the app root and SDK directories.
-f -file File path for the app package to be installed, updated, or uninstalled.
-p -package The Package Full Name for the app package to be uninstalled. You can use the list command to find the names for packages already installed on the device.
-pin A pin may be required to establish connection with the target device. You will be prompted to retry with -pin option if authentication is required.

Arguments:
<x> Timeout in seconds [default: 10].
<address> IP address or unique identifier of the target device.
<a> <b> ... Dependency path for each of the app package dependencies.
<p> An alpha-numeric pin shown in the device settings.
<path> A file system path.
<name> Full package name for the app package to be uninstalled.

Examples:
WinAppDeployCmd devices 3
WinAppDeployCmd install -file "Downloads\SampleApp.appx" -ip 192.168.0.1 -pin A1B2C3
WinAppDeployCmd uninstall -package Company.SampleApp_1.0.0.1_x64__qwertyuiop -ip 192.168.0.1
WinAppDeployCmd update -file "Downloads\SampleApp.appx" -ip 192.168.0.1


D:\Program Files\Windows Kits\10\bin\x86>

敬告:
为防止不可控的内容风险,本站已关闭新用户注册,新贴的发表及评论;
你现在看到的内容只是互联网用户曾经发表的言论快照,仅用于老用户留存纪念,且仅与科技行业相关,全部内容不代表本站观点及立场;
本站重新开放前已针对包括用户隐私、版权保护、信息安全、国家政策在内的各种互联网法律法规要求,执行了隐患内容的自查、屏蔽和删除;
本站目前所属个人主体,未有任何盈利安排与计划,且与原WFUN.COM所属公司不存在任何关联关系;
如果本帖内容或者相关资源侵犯到您的合法权益,或者您认为存在问题,那么请您务必点此举报或投诉!
全部回复:
menglv UID.850813
2016-11-05 回复

怎么解决?

本站使用Golang构建,点击此处申请开源鄂ICP备18029942号-4联系站长投诉/举报