Powered by MSDN

US - English
NEW! Silverlight 5 is available Learn More

Change Silverlht download source RSS

2 replies

Last post Apr 06, 2010 09:24 PM by CACUser

(0)
  • rodin1983

    rodin1983

    0 Points

    1 Post

    Change Silverlht download source

    Feb 07, 2008 01:18 PM | LINK

    Hi,

     

    I want to host a silverlight site in a entwork with no internet connection. If someone opens the silverlight site you see an message to download silverlight. But with no internetConnection this won't work. How can i Change the link where this message leads me to download silverlight plugin. Can I change it to a path like c:\tools\silverlight.exe?

     

     

  • mchlSync

    mchlSync

    Star

    14968 Points

    2799 Posts

    Re: Change Silverlht download source

    Feb 07, 2008 02:10 PM | LINK

    Hello,

    Your question is really good.

    Here is the steps that you have to do if you want to change the path of Silverlight installer.

    • Upload the Silverlight.exe to your web directory of your local IIS server. (let's say your silverlight.exe is under this path. "http://localhost/silverlightinstaller/silverlight.exe")
    • Open the Silverlight.js in VS 2008 or your favorite text editor.
    • Find "Silverlight.fwlinkRoot" in that file.
    • (You will see this code "Silverlight.fwlinkRoot="http://go.microsoft.com/fwlink/?LinkID=")
    • Replace with Silverlight.fwlinkRoot="http://localhost/silverlightinstaller/"
    • Find "b="92800"" in that file again.
    • (You will see this code "if(c=="Windows")b="92800";else if(c=="MacIntel")b="92812";else if(c=="MacPPC")b="92811"")
    • Replace with if(c=="Windows")b="silverlight.exe";else if(c=="MacIntel")b="silverlight.exe";else if(c=="MacPPC")b="silverlight.exe"
    That's all. Hope it helps.
    (If this has answered your question, please click on "Mark as Answer" on this post. Thank you!)

    Regards,
    Michael Sync
    Silverlight MVP

    Blog : http://michaelsync.net
  • CACUser

    CACUser

    Member

    9 Points

    13 Posts

    Re: Change Silverlht download source

    Apr 06, 2010 09:24 PM | LINK

    Can the silverlight installer be packaged with our product that conatins a Silverlight app? If so, is there a redistributable license or any procedures that need to be followed?