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:
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.