locked
How to set used Silverlight Version RRS feed

  • Question

  • Hello,

    I'm developing silverlight stuff with the latest silverlight version. It appears that this version is higher than the one deployed via windows update from microsoft, since all the staff members who need to test my application are being asked to install a newer silverlight version on their desktops.

    Because this would enhance the basic usability of my application, I would like to use the silverlight version which is the most spread currently, so that more people can see my I app without updating their silverlight version.

    But how can I change that?

    And where can I get information about when silverlight-updates are deployed via windows update?

    Greetings,

    SonicTTH

    Friday, January 14, 2011 2:43 PM

Answers

All replies

  • Some reference info on the topic:

    http://msdn.microsoft.com/en-us/library/cc265156%28v=vs.95%29.aspx

    http://msdn.microsoft.com/en-us/library/system.windows.deployment.runtimeversion%28v=vs.95%29.aspx

    http://msdn.microsoft.com/en-us/library/cc917842%28v=vs.95%29.aspx

     

    There is a tag in the html page that specifies the min runtime version.

    Friday, January 14, 2011 4:16 PM
    Moderator
  • Dear Mr. Hays,

    Thank you for your respond.

    The links you provided where very informative, however, setting up the minimum runtime version for my application isn't the primary issue. I need to build my application into a lower plugin version than (this is it's current value) 4.0.50826.0. Workstations have installed a lower version and I need to get my silverlight application running with the older one and not the current one.

    So I really need to know how I can do this.

    Again, thanks for your respond and your help so far.

    Greetings,

    SonicTTH

    Tuesday, January 18, 2011 7:27 AM
  • I was suggesting you could lower that value to an earlier version, that is what is causing the upgrade prompt I believe.
    Tuesday, January 18, 2011 1:45 PM
    Moderator
  • Okay, I could do this. Actually, I allready tried setting it to 4.0.0.0. The result of that was the plugin starting and not displaying default silverlight logo with some text but instead a messagebox which is asking for that upgrade.

    So I tried, but this didn't work.

    Tuesday, January 18, 2011 2:55 PM
  • So here is the code which displays the silverlight object within a normal html page:<br/><br/><br/><br/><br/>
    
                <div id="silverlightControlHost" style="width:720px; height:540px;">
                  <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%">
    		            <param name="source" value="silverlight/hauptseite/Bin/Debug/bi-Cube(r)-show.xap"/>
    		            <param name="onError" value="onSilverlightError" />
    		            <param name="background" value="white" />
    		            <param name="minRuntimeVersion" value="4.0.50524.0" /> <!-- Original: <param name="minRuntimeVersion" value="4.0.50826.0" /> -->
    		            <param name="autoUpgrade" value="true" />
                    	<param name="windowless" value="true" />
    		            <a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=4.0.50826.0" style="text-decoration:none">
     			          <img src="http://go.microsoft.com/fwlink/?LinkId=161376" alt="Get Microsoft Silverlight" style="border-style:none"/>
    		            </a>
    	            </object>
                </div>
    

    Can I do Anything with that or should I change the silverlight runtime with witch I launch all the stuff I build with Blend? How? Where can I get older developer versions of silverlight or it's sdk?

    Please forgive me but I keep running into the most basic problems with Silverlight since I started to learn about and work with it. I simply cannot understand how there could be such a lack of information, documentation and help for newcomers to learn this stuff. With a plugin like this and the extremely slow update speed of peoples on the web... how can you just think of "Oh you don't have an up to date silverlight version on your pc... update this, even if you don't really need...". Don't you think about that commercial websites could use silverlight and these would simply LOCK OUT their costumers because of this EXTREME FAILURE of yours?

    Do I need to contact Microsoft Support for this stuff or isn't this problem important enough to give it some notice? I'm 100% sure there are other people out there who have this problem as well.

    Friday, January 21, 2011 8:20 AM
  • Okay, Here's a solution:

    You can download the RTW Version of the Silverlight 4 SDK, which generates a lower versioned output than the current silverlight runtime on your system when building the application with blend.

    The RTW version download can be found here: http://download.microsoft.com/download/3/0/F/30F4B101-1D1A-49F3-8CAF-388C26606C4F/sdk/silverlight_sdk.exe

    More Information about this problem: http://timheuer.com/blog/archive/2010/09/28/keeping-your-silverlight-dev-environment-stable-through-service-releases.aspx

    Greetings,

    The Hedgehog

    • Marked as answer by SonicTTH Friday, January 21, 2011 12:18 PM
    Friday, January 21, 2011 12:18 PM
  • I appreciate that you are frustrated, but please keep in mind that the people in this forum are all volunteers (including the MSFT employees who post here). The Expression team also has very little to do with such details as service releases and versioning for the Silverlight platform, so we just try our best to answer questions.

    Glad you got it sorted out, and thanks for posting the answer for others who might have a similar question.

    Friday, January 21, 2011 1:33 PM
    Moderator