Wednesday, October 17, 2012

Convert xap to exe

Convert xap to exe

Can anybody suggest a tool to convert Silverlight xap files to Windows executables? I googled and got this this link but it does not work.

Edit: The Silverlight application has been compiled without the out-of-browser switch and I want to know if there is a solution which does not require me to open the project and recompile with out-of browser mode on.

Answers & Comments...

Answer: 1

A XAP file is just a Zip file that has a different extension. You can easily use libraries like SharpLib or DotNetZip to extract the contents of it. You can also manualy change the extension of a .xap file to .zip and then extract it in a folder. When extracted, you would get all the assemblies that were bundled as part of the .xap file.

Everything is clearly explained in the following link,

Extracting Assemblies from a XAP File

by : Sajeetharanhttp://stackoverflow.com/users/1749403

Answer: 2

This link might be of interest:

http://www.amazedsaint.com/2010/05/how-to-create-offline-installer-no.html

It describes creating an installer that installs silverlight on machines where it is not present, as well as an Out-of-browser silverlight application and start menu links. You can use this installer on machines with no internet connection and no .net runtime installed. So it offers most of the practical benefits of converting it to an exe. I followed that procedure before and found it good.

by : Peterhttp://stackoverflow.com/users/1658168




1 comment:

Anonymous said...

Have you ever thought about adding a little bit more than just your articles?
I mean, what you say is valuable and all. But imagine if you added some great visuals
or video clips to give your posts more, "pop"! Your content is excellent but with images and videos,
this site could certainly be one of the best in its field.
Terrific blog!
Also visit my blog post : how to make a theme for facebook

Post a Comment

Send us your comment related to the topic mentioned on the blog