Winappdeploycmd is the WIN10 APP deployment tool currently available from Microsoft, and unlike previous Windows Phone application Deployment Deployment Tools, Winappdeploycmd is a command-line tool that All operations, such as deployment, uninstallation, update, and so on, require the use of command-line directives to deploy the app to any WIN10 mobile device without the need to install visual Studio development tools.
How does Winappdeploycmd get it? We need to download the Windows SDK and WinAppDeployCmd.exe can be found under the C:\Program Files (x86) \ Windows kits\10\bin\x86\ path after installation.
Make a small ad: recommend a UWP/WIN10 developer base: 53078485 welcome everybody to come in together to study
Winappdeploycmd How to use:
example, we deploy an app for testing on a Win10 phone on the same LAN.
First we open the phone's settings screen, click "Update and Security"-"for Developers", turn on the mobile device "Device Discovery", "use developer Features" two options, as follows:
Then we start cmd on the PC and navigate to the folder where the WinAppDeployCmd.exe is located, as follows
The first use of Winappdeploycmd is definitely not familiar with the command, do not worry, we enter the Almighty help command to see what winappdeploycmd are supported, input instructions winappdeploycmd-h as follows:
As you can see, Winappdeploycmd gives us a few usage scenarios, such as devices (Find device), Install–file <path>-ip <address> (installing an app on a device of a given IP), List-ip <address> (List the apps installed on an IP device), etc...
Ok, let's try to find the device command, enter the command winappdeploycmd devices carriage return, as follows:
Find my Lumia through find devices 925,ip is 192.168.17.126, Find my 925 is found through the same LAN, and my phone is not using the data cable to connect to my computer, completely through the WiFi search, which means we can use wireless deployment, is not very cool?
Ok, let's try using the List-ip 192.168.17.126 command to connect to my phone and list the software installed on your phone as follows:
(﹏) What the hell is this? 0.0 originally there is no authority ah, well, this is a hint we need to use the-pin command to connect our device, then where is the PIN code? Pin code is in the "Device Discovery" function on our mobile phone, click the "Pairing" button in the device Discovery function, the hand will pop up a dialog box with the PIN code, as follows:
Ok, with the PIN code, we take the PIN code again using the List command to get to the phone installed app list, it should be noted that the PIN code is case-sensitive, as follows:
Upon successful pairing, the phone will also show the number of paired devices that were successful and paired, as follows:
Then we deploy the app to try, using the command "winappdeploycmd install-file <filepath>-ip <address>" To install the app, Here we do not need to bring the PIN code, after the successful pairing, unless the phone end of the pairing, the PC's access to the phone has been there.
Ok, start deploying the app:
When done, the instructions have been deployed to see if there is wood on the phone
Here, the first one in the recent installation is. Ok, the tutorial ends here, by the way, the Desktop O (^▽^) o
Deploy WIN10 apps to mobile devices using Winappdeploycmd