Installing "Aplication Deployment" without the SDK (Windows Phone) - windows-phone-7

I'm working with some client on making an app. I managed to get him an unlocked device, so I can just send him the xap file, and he can directly test it.
But I don't want him to install the whole SDK, I only need him to get the "Application Deployment" tool, so he can deploy the thing to the phone.
Is there a way to get the "Application Deployment" program, without installing the whole SDK?

I am not sure if you can get the "Application Deployment" program without the SDK, however there are a couple of alternatives ...
Chevron WP7 is an 'official' (i.e. Microsoft controlled) mechanism for unlocking a phone and allowing application to be side-loaded. I thin it costs $9.00 and allows you to upload XAP files to your phone
Windows Phone Marketplace beta, you can upload a XAP to the marketplace as a beta. This XAP will not go through the usual test processes, and will be 'live' within a few hours. This is the official way of sharing beta code.

I think Windows Phone Powertools might be what you're looking for. It doesn't seem to have any references to any of the SDK dll's.

Actually Windows phone will not allow the application deployment without developer unlocking the phone with the developer unlocking tool. (some people do this by hacking through registry).
After that you can use the Windows Phone Powertools to deploy the applciation when connected to Zune.
Other than this is , you have to do this by marketplace only and update the applciation.

You can do this - just use SDK tools:
First of all, send him XAP Deploy, you've got it in:
C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v7.1\Tools\XAP Deployment\XapDeploy.exe
You must unolck his phone, you can do this by your Live ID and this tool:
C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v7.1\Tools\Phone Registration\PhoneReg.exe
Finally, he must install Zune software for conect device to PC:
http://www.zune.net/
After install Zune and connect his device, just let him use XapDeploy.exe
Have fun :)

Related

Testing .xap on windows phone 8, without registration

I have got a .xap file, i mailed it and opened it in my windows phone 8.
It gives me company app error.
Also i tried it with deployment in visual studio, it runs fine with emulator but problem with device(zune software not installed) whereas i have installed it and it is not detecting the device.
My question is that can we test an application without any company registration on windows phone device, just for testing purpose.
I have got an microsoft account.
You can deploy the XAP, but you must unlock the device first.
Fortunately, it's now a free process, you don't need a devcenter account anymore. The only limitation is that you can deploy only two applications at a time (when deploying a third application, you must remove a previous one).
The procedure is described here: http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff769508(v=vs.105).aspx
I think Beta testing will help u.We can upload a build as beta version to the market for testing purposes.Have a look on the below link.
Beta Version in WindowsPhone
I think that the live test of phonegap (as you said you use it) will be great for you. Please see http://app.phonegap.com/ for more information.
You can check unsigned apps up to two apps on a free account.
If you have Visual studio installed, search for "Application deployment" from start or Run XapDeploy.exe. Test unsigned .XAP

How to show a demo of a WP app on another PC?

I have a small WP app and I need to show a (interactive) demo of it and show its features, to another person who doesn't have any WP-related software installed on his PC.
Is there a super lite version of the WP emulator that the other person can download?
Also, how can I create an installation file of the WP app so that it would be easy for him to install & run ?
Surely he won't need to install the whole SDK, including Visual Studio, right?
To run the emulator you'll need to install the full SDK (http://dev.windowsphone.com/en-us/downloadsdk) but note that this doesn't require an existing version of Visual Studio.
There is no stand alone installer for just the emulator.
Apps are compiled into XAP files (similar to APK) and the Application Deployment application (installed as part of the SDK) will allow this to be loaded into the emulator. This tool can also be used to load the app into attached, developer unlocked, devices.
In terms of demonstrating an app to someone not familiar with Windows Phone, I've found that getting them to experience it on an emulator is often a sub-par experience and doesn't create the best experience. It's far better to get people to experience applications on actual devices. Alternatively, if it's very early in the application's development it's often better just to capture a video of the application running (from the emulator if fine and normally easier).
He would need to install VS Express with all the requirements that needs (Win8, CPU support for Client Hyper-V).
Emulator works pretty well over Remote Desktop and other remote viewing tech such as Skype, so that's another option.
Ok, i think i've found the needed steps:
send the XAP file from "Documents\Visual Studio 2010\Projects\AppName\Bin\Release\" where "AppName" is the name of the app.
download and install the sdk . not sure if Visual studio is needed.
run "XapDeploy.exe" tool which will allow to run the emulator and install the XAP file into it.
The file is somewhere similar to :
C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.0\Tools\XAP Deployment
run the app from within the emulator.

How to create installer setup for Windows phone Apps using visual studio ultimate 2010?

I want to create an installer for Windows Phone Apps i.e specific folder for images,specific folder for music. Audio file should be in music folder when app is installed in wp. Can anybody please provide an sample with screenshot???
When you compile a Windows Phone 7 application an XAP file gets created in the Bin/Debug or Bin/Release folder depending on your configuration.
To install this pre-release application on other developers emulator or phone they need the Windows Phone SDK installed. Once installed open:
Application Deployment
Select a device
Point to the XAP location.
This will instal your application
I don't think you can do anything like during the installation phase, as either the marketplace or the local xap takes care of it and you, as a developer do not have access to the folders were the apps are installed.
The best you can do is to create the required dirs in isolated storage the first time your app runs and copy anything either from the xap file, if the items are stored there, or copy them down from some sort of cloud storage possible,

How to test a ".xap" file on a Windows Phone 7 device?

Please tell me step by step process for testing a .xap file on a Windows Phone 7 device?
Firstly you must ensure that you meet the following prerequisites:
Your Windows Phone device is developer unlocked using the Microsoft Developer Registration Tool or Chevron WP7 Labs unlocker tool.
You have the Zune client software installed
You have the Windows Phone development toolkit installed
If you have all that sorted, you can then use the Application Deployment Tool to publish your .xap file by:
Connecting your phone to the computer
Open the Application Deployment Tool
Select "Windows Phone Device" from the drop down
Select your .xap file
Click Deploy
There's more information on MSDN
How to: Use the Application Deployment Tool for Windows Phone
There are 2 ways to do this
Using Visual Studio as described here.
Use the Application Deployment Tool as described here.
Note that deploying to a device requires the device to be developer unlocked and registered. For this, you must first get an App Hub account.
1.Need Developer Account First.
2.Zune installation.
3.After Activation of the Account need to register your mobile using windows phone registration tool.
4.Once register your mobile you can able to test the apps in device.

How to load any XAP file with the Windows Phone 7 emulator

Does anyone know if it is possible to load a windows phone 7 XAP file into the emulator without the solution or source files? In other words, can I send somebody just a XAP file so that they can test my app, without giving them the full source code?
Run this:
D:\Program Files\Microsoft SDKs\Windows Phone\v7.0\Tools\XAP Deployment\XapDeploy.exe
Here's the best and easiest way. Go to the start button and navigate to the "Windows Phone Developer Tools" folder. Inside you'll see a program called "Application Deployment" that you can open and use to install the xap file. It will ask you for the location of the .xap and will give the option of deploying to the emulator or to an unlocked device. Here is the source website: http://www.imaginativeuniversal.com/blog/post/2010/12/15/Windows-Phone-7-Side-Loading.aspx
There now seems to be a solution to this in the beta release, according to the windows phone developer blog - the following two tools ought to be able to address this problem (although I have yet to try this):
• Developer Registration Utility – Now you can unlock you Windows Phone 7 device for development purposes.
• XAP Deployment Tool – if you want to deploy XAP files directly to an unlocked device, now you can.
Yes it can be deployed on any emulator.
And here the way to do it
http://social.msdn.microsoft.com/Forums/en-US/windowsphone7series/thread/023d5f73-0528-47ee-add4-9f57f7d29815
Regards
In the current CTP, XAPs can only be deployed from a project. So the only way of sharing your application with someone else, is to share the source.
Yes, you can deploy the XAP file for WP7 or WP8 in emulator without having the source file!! Please follow the steps:
Go to the folder- "C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.0\Tools\XAP Deployment" and run the .exe file.
Now you will found a Application Deployment window. Select target device. Load the XAP file. Click 'Deploy' button.
Emulator will be opened automatically and finally you are ready to run the app from the Emulator.

Resources