Silverlight 4.0 - Deploying the XAP via a custom installer and configure it for OOB + Elevated permissions
Is it possible to deploy a XAP using a custom installer (muc开发者_JS百科h like deploying a desktop app), and configure it to run as OOB with Elevated permissions?
Bottomline is, when the app is started, it should run in Elevated permissions + OOB, with out any user intervention at all after the installation.
This is pretty easier than I thought.
You can edit the metadata file in the isolated storage where the xap is copied for OOB scenario, and point the index.html to the xap path.
http://debuggingblog.com/wp/2009/07/17/silverlight-3-outofbrowseroob-explained-and-how-to-host-any-xap-package-by-modifying-the-metadata/
精彩评论