What Was I Thinking?

Follies & Foils of .NET Development
posts - 95 , comments - 352 , trackbacks - 0

Open XAP files using Windows Explorer

Silverlight bundles its executables into a single file with a XAP extension.  This is really just a zip file.  You can open the XAP and modify the contents just as you would any ZIP file.  By default windows explorer doesn’t know how to open XAP files.

 

The following reg file adds the metadata to tell Explorer to treat XAP files like compressed folders.  I found this file somewhere on the internet, my apologies for not being able to site the source.

 

Windows Registry Editor Version 5.00 

[HKEY_CLASSES_ROOT\.xap]
"PerceivedType"="compressed"
"Content Type"="application/x-silverlight-app"
@="CompressedFolder"

[HKEY_CLASSES_ROOT\.xap\CompressedFolder]

[HKEY_CLASSES_ROOT\.xap\OpenWithProgids]
"CompressedFolder"=""

[HKEY_CLASSES_ROOT\.xap\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"

The file is available for download here

After apply the registry changes, you’ll be able to open XAP files directly in Windows Explorer.

Print | posted on Sunday, October 11, 2009 9:25 PM | Filed Under [ Silverlight ]

Feedback

Gravatar

# re: Open XAP files using Windows Explorer

Doesn't work in Windows 7
7/7/2010 8:40 AM | Badger
Gravatar

# re: Open XAP files using Windows Explorer

It worked fine, thank you
2/16/2012 5:29 AM | Rabby
Gravatar

# re: Open XAP files using Windows Explorer

does not download for window 7
9/18/2012 1:28 AM | sylvester
Gravatar

# re: Open XAP files using Windows Explorer

How to download wht to download ?
where should i use tht thing ..
filled with so many questions..
plzz help
11/5/2013 9:45 AM | aniket
Gravatar

# re: Open XAP files using Windows Explorer

Where is the download for ?
12/27/2014 1:13 AM | Arivazhagan
Gravatar

# re: Open XAP files using Windows Explorer

how do i add it? it comes up "Cannot import. Specified file is not a registry script. You can only import binary registry files from within the registry editor."
PLZ HELP
4/17/2015 8:54 PM | HELP ME
Post A Comment
Title:
Name:
Email:
Comment:
Verification:
 

Powered by: