We're using a combination of Silverlight 4, .net 4 and VS2010 for several internal projects. When building a project, we're not manually specifying the build of silverlight that we require anywhere other than in the page that gets auto-generated.
We're having problems with the clients requiring the absolute latest build of silverlight that's out, and as our IT department use a packaging solution to deploy software - they can't spare time to update the package every 2 months.
On our dev machines, we've got full admin rights, however, on the clients where they run these apps, the machines are locked down, and the users can't install anything.
We've tried playing about with the tags created in the HTML to require a several month old release that IT have packaged, to no avail (see our html below).
<div id="silverlightControlHost">
<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%">
<param name="source" value="/ClientBin/xapfilename.xap"/>
<param name="onError" value="onSilverlightError" />
<param name="background" value="white" />
<param name="minRuntimeVersion" value="4.0.50401.0" />
<param name="autoUpgrade" value="false" />
<a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=4.0.50401.0" style="text-decoration:none">
<img src="http://go.microsoft.com/fwlink/?LinkId=161376" alt="Get Microsoft Silverlight" style="border-style:none"/>
</a>
</object>
<iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe>
</div>
Has anybody got any ideas on how to make silverlight work with the older version (4.0.50401.0) as opposed to the latest version (4.0.50917.0)?