Skip to content


Hosting Silverlight as Desktop Applications – II

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

Enabling Silverlight Installation on Desktop

To enable installation of Silverlight applications on Desktop, we need to add some custom code in Property > AppManifest.xml

</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><Deployment xmlns=http://schemas.microsoft.com/client/2007/deployment</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"></div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><Deployment.Parts></Deployment.Parts></div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><Deployment.OutOfBrowserSettings></div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><OutOfBrowserSettings ShortName="Hello World Application"></div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><OutOfBrowserSettings.WindowSettings></div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><WindowSettings Title="HW Application" /></div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"></OutOfBrowserSettings.WindowSettings></div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><OutOfBrowserSettings.Blurb>Comments that are displayed in More Information </OutOfBrowserSettings.Blurb></div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"></OutOfBrowserSettings></div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"></Deployment.OutOfBrowserSettings></div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"></Deployment></div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">

 <Deployment xmlns=http://schemas.microsoft.com/client/2007/deployment
  xmlns:x=http://schemas.microsoft.com/winfx/2006/xaml>
  <Deployment.Parts></Deployment.Parts>
  <Deployment.OutOfBrowserSettings>
    <OutOfBrowserSettings ShortName="Hello World Application">
      <OutOfBrowserSettings.WindowSettings>
        <WindowSettings Title="HW Application" />
      </OutOfBrowserSettings.WindowSettings>
      <OutOfBrowserSettings.Blurb>Comments that are displayed in More Information </OutOfBrowserSettings.Blurb>
    </OutOfBrowserSettings>
  </Deployment.OutOfBrowserSettings>
</Deployment>

And when any one accesses it, is able to install by right click and even create shortcuts…


Related Posts:

Posted in Silverlight.

Tagged with .


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.