ESB Toolkit 2.1 Portal Installation (x64) Gotcha – Update the VS Path in PowerShell Scripts

The installation process for th ESB Toolkit has never been painless.  Version 2.1 did not improve this at all.  The installation of the ESB Portal is particularly so, as the PowerShell scripts used to set it up are very buggy.

For example, you may find that nothing that is supposed to build using the dev environment (devenv.exe)  will build.  That’s usually because near line 18 in Management_Install.ps1 you’ll find  this variable declaration:

$env:VS="${env:ProgramFiles}\Microsoft Visual Studio 10.0\Common7\IDE"

You may will need to alter the line to something like this:

$env:VS="C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE"

or

$env:VS="${env:ProgramFiles(x86)}\Microsoft Visual Studio 10.0\Common7\IDE"

The problem is that most Visual Studio 2010 installations install to the “Program Files (x86)” folder rather than “Program Files”.   This will cause many of the pieces of the sample installation PowerShell scripts to fail unless you make this change.

Advertisements

About Ed Jones

Ed is a Connected Systems and .NET Specialist for RBA in the Twin Cities. Contact Ed

What do you think?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: