Install app from zip file - Windows Phone 7 Q&A, Help & Troubleshooting

We know how to install or deploy xap files..but can someone tell me how to deploy .zip file to windows phone devices?

What do you mean, "deploy zip file"? XAP files are ZIP archives; if it's a WP7 app with the wrong extension, just rename the file. If it's a ZIP archive containing a XAP file, extraft the XAP and deploy as normal. If it's something else... I can't help you unless you tell me more.

by deploying i meant the way we deploy .xap files with windows phone dev tools.I tried as you said,to rename the extension of the .zip to .xap.But then application deployment tool is showing error message cant deploy .xap file.
when i extract the contents are..a content folder..couple of language folder,a AppManifest.xaml file,WMAppManifest.xml and couple of .dlls.What should i do now?
btw thank you for quick response :laugh:

The files you name indicate that it is indeed a regular XAP file which you have there. You don't need to extract the contents.
What error does the tool give you? You can't deploy all XAPs on all unlock levels - for instance deploying a XAP with InterOp services capabilities would result in an error (more info here).
P.S.: Downloading a XAP file with IE will somehow result in the file being renamed to ZIP. I suspect a MIME issue or similar. Renaming these downloaded ZIP's extensions back to XAP makes them deploy fine.

Is it a homebrew app downloaded from XDA-Devs or a similar site, or is it a Marketplace app? The latter cannot be sideloaded with standard tools, by design.

GoodDayToDie said:
Is it a homebrew app downloaded from XDA-Devs or a similar site, or is it a Marketplace app? The latter cannot be sideloaded with standard tools, by design.
Click to expand...
Click to collapse
It can't be an encrypted XAP; if it was, he couldn't extract the contents since PlayReady encrypts the entire ZIP archive and the XAP doesn't contain a valid ZIP hence.
I doubt he got an older marketplace XAP renamed with a ZIP extension though, especially due to the fact that IE downloads attached XAPs from here exactly in that manner.

Sometimes people post Marketplace XAPs for download from other sites, including here; that was just a guess.

Related

xap package signature is not valid?

i try to load some xap files into my phone using Tom XAP Installer v1.1, but i consistently got some error messages. i tried every method and can not fix it.
1. make sure your phone is unlocked
2. make sure you connected device to pc and zune launched.
My device is 100% sure unlocked and i have every tool installed in my machine.
Finally i used application deployment tool by MS, and i got error message:
"xap package signature is not valid or the wp manifest file is invalid. re-sign with valid signature and fix the manifest file."
what should i do? thanks for you help.
The XAP's are DRM protected. I know multiple ways to strip off the DRM, but that would be illegal and therefore I will not give you instructions on this forum. That would violate the rules of XDA forum.
The guy who gave you the xap used the wrong compression method to generate it.
- Rename it to .zip
- Decompress the zip
- Compress the decompressed files with Windows Integrated ZIP (Right Click->Send To)
- Rename .zip to .xap
so basically if you knew multiple ways to strip off the DRM, i can google it and do it by myself.
anyway, thanks.
Heathcliff74 said:
The XAP's are DRM protected. I know multiple ways to strip off the DRM, but that would be illegal and therefore I will not give you instructions on this forum. That would violate the rules of XDA forum.
Click to expand...
Click to collapse
simply re-decompressing the file will solve my problem? i doubt.
but i will try later. thanks.
kuerbis2 said:
The guy who gave you the xap used the wrong compression method to generate it.
- Rename it to .zip
- Decompress the zip
- Compress the decompressed files with Windows Integrated ZIP (Right Click->Send To)
- Rename .zip to .xap
Click to expand...
Click to collapse
thanks it's working...
does not work for me, but thanks?
I think you can use WP7-DesktopMarketplace
And remember to choose Remove DRM & Replace signature

[Q] Getting Apps on the PC

Hey!
I want to make my own Icons for some apps that I've got on my phone and I wanted to know if and how I can get those Apps from my phone to my PC. Because when I don't have the .XAP's on my PC, I can't change the Icons. And second: How can I open XAP's with Visual Studio 2010 for Windows Phone (because I need to change the Icon it's using)?
Thanks for your answers!
use a xap downloader, such as http://forum.xda-developers.com/showthread.php?t=894502
then rename the .xap to .zip, modify the icon, and rename it to .xap. Then deploy it to your phone.
And if I want to change the Icon of an App that costs sth. and that is on my phone?
ale07 said:
use a xap downloader, such as http://forum.xda-developers.com/showthread.php?t=894502
then rename the .xap to .zip, modify the icon, and rename it to .xap. Then deploy it to your phone.
Click to expand...
Click to collapse
I tried this..but I could never get the app to deploy once I change the icon.
I tested this with Registry Editor. I renamed the .xap file to .zip and extracted it. I changed the images in applicationIcon.png and background.png and then saved them with the same names. I then zipped and renamed back to .xap but it won't deploy. Toms Xap installer says "make sure the phone is unlocked and zune launched". But i can deploy the original .xap even after that error message but never the one I changed.
I tired winzip, winrar and freearc.

