Installation Tips for Silverlight Tools Beta 1 for Visual Studio 2008

 

As many of you know Silverlight 2 Beta 1 was release today at MIX08.  What an awesome day.  The new applications under development based on Silverlight 2 are truly incredible!  Check out http://www.microsoft.com/silverlight/

To get started with Silverlight 2 you can download "Silverlight Tools Beta 1 for Visual Studio 2008" here.

The Silverlight Tools installer will install everything needed to start working with Silverlight 2 in Visual Studio 2008.

It installs the following:

  • Silverlight 2 Beta 1
  • Silverlight 2 SDK Beta 1
  • KB949325 for Visual Studio 2008
  • Silverlight Tools Beta 1 for Visual Studio 2008

Even if you've previously installed Silverlight 1.0 or Silverlight 2 Beta 1 the installer will proceed and install the additional components.

That's it!  You're now ready to start creating rich Internet applications with Silverlight 2 and Visual Studio 2008.

While the installation is that simple in most cases, there have been some installation issues reported.  I've listed below the issues and solutions I've run into so far.  I'll update this post if new issues are reported.

Installation Error

If you do run into an installation error, it's most like due to a previous installation of Silverlight 1.1 Alpha or any of the Silverlight SDKs, including the Silverlight 2 Beta 1 SDK.  You must uninstall all these components before installing Silverlight Tools Beta1 for VS08.  If you don't uninstall these products first you'll get this error dialog from the installer.

InstallError

If you see this dialog, be sure to uninstall all the dependent components and restart the installer.

Can't Find KB949325 to Uninstall?

If you ever need to uninstall KB949325, you can do this through Add and Remove Programs.  However it does not show up by default in Add and Remove Programs. 

Instead you need to select "View Installed Updates"

ARP1.

Now you'll see all the updates and patches installed to applications on your computers.  Scroll down and you'll find KB949325.  It will be listed as:

ARP2

It should not come as a surprise that if you uninstall KB949325, you will not be able to use Silverlight projects in Visual Studio.  Only uninstall KB949325 if you're planning on returning VS08 to its RTM condition or if you're attempting to reinstall Silverlight Tools.

Prompt for installation source media

In some cases you may get a prompted for the installation CD-ROM for Visual Studio 2008.

MediaPrompt

Heath Stewart has an excellent blog post on some of the issues users are encountering when installing patches for Visual Studio 2008. You can read his entire post here.  Heath has a new post specific to this prompt when installing Silverlight Tools here.

One of the scenarios causing this to happen with the Silverlight Tools installer is when Visual C++ is not installed.   The other component that will cause this to happen is if you don't have the "Microsoft Visual Studio Web Authoring Component".

You can manually get around this.  First you'll need to extract the individual installers from the Silverlight Tools Beta 1 for VS08 chained installer.  To do this download and save the Silverlight Tools chained installer from here and save it locally.

To extract the individual installers run this command:  silverlight_chainer.exe /extract

This will extract the following installers, along with other support files.

    1. Silverlight.2.0.exe
    2. VS90-KB949325.msp
    3. silverlight_sdk.msi
    4. VS_SilverlightTools_Beta1_Setup.exe

It critical that you install these components in the order listed above.  (Silverlight 2, KB949325, SDK, Tools)  To install KB949325 w/o being prompted for media run this command:

msiexec /p VS90-KB949325.msp /L*vx VS90-KB949325.log REINSTALL=ALL

Note: this command will require administrative rights and it does not add the KB to Add/Remove Programs.

To list these Silverlight tools in Visual Studio's Help->About dialog and to be able to uninstall these tools from Add/Remove Programs (ARP), install the patch again using the following command:

msiexec /p VS90-KB949325.msp /L*vx VS90-KB949325-2.log ADDLOCAL=KB947520,KB949325

Finally run the VS_SilverlightTools_Beta1_Setup.exe installer to complete the Silverlight Tools installation.

The project type is not supported by this installation

Even when installed successfully, some users have seen this error:

CantOpen

This is happening for users who have installed previous builds of Silverlight Tools and for one reason or another the Silverlight package for Visual Studio has been disabled.  You can re-enable the Silverlight package by running the following command.

devenv.exe /resetskippkgs

The ASP.NET Silverlight controls show appear in the Toolbox for .aspx pages

This happens if the Silverlight SDK is installed before KB949325.  As listed above the install order is important.  To fix this uninstall the Silverlight SDK and re-install it.

Help Files don't show up in Visual Studio

To integrate the VS help files included in the Silverlight 2 SDK follow the instructions in this readme.txt installed with the SDK.

[Program Files]\Microsoft SDKs\Silverlight\v2.0\Documentation\VS-Help\Readme.txt

The installer is hung?

At the end of the installation process the installer appears to be hung.

almost_done

The installer can take up to 10 minutes at the end of the installation process.  What's going on?  The last thing the installer does is merge the help dictionaries.  If you've installed the help files for VS locally this can take some time.  Don't kill the process, it's not hung.

Where to go for Installation Help?

Be sure to check out the Silverlight 2 Beta 1 readme for known issues.

If you run into installation issues not covered here please post your question in the "Installation and Setup" forum here: http://silverlight.net/forums/13.aspx

46 Comments

  • Thanks for this Long Post helping in the installation. But I think the installation could have been made easier. Why does a develope need to do so many stuff to install a SDK of silverlight

  • The C++ requirement was a bear. I had to uninstall VS2008 Pro because i did not have an ISO image and, suprise, the Ventian bandwidth was terrible so no chance getting it from MSDN. I then installed VS2008 from the disk at the conference and installed SL 2.0 on top of that. I love SL but this should have been avoided. Now I need to get back home and fix the laptop. Minor glitch guys, minor glitch but I was bitching yesterday afternoon...

  • I continue to get the installation error about can't install previouly installed... I;ve checked and re-checked for the items listed and I don't have any of the installed (at least by the name given). I checked for KB949325 and it is not installed.

    What else could it be?

  • Hey George, You'll get this error if you have any previous build of Silverlight 2 other than build 30226.02.

    I'd recommend un-installing all Silverlight entries from Add and Remove Programs.

    Another thing to look for is KB947520. This KB was from one of the internal builds of Beta 1. It was never released publically, but some of our partners are running into KB947520 being already installed.

    Hope this helps,
    Brad

  • Nice job I was looking for this damn thing from two days......

  • Hi,

    I think that we have to start the "msiexec /p VS90-KB949325.msp /l*vx VS90-KB949325.log REINSTALL=ALL" with administrative rights using Windows Vista UAC. I got a message that "c:\program files\microsoft visual studio 9.0\common7\tools\vsvars32.bat" could not be opened for write.

    Michael

  • One of the most interesting things is if you attempt to install the Silverlight SDK prior to installing the tools, it fails. I figured I had to have Silverlight, then the SDK, then the tools, but ended up uninstalling the SDK to get the tools installed. After that, no problems. For that reason, I would recommend using the "all in one" tools loader.

  • First installation failed, extracted the files and ran it again, it worked fine from both commands but can't see the new project type in VS2008

    any other work arounds?

    K

  • It's not in ARP either, looked athe log file and both says

    Product: Microsoft Visual Studio Team System 2008 Team Suite - ENU - Update 'KB949325' installed successfully.

    Product: Microsoft Visual Studio Team System 2008 Team Suite - ENU -- Configuration completed successfully.

    K

  • Hi ...

    How i can be sure if my VS 2008 is RTM version or not? because i try to install silverlight 2.0 beta 1.0 tools for VS and it says it need to VS 2008 RTM version .

  • This article has been a livesaver for me!
    Super! Explaines the things great!
    More of this would make the internet better!

  • Hi,
    Nice post.
    I used the "Prompt for installation source media" procedure, but I had to change security settings on this file (???)
    C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\vsvars32.bat

  • excellent stuff...you really helped me out with this

  • excellent... you really helped me.

    Thanks

  • Thankyou for an excellent post! :o)

  • okayy whenever I try to install it it says that it cant be downloaded to this computer....why is this??

  • Thank you for a great post.
    I got this error "The project type is not supported by this installation" and followed the steps provided by running devenv.exe /resetskippkgs but no luck. Any other ideas?

  • Finally a short but complete guide to installation errors. I had to figure it out by myself. It took me two and a half hour to uninstall and reinstall everything but it didn't work... so I used ccleaner and regcleaner to erase unerasable objects... Anyways, I felt like I could do that by trial and error and maybe won't be able to repeat the process. This article is now the first page in my silverlight pages,

    thx

  • Great article, it's works correctly!

  • thanx alot man
    devenv.exe /resetskippkgs
    this command works fine for me
    :-)

  • thanks. it helps a lot.

  • I wanted to learn SL technology and then tried to install SL sdk but I met a problem of installation. It that problem was preinstalled programs of previous version of SL as this post. So, I solved my problem by this post. Thanks very much!

  • Quero instalar o silverlight

  • Thanks for sharing your feedback! If your feedback doesn't appear right away, please be patient as it may take a few minutes to publish - or longer if the blogger is moderating comments.

  • Hello there.
    I have something to say, about Aloe vera, something about which you wrote above, about health and nutritional... For a long time, I and my fine friend use the products of the Forever Living Company. We every time see the nice results and also we earn money for our families and we are happy. My friend works with aloe vera in the company of Forever Living Products has more than 5 years (My friend works ONLY in the FLP and has a wife and three children). I know Aloe Vera products for personal care for a long time, but a year ago, began working as a distributor in the FLP.
    Of course, this job is some difficult, but in no other case, You really can earn so much much money with so much much fun and smiling faces around..
    So if you want to discuss something about which you wrote above, and about my experience with Aloe products for nutritional, I'll always be glad to talk.

    Best regards from Washington state and have a nice day!
    Andrew - Aloe Vera Distributor

  • я думаю: восхитительно! а82ч

  • -----------------------------------------------------------
    "Advantageously, the post is in fact the greatest on this valuable subject. I match in together with your conclusions and will thirstily appear ahead to your incoming updates."

  • -----------------------------------------------------------
    I recently came throughout your internet site and take place to be understanding along. I assumed I'd personally leave my initial comment. I actually do not know what to say except that We've loved examining. Respectable internet web site. I'm going to maintain visiting this weblog truly frequently.

  • excellent work!!!, thanks

  • You certainly have some agreeable opinions and views. Your blog provides a fresh look at the subject.

  • zxrmzu retractable awnings gkofz

  • Hey im new here.

    Im sam, how is everyone?

    I look forwards to being a active memeber

  • die GlГ¤nzende Idee und ist termingemäß


  • Experience is the best teacher. Experience is the name every one gives to his mistakes. (W. Scott)

  • hank for this very good web log! I completely appreciate it!

  • It regularly amazes me precisely how site owners for instance your self can discover enough time plus the commitment to carry on creating wonderful blog posts. Your site isgreat and one of my have to read websites. I just had to thank you.

  • It doesn't even necessarily have to be something of value! The very act of giving somebody a gift will trigger that hard-wired response in our brains that says that we NEED to return the favor.

  • Thanks for the tips, maybe I can use this svelte my noesis marketing and Ive been use whatsoever ethnical media in try a interaction and they eff handiwork a big friendliness on me.I am happy to find this post very useful for me, as it contains lot of information

  • Thanks for a great review

  • Silverlight tools are good, but not all of them are working. Some of its features are not working on my end.

  • If you don't uninstall these products first you'll get this error dialog from the installer.

  • If you don't uninstall these products first you'll get this error dialog from the installer.

  • At the same time, not only descendants of the family, every designer working for the Louis Vuitton

  • Well I am a newbie at this and your article will help me for sure to use the Silverlight tools!



  • Hello,I love reading through your blog, I wanted to leave a little comment to support you and wish you a good continuation. Wishing you the best of luck for all your blogging efforts.

  • Kind bomber coat; patterned once out-of-doors jackets utilized through write-up-war Canadian bush pilots|||Elasticized, rib-knit cuffs in addition for you to waistband; quite a few wallets along with regard to be able to backup within addition to be able to handwarming

Comments have been disabled for this content.