I have started working on a new project in .NET and the Problem Domain (PD) was modeled in Visio UML. Fantastic. Now I wanted to forward engineer the UML into C# classes to begin development, but wait, I can’t. I only have Visio 2007 Professional, and the forward engineering features are only available in the Visio for Enterprise Architects version. Okay, not a problem, I’ll go download it from MSDN.
After starting the installation, I got an error message, “You must first install one of the qualified Visual Studio editions”. What the hell? Visual Studio 2008 isn’t good enough? I sure as hell don’t want to install another, older version Visual Studio just so I can install Visio for EA.
After poking around, I came across this registry trick. Visio for Enterprise Architects is looking for the existence of the following key:
Within this key should be the String value “ProductDir”. The text value for ProductDir can be anything other than a null value.
Once you add this key to your registry, the Visio for Enterprise Architects installer will work as hoped.