XAP size limit in Nodo

Hi guys !
Anyone noticed XAP size litmit in Nodo ?
For 7004,7008 jailbreaked we can install xap with any size , but in nodo we can't not install xap more than 75-80 mb , anyone found way change the litmit of xap size in nodo ?
Tom
tom_codon said:
Hi guys !
Anyone noticed XAP size litmit in Nodo ?
For 7004,7008 jailbreaked we can install xap with any size , but in nodo we can't not install xap more than 75-80 mb , anyone found way change the litmit of xap size in nodo ?
Tom
Click to expand...
Click to collapse
THIS I HAVE NOTICED TOO
I tried to install a game my friend was developing on 3 devices and no dice. I thought it was a registry setting but evidently no.
Is there a registry edit to regulate app size?
yes, same problems , anyone know how to fix that , please share the trick
I didn't notice this. I'm going to check when I get home.
Sent using XDA Windows Phone 7 App
yeah i noticed it too
for these big xaps, i just install them with a smaller size and then install the big files with touchxperience or another phone->file-manager
diboze said:
yeah i noticed it too
for these big xaps, i just install them with a smaller size and then install the big files with touchxperience or another phone->file-manager
Click to expand...
Click to collapse
could you explain your process a lil bit more? dont really get it ^^;
ok
First I extract the .xap into a folder. Next thing is to open the xap and remove the large files and look which guid the app has in the manifest.xml .
Install .xap . Now we use TouchXperience or Advanced Eplorer to copy the files into Applications/Data/guid/* and voila. extra-big-xap is installed
Holy Smoke °_°!
Thanks for the hint, gonna try that one out~
Man... this question was asked by me before already ... i guess i wasnt specific enough on my title ><
http://forum.xda-developers.com/showthread.php?t=1020532
and i also checked the folder structure...
it seems the file was deployed to Application/install/GUID/Install
well thats where i found the deployed files
AND IM HAPPY TO SAY IT TOTALLY WORKS!! YAYYYY THANKS FOR DISCOVERING THIS METHOD!!!
Hm didnt work for me ^^;
May I ask for a step by step guide?
File transfer is extremely slow, i'm getting old transfering 200MB apps....
If the game only has 1 big file, you can use the usb trick for windows, your files will be then in my document / zune /content / ...
I cause that problem too, but when I tried installed 2 files (with small file size) in same times that working
but i fail the method delete big file in xap and installed
by the way I don't found XDA app for WP7. I search for a week and my eye nearly blind thanks
yay... I success install big xap to my phone. method delete big file is working but copy file to phone is need to wait for age
There is a MUCH easier method. Simpy deploy using Homebrew Marketplace found here:
http://forum.xda-developers.com/showthread.php?t=1016766
Just deployed some xtra large XAP's with it on NoDo and everything went fine
TheOnly1 said:
There is a MUCH easier method. Simpy deploy using Homebrew Marketplace found here:
http://forum.xda-developers.com/showthread.php?t=1016766
Just deployed some xtra large XAP's with it on NoDo and everything went fine
Click to expand...
Click to collapse
Thanks, i'll reupdate to NoDo and try it out
EDIT: not working
On what OS did you try? did you use the MS dev tools or ConMan libs?
I used Dev Tools with this program. I deployed Guitar Hero 5 (212 MB) as a test and it worked. The Harvest also gave me no problems.
Edit: Now I tried it again and got a timeout error. Then I launched Windows Phone Device Manager 1.2 and deployed again with Homebrew Marketplace and in worked. Weird
Edit 2: My desktop OS is Windows 7.
This method is if everything fails (quite tedious).... it worked for me every time so far
You need:
- Unlocked phone
- TouchXperience (Windows Phone Device manager) or advanced explorer (So that you can transfer files from PC to Phone)
1. Make a copy of the .xap file (just in case u screw it up)
2. Open the .xap file with winrar
3. Extract everything into a New folder
3. Find the file "WMAppManifest.xml" - open it and check the "productID", record this number down
3. By using winrar, delete files inside the .xap file until you have around 20mb left of the .xap file (Make note of what you deleted it, i usually just delete the content folder)
4. Deploy the modified .xap file
5. Now by using Touchexperience, transfer the files u deleted into the following destination in ur phone: (Just in case u forget, you have already extracted all the files previously, so find the deleted files from there)
Applications\Install\"Product ID"\Install
(make sure the folder structures remain the same as it was in the .xap file)
6. And you are done
I hope i was clear with this!!~~
toothfish said:
This method is if everything fails (quite tedious).... it worked for me every time so far
You need:
- Unlocked phone
- TouchXperience (Windows Phone Device manager) or advanced explorer (So that you can transfer files from PC to Phone)
1. Make a copy of the .xap file (just in case u screw it up)
2. Open the .xap file with winrar
3. Extract everything into a New folder
3. Find the file "WMAppManifest.xml" - open it and check the "productID", record this number down
3. By using winrar, delete files inside the .xap file until you have around 20mb left of the .xap file (Make note of what you deleted it, i usually just delete the content folder)
4. Deploy the modified .xap file
5. Now by using Touchexperience, transfer the files u deleted into the following destination in ur phone: (Just in case u forget, you have already extracted all the files previously, so find the deleted files from there)
Applications\Install\"Product ID"\Install
(make sure the folder structures remain the same as it was in the .xap file)
6. And you are done
I hope i was clear with this!!~~
Click to expand...
Click to collapse
Yes it would work if the file transfer wasn't so damn slow.
where can I download XDA app for WP7?
help me please..
my eye nearly blind for reading and searching that baby
Cheerrrr
bubbl3 said:
Yes it would work if the file transfer wasn't so damn slow.
Click to expand...
Click to collapse
sadly this method only works on htc devices

Uploading Files directly to phone?

I have been googling and researching for an hour but have had no luck, and my question is pretty basic
I am trying to get some XML files as described in this post
http://forum.xda-developers.com/showthread.php?p=17060997
into my phone. I have a registered dev phone, but I cant figure out how to get **** into the device! "
http://forum.xda-developers.com/showthread.php?t=1239329
RealEmotionX said:
I have been googling and researching for an hour but have had no luck, and my question is pretty basic
I am trying to get some XML files as described in this post
http://forum.xda-developers.com/showthread.php?p=17060997
into my phone. I have a registered dev phone, but I cant figure out how to get **** into the device! "
Click to expand...
Click to collapse
Visit my initial thread for Samsung provxml under Mango:
http://forum.xda-developers.com/showthread.php?t=1226030
That would have been perfect if the program you built worked. Thank you very much but I am going to have to seek another solution. Every time I try to use the IsoStoreSpy, the software crashes.
UPDATE
@contable and when I try your method, the application deployment program tells me the XAP is invalid.
RealEmotionX said:
That would have been perfect if the program you built worked. Thank you very much but I am going to have to seek another solution. Every time I try to use the IsoStoreSpy, the software crashes.
UPDATE
@contable and when I try your method, the application deployment program tells me the XAP is invalid.
Click to expand...
Click to collapse
My .xap file is working well on chevron unlocked devices, so it should also work on developer unlocked devices.
I can deploy the file with the official deployment tool or WPV xap deployer 1.5.
When I unzip the XAP and change any of the XML files is when it decides the XAP file is invalid. I can upload the original file.
RealEmotionX said:
When I unzip the XAP and change any of the XML files is when it decides the XAP file is invalid. I can upload the original file.
Click to expand...
Click to collapse
I have changed the xml files inside the xap 1000 times.
Did you change the file extension from .xap to .zip before unzipping ?
Here are the steps
1. Unzip files after renaming extension to .zip
2. Update XML
3. Rezip files with 7zip
4. Rename file extension to .xap
RealEmotionX said:
Here are the steps
1. Unzip files after renaming extension to .zip
2. Update XML
3. Rezip files with 7zip
4. Rename file extension to .xap
Click to expand...
Click to collapse
I use Winrar not 7zip...
Sent from my OMNIA7 using XDA Windows Phone 7 App
same result using winrar compression
is there another way to deploy apps?
Anyone have any suggestions?
Are you on Mango or NoDo? If Mango you have to do some reg edits when you get to Mango or you can't side load unsigned apps (I think; I could be wrong).
I was trying to be able to do what is described in my first post of this thread. Those tweaks can be applied and carried into Mango, I am currently on NoDo. About to give up though

[Q] Restoring .zmz backup files

Ages ago I backed up my pre-signed WP7 app installers. They are in .zmz format.
The internet says these renamed .xap files, but they aren't just renamed .zip files like the very old .xap files were. XAP Deployer on WP7 can't handle them, nor can XAP Deployer 2.0 on Windows.
Does anyone know how to re-install these apps? Some of them are no longer available (like Cubed).
Any takers?

Categories

Resources