get XAP to install from IE / Email on Stock ROMS [ Homebrew ]
With Apps / games that are installed from the marketplace you automatically update the app when an update is pushed out via the Marketplace but if you are a sideloader then when the new version of the app comes out and you try to reinstall the XAP file the app is installed as a fresh copy and you lose the settings and customization but with a new homebrew app called XapHandler you can tell your phone to install the XAP as a clean install or force it to update the existing XAP.
Update : The app can also be used on unlocked stock ROM ( thanks to WP7 Root Tools ) which will enable users to sideload XAP from IE or email )
Install instruction :
- Install XapHandler
- Run XapHandler ( if you are on a stock ROM you will need to add XapHandler as trusted using WP7 Root Tools ) and hit OK.
- Exit App.
If you want to remove the xap association with XAPHandler , follow these steps
1) Open a registry editor
2) Go to HKEY_CLASSES_ROOT (HKCR).xap
3) Change the default value back to what it used to be
3.1) The original value on most custom ROMs should be “xapfile” which is the same value the app uses; don’t panic if it’s unchanged!
3.2) The old default value *should* be backed up in a registry value simply called “0″
4) If there’s a value called 0, delete it
5) Go to HKCR
5.1) For most people, that’s HKCRxapfile
6) Change the default value back to what it used to be
6.1) The original value on most custom ROMs should be empty
6.2) This step is not important; the value is cosmetic and intended for the user
6.3) The old default value *should* be backed up in a registry value simply called “0″
7) If there’s a value called 0, delete it
8) If you have a registry key called BrowseInPlace (eg. HKCRxapfileBrowseInPlace) you can delete it
8.1) I don’t *think* it’ll hurt anything if left, though
9) Set the registry value EditFlags to DWORD 65536 (0×00010000)
9.1) This value is set by release versions of XapHandler
9.2) If the value is missing, create it with the data listed above
10) Go into the registry keys “shell”, “open”, and “command”
10.1) For example, HKCRxapfileshellopencommand
11) Change the default value back to what it used to be
11.1) The default value on most custom ROMs should be “XAPDeployer.exe “%1″” (remove first and last quotes)
11.3) The old default value *should* be backed up in a registry value simply called “0″
12) If there’s a value called 0, delete it
13) If you had to change anything in step 3, go to HKCR
13.1) Don’t do this step if you didn’t have to change anything in step 3!
14) Delete HKCRxapfile and all its contents
14.1) This step isn’t needed, just cleanup
14.2) Don’t do this step unless you had a different original progID than “xapfile”!