Use WinAppDeployCmd to deploy the Win10 App to a mobile device, and use win10 to deploy the app for download.

Source: Internet
Author: User

Use WinAppDeployCmd to deploy the Win10 App to a mobile device, and use win10 to deploy the app for download.

WinAppDeployCmd is a Deployment tool for Win10 apps provided by Microsoft. It is different from the previous Deployment tool for Windows Phone Application Deployment. WinAppDeployCmd is a command line tool, to deploy, uninstall, update, and other operations, you need to use command line commands to deploy the App to any Win10 mobile devices without installing Visual Studio development tools.

How can I obtain WinAppDeployCmd? Download the Windows 10 SDK and install winappdeploycmd.exeC: \ Program Files (x86) \ Windows Kits \ 10 \ bin \ x86 \Path.

Make a small advertisement: We recommend a UWP/Win10 developer group: 53078485. You are welcome to join us to learn.

How to Use WinAppDeployCmd:

For example, we deploy an App for testing on a Win10 mobile phone in the same LAN.

First, open the settings page of the mobile phone, and then click "Update and security"-"developer-oriented" to open the "device discovery" and "use developer functions" Options for mobile devices, as follows:

Connect to the terminal, and then locate the winappdeploycmd.exe folder, as shown below:

If you use WinAppDeployCmd for the first time, you must be unfamiliar with the command. Do not worry. Enter the omnipotent help command to see which commands are supported by WinAppDeployCmd. Enter the command WinAppDeployCmd-h as follows:

As shown above, WinAppDeployCmd provides several application scenarios, such as devices (find a device) and install-file <path>-ip <address> (install an App on a device with a specified ip address) list-ip <address> (list the apps installed on devices with an ip address ......

OK. First try to find the device command and enter the command WinAppDeployCmd devices and press enter, as shown below:

After finding devices, I found my lumia 925, ip address 192.168.17.126, and found my 925 found through the same LAN, in addition, my mobile phone is not connected to my computer using a data cable, and it is completely found through wifi. This means we can use wireless deployment, isn't it great?

OK, let's try to connect to my mobile phone using the list-ip 192.168.17.126 command and list the software installed on the mobile phone, as shown below:

(◎ Ghost ◎) What is this ghost? 0.0 we didn't have the permission. Well, it prompts us to use the-pin command to connect to our device. Where is the Pin code? In the "device discovery" function on our mobile phone, click "pairing" in the device discovery function. A dialog box is displayed, containing the Pin code, as shown below:

OK. With the Pin code, we can use the "List" command again to obtain the List of apps installed on the mobile phone. Note that the Pin code is case sensitive, as shown below:

After successful pairing, the mobile phone will also display the number of successfully paired devices and the number of devices that have been successfully paired, as shown below:

Next, we will try to deploy the App and use the command"WinAppDeployCmd install-file <filepath>-ip <address>"To install the App, we do not need to carry the Pin code here. After the pairing is successful, the PC's access permission to the mobile phone will always exist unless the pairing is canceled on the mobile phone end.

OK, start to deploy the App:

When Done appears, it indicates that the deployment has been completed. Check whether the mobile phone has been deployed.

Slave, the first one in the latest installation is. OK, so far as the tutorial ends, by the way, the desktop o (^) o

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.