Deploying XAP file on a Windows Phone Device
Prerequisites
OS: Windows Vista with service pack 2 or later Windows Phone Developer Tools must be installed on the host computer. (Ref Appendix A) The Zune client software must be installed on the host computer. (Ref Appendix B) Windows Phone device must be registered. (Ref Appendix C)
Deploying XAP file
To use the Application Deployment tool
1. Connect your phone to the computer.
Zune starts automatically. If Zune does not start, then start it manually.
2. Verify that the Zune software recognizes the connected device. 3. Click Start. 4. Point to All Programs, and then click Windows Phone SDK 7.1. 5. Click Application Deployment.
6. In the Target drop-down box, select Windows Phone Device as the target for the XAP file. 7. Click Browse and locate the XAP file that you want to deploy. 8. Click the Deploy button.
If the deployment is successful, the Status field displays XAP Deployment Complete. Now the application can be executed on your phone. Appendix A: Installing Windows Phone Developer Tools
This installation is required to get “Application Deployment” tool which is required to deploy XAP file in windows phone 7 devices.
1. Download online installation initiator file from the link http://download.microsoft.com/download/6/E/7/6E795194-EE2D-4636-AEBD- D1C42D2E06E1/vm_web2.exe 2. Once it is downloaded, run vm_web2.exe file which starts the online installation of windows phone developer tools 3. Once the installation is completed, please make sure Windows Phone Developer Registration and Application Deployment tools are present in the Start menu under Windows Phone SDK 7.1 folder
Appendix B: Installing Zune (skip this step if already installed)
1. Open the link http://zune.net/en-US/products/software/download/default.htm 2. Click on “Download Now” button and proceed with installation
Appendix C: Registering Windows Phone
Using the Windows Phone Developer Registration Tool
To register your phone
1. Turn on your phone and if necessary unlock the phone screen. 2. On your phone, ensure that the date and time are correct. 3. Using the USB cable that came with your phone, connect your phone to your computer.
On your computer, the Zune software starts automatically. If Zune does not start, then start it manually.
4. On your computer, click Start, click All Programs, and then click Windows Phone SDK 7.1. 5. Click Windows Phone Developer Registration.
The application starts, as shown in the following image. Verify that the Status message displays Phone ready. Please enter your Windows Live ID and password and click "Register" to begin.
6. Enter the Windows Live ID and password that correspond to your Windows Phone Developer account. 7. Click Register.
After your phone is successfully registered, the Status message will display Your phone has successfully been registered. You can now deploy applications (XAP files) to the Windows Phone.