Advertisement

Installing Silverlight Offline

I’ve gotten a few questions (including a great comment) about needing to install Silverlight under offline or administrative-restricted environments.  There are two ways you can install this.

First, you’ll still need the Silverlight Tools for Visual Studio installer.  Next, make sure you download the Silverlight Developer Runtime (Windows).  There is a Mac runtime for developers as well, but if you are wanting to install the developer tools for Visual Studio offline, I’m guessing you are on Windows :-).

Okay, here’s the two options.  These really should only be done if you need an offline install experience.  If you don’t, let the installer do the work it needs please.  These instructions are for RC0 runtime at this time only. UPDATE: These also work for RTW.

Option 1 – Extract and Paste

Open a command-line window and navigate to where you downloaded the silverlight_tools.exe (Silverlight Tools for Visual Studio) file.  Run this command:

   1: silverlight_tools.exe /x

This should bring up a window like this:

Choose a location where you want the installer files to be extracted.  Make note of that path :-).  Now take the Silverlight_Developer.exe file you downloaded (Silverlight Developer Runtime) and put it in the folder where you just extracted the tools bits.

Now from the extracted folder, run SPInstaller.exe and the setup should run through installing the developer runtime and all the other required tools for development.

Option 2 – Put the Silverlight Developer Runtime in Temp

The second option still requires you to have both files, but you don’t have to extract the files from the tools installer.  It involves putting the developer runtime in your current Temp directory.  How do I know what my current temp directory is?  Again, open a command window and type:

   1: cd %TEMP%

This should navigate you your current Temp directory.  Now that you are in this directory, create a directory called “Silverlight Tools RTW” – you can use your command window to do this by typing:

   1: mkdir "Silverlight Tools RTW"

Now copy the Silverlight_Developer.exe file into that newly created folder and run the silverlight_tools.exe installer file.  This should get you the developer runtime installed and then the remaining tools.

I hope this helps some get over any admin/offline hump you may be experiencing.


This work is licensed under a Creative Commons Attribution By license.

  1. 10/14/2008 2:57 AM | # re: Installing Silverlight Offline
    Great tip,

    Here is another way to do that, but they might work the same:

    go here: http://weblogs.asp.net/piseth/archive/2008/09/27/silverlight2-rc0-installation-made-easy.aspx

    Thanks
    Piseth
  2. Gravatar
    10/19/2008 9:19 PM | # re: Installing Silverlight Offline
    Silverlight 2 RC0 Developer Runtime (Silverlight.2.0_Developer.exe) link is
    http://go.microsoft.com/fwlink/?LinkId=127693
  3. 10/29/2008 11:53 PM | # re: Installing Silverlight Offline
    @Gravatar

    The "Silverlight Tools for Visual Studio installer" is not available anymore. It's include in VS2008 SP1 (I suppose). The SP1 is install on this PC. I tried your method but still try to attempt to download.
  4. 10/30/2008 7:24 AM | # re: Installing Silverlight Offline
    Gabriel: This is not true. It is not in VS 2008 SP1. SP1 is required to install it, but it is not included. It sounds like the one step you are missing is to download the developer runtime as well and put it in the extracted folder. Again this is ONLY needed for offline/proxy issues installations.
  5. 11/3/2008 12:56 PM | # re: Installing Silverlight Offline
    Thanks
  6. 12/11/2008 7:39 AM | # re: Installing Silverlight Offline
    This tip was extremly helpful. Thanks!
  7. 12/18/2008 10:13 AM | # re: Installing Silverlight Offline
    Very helpful when you've got a nasty proxy server between you and the outside world!

    Many thanks!
  8. 3/5/2009 8:51 AM | # re: Installing Silverlight Offline
    thanx
  9. 4/17/2009 2:34 AM | # re: Installing Silverlight Offline
    option 1 was helpful! I was downloaded Silverlight.2.0_Developer.exe and install it, but no effect. Only after I put it to extracted files Silverlight Tools has been installed succesfully!
  10. 6/12/2009 4:32 AM | # another problem
    hello ,
    after installed silverlight in an other machine in offline mod , i face now another problem .
    this problem occurs when creating a new silverlight application hosted by an asp .net application.i get this message :
    Microsoft Visual Studio
    Could not be found (Exception from HRESULT : 0x80030002 (STG_E_FILENOTFOUND)

    the VISUAL STUDIO 2008 create first , the silverlight application's files . i can see them in the project explorer!! but just after , it throws the ERROR's message.
    for mors informations :
    VS 2008 SP1
    SILVERLIGHT 2.0

    if you know a solution , or you have an idea about this problem , you may be helpfull for me !! thank you
  11. 6/17/2009 8:56 AM | # re: Installing Silverlight Offline
    Many thanks, great workaround really works
  12. Gravatar
    7/1/2009 2:32 AM | # re: Installing Silverlight Offline
    thanks a million this stuff reallly helped me save several hours.thanks..............
  13. 7/14/2009 2:54 AM | # re: Installing Silverlight Offline
    Thank you, you save my time!
  14. 7/20/2009 1:17 AM | # re: Installing Silverlight Offline
    Hi, I need to install silverlight 3 offline, but I can't find Silverlight 3 developer runtime on the net.

    Does anyone know where it is?
  15. 8/25/2009 12:39 AM | # re: Installing Silverlight Offline
    thank u very much
  16. 10/9/2009 11:36 AM | # re: Installing Silverlight Offline
    I am having the same problem as Jalal. After installing Silverlight 3.0 Tools and MVC 1 RC 2, I get the following error when trying to create a new Silverlight Application hosted by an MVC Web Project: STG_E_FILENOTFOUND.

    Since nobody responded to Jalal's question, I'm hoping I will get lucky. Any solutions for this problem?

    Thanks,

    Greg.
  17. 10/9/2009 11:39 AM | # re: Installing Silverlight Offline
    Greg -- please make sure you are using V1 of MVC (not any RC): www.microsoft.com/.../details.aspx
  18. 2/7/2010 8:57 PM | # re: Installing Silverlight Offline
    hey, great tip man
    thanx dude :)

 
Please add 4 and 5 and type the answer here:
First time here? You are looking at the most recent posts. You may also want to check out older archives. Please leave a comment, ask a question and consider subscribing to the latest posts via RSS or email. Thank you for visiting! (hide this)