# Thursday, 15 September 2011

On my home pc the MVC4 developer preview installed on my box but at the office I tried a few different times with no success.

WPI_Fail

Visual Studio 2010 SP1

It’s required for MVC4.  Already have it on your box?  That’s likely the reason WPI is failing to install.

Reading the log didn’t really give me much information but I was very sure that I had already installed VS 2010 SP1 on my box.  Time to go around WPI.

WPI Installer Location

Aren’t sure where WPI installers are stored?

Location

They are stored in your profile’s AppData\Local\Microsoft\Web Platform Installer\installers folder.

When I ran the MVC4VS2010 Installer by itself, outside WPI, the install worked.

Happy Coding!

Posted 09.15.2011  #    Comments [1]  | 
# Friday, 25 February 2011

Visual Studio 2010 or Visual Web Developer Express 2010 or Visual Phone Developer Express 2010 that matches the language version of Silverlight Tools 4 must be installed before installation of Silverlight Tools can continue.

I was running into the above error when I tried to install Silverlight 4 Tools for Visual Studio 2010 whether I did it from the downloaded install or via the Web Platform Installer.

Downloaded Silverlight4_Tools.exe error message:

image 

WPI:

image

If you open the first log file you will find the error at the bottom:

Installation Blockers:
    1) Visual Studio 2010 or Visual Web Developer Express 2010 or Visual Phone Developer Express 2010 that matches the language version of Silverlight Tools 4 must be installed before installation of Silverlight Tools can continue.  Silverlight Tools is available in other languages at <A HREF="http://go.microsoft.com/fwlink/?LinkId=177432">http://go.microsoft.com/fwlink/?LinkId=177432</A>.

When I looked online for this error I was only seeing references to the Beta and Release Candidates of Visual Studio 2010.

After a little thought, I decided to open up the readme file for the SP1 Beta of Visual Studio 2010 that I installed a while back and there was the answer:

2.1.4. Error when you try to install Silverlight 4 Tools for Visual Studio 2010 on Visual Studio 2010 SP1 Beta

An error message may appear when you try to install Silverlight 4 Tools for Visual Studio 2010 on Visual Studio 2010 SP1 Beta. 

To resolve this issue:

Because Silverlight 4 Tools for Visual Studio 2010 (http://www.microsoft.com/downloads/en/details.aspx?FamilyID=b3deb194-ca86-4fb6-a716-b67c2604a139&displayLang=en) is included in Visual Studio 2010 SP1 Beta, you do not have to install Silverlight 4 tools separately.  Also, you do not have to uninstall Silverlight 4 Tools for Visual Studio 2010 before you install Visual Studio SP1 Beta.

There you have it.  If you installed VS 2010 SP1 Beta then you already have the Silverlight 4 Tools.  How’s that for a descriptive error message. :-)

Happy Coding!

Posted 02.25.2011  #    Comments [6]  | 
# Thursday, 11 November 2010

This weekend I was trying to install the WebMatrix and it was hanging on the SQL CLR types install.  I’ve had a couple of times now when the Web Platform Installer doesn’t quite work and I don’t get any error.

I tried a couple of things like shutting down SQL Server, restarting WebPI, etc.  I found the easiest way around this is to use WebPI’s installation information window to see what the prerequisites are and run them manually.

WPI3InstallWindow

WebPI downloads the install files to C:\Documents and Settings\[USERNAME]\Local Settings\Application Data\Microsoft\Web Platform Installer\installers.

WebPIInstallFolder

Manually installing the prerequisites worked even though WebPI hung on the SQLCLRTypes install. 

It’s nice to know where WebPI downloads the install files in case you want to backup the files or install on another box without having to re-download them.  You could copy the installers directory to/from machines to avoid this.

The Web Platform Installer is a great little tool that has made life a lot easier but it’s not perfect.  Hopefully this little trick will help someone else out when WebPI doesn’t quite do the trick on it’s own.

Happy Coding!

Posted 11.11.2010  #    Comments [6]  | 
# Saturday, 29 May 2010

This weekend I decided to update my VS 2008 Express with MVC2.  You can do this with the Web Platform Installer (WPI). In order to install MVC2 you do need to be on SP1 for VS 2008 Express.  Your version needs to be "9.0.30729.1 SP".

Installing with WPI is a breeze but in my case WPI stated it installed MVC2 successfully but I didn’t have the MVC2 Project as a choice in my project list.  I tried it a few times and I always received a successful install message but still only had the MVC1 project choice.

The fix for me was pretty simple.  I just downloaded and installed MVC2 directly from the download center.

Happy Coding!

Posted 05.29.2010  #    Comments [0]  |