The way of the beta release developer is beset on all sides with failed installs, orphaned registry entries and lost files. Unfortunately I spent most of my weekend trying to figure out why the Silverlight Tools Beta 2 for Visual Studio was failing during install. The log files pointed to “…failed with 0x80070643…” which is completely meaningless to most mortals including me.

Now the install file referred to as “chainers” are designed for our convenience to help update several components at once, thereby saving us the hassle of finding and installing multiple msi’ for all our applications … well that is theory anyway. The problem with this concept is that any one of the subset of installers can fail for a number of reasons. In order to discover what the Beta 2 update included I ran the following command:

silverlight_chainer.exe /extract

I was then presented with a dialogue box which asked what location to extract the files to. I then followed this uninstall and install pattern:

1. Uninstall Silverlight Tools Beta 1 (if on your machine)
2. Uninstall KB949325 (if on your machine)
3. Uninstall "Microsoft Blend for Silverlight Beta 1" (if on your machine)
4. Uninstall the Silverlight 2 Beta 1 SDK (if on your machine)
5. Install Silverlight.2.0_Developer.exe (Silverlight 2 Beta 2 Developer Runtime)
6. Install either KB950630 or KB950632 depending on version of VS
7. Install silverlight_sdk.msi (Silverlight 2 Beta 2 SDK)
8. Install VS_SilverlightTools_Beta2_Setup.exe

KB950630 is a patch for Visual Studio 2008 RTM
KB950632 is a patch for Visual Studio 2008 SP1 Beta

This worked for me I make not guarantees for anyone else ;) … Anyway now I can focus on the code samples that I planned a few weeks back!

Technorati tags:

Comment Section

Comments are closed.