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…
Continue reading » · Rating: · Written on: 09-17-09 ·
No Comments »