GravityCube - Development, design, and simplicity.

Visual Studio 2008 and Visio for Enterprise Architects

Saturday, 7 June 2008 11:41 by jf26028

So, I rebuilt a workstation because I am soon to lose my current wicked awesome hp laptop.  Like many people, reloading a workstation is both, a pleasure and a pain.  On one hand, you get to refresh your xp installation, so everything seems super fast again.  On the down side, none of your tools, plug-ins, extensions, settings, or any of that stuff is in place, so you have to redo all that work.

Anyway, I installed visual studio 2008 and Visio.  Then, like zillions of other people, I said "Hey!  Where did the generate menu go?".  Turns out, Visio Professional is just not quite professional enough to generate a script from a database diagram.  Good grief.  So, where is this Enterprise Architect version?  Sweet.  Its on msdn.  Pulled it down, and started to install, and soon, all would be well in the world....or so I thought.

Now, I came up against the dreaded "You must first install one of the qualified Visual Studio editions" or it's evil cousin "you must first install visual studio 2003 enterprise architect".  Blast!  Turns out, you can only install the good Visio if you have visual studio 2003 or 2005 enterprise architect installed.  You have got to be kidding me.  I have msdn.  I have access to both of those applications.  I do not want to re-install visual studio 2005 over my new, pristine 2008 installation, but I really need Visio, with the generate functionality.

Well, after lots of searching, and accepting the fact that I was probably violating some sort of licensing agreement, I came up with a hack workaround.  If you have an installation of visual studio 2008, and want Visio enterprise architect, but do not want to install visual studio 2005, this can work for you.  I gave filemon a try, but it didn't look like it was doing anything interesting.  Then, I gave regmon a try, filtered on msiexec, and found some interesting keys.  The last thing it did before bailing out on the installation was look in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0.  I did have that key in my registry, but it obviously didn't have exactly what the installer was looking for.  In the 9.0 folder was my visual studio 2008 installation.

I exported the 8.0 folder using regedit for a backup, exported the 9.0 folder, opened the exported .reg file, did a search/replace on "9.0" to "8.0", and saved it.  Then, I imported the modded 9.0->8.0 .reg file into the registry, basically pretending that my visual studio 2008 installation was actually a visual studio 2005 installation, at least as far as the registry was concerned.  Fired up the Visio installer, and, kachow, it worked.  After installing, I reverted back to my original 8.0 export, and everything is good to go.

It is a hack to get you going, but if you have the same problem, and are crazy like me, this can get you going.

Jesse Foster | jf26028

Currently rated 4.7 by 13 people

  • Currently 4.692307/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:   , ,
Categories:   Tools
Actions:   E-mail | del.icio.us | Permalink | Comments (40) | Comment RSSRSS comment feed

Related posts

Comments

June 9. 2008 08:27

jw

The work around works.

Thanks Jesse

jw

June 25. 2008 22:50

dan

Thanks. It also worked for me. It would be kinda nice to know the exact key(s) to alter so I didn't copy so much unnecessary junk (that 9.0 key is huge!), but hey, the cheap solution worked!

dan

June 26. 2008 10:50

Cristian remy

Thanks man!!

Cristian remy

June 27. 2008 19:35

Cristian Remy

Ok the exactly key is:
HKLM\Software\Microsoft\VisualStudio\8.0\Setup\VS\VSTD\

Inside from the key add a String with name ProductDir and put any text inside.

VSTA installation will start

Cristian Remy

June 28. 2008 03:50

关涛

2008的要钱吗?

关涛

June 30. 2008 19:19

jf26028

guan,

No, not money 2008. Visio 2003/2005 and Visual Studio 2008.

Jesse

jf26028

June 30. 2008 23:52

关涛

谢谢你!我使用的是 Visual Studio 2005 + SQL Server 2005,感觉非常的不错!但是 Visual Studio 2008 发布以后,我一直还没有使用过,我一直以为是要付费的!

关涛

July 3. 2008 09:21

Caio

Great, it works like a charm!

Thanks a lot, great work!

Caio

July 11. 2008 03:32

Adventure Lover

But why do they make us jump through these hoops to begin with. Microsoft licensing is so-overcomplicated it just drives people into the arms of open-source

Adventure Lover

August 6. 2008 01:50

kuklei

Visio for Enterprise Architects is a great tool for database design and generation (with some caution). Works perfectly with VS 2K5, and surprising why it does not come with 2K8.

The workaround works perfectly. Previously I had installed VS 2K5 (minimal), installed Visio then uninstalled 2K5, but this takes more time than the method described here.

Thanks jf26028

p.s. Did anyone try Remi's key suggestion. I forgot to give it a try before replacing the whole 8.0 key

kuklei

August 17. 2008 17:07

Adron

I've had this same issue too. It made me stop Visio usage across all my tasks. I now either use 3rd party tools or just design the database straight and use the script generation inside VS.NET 2008.

...after the frustration, I've actually increased the speed that I can get DB changes put into place just using VS.NET 2008 and not even touching Viso anymore.

Adron

August 18. 2008 05:20

Manie

[Quote]Ok the exactly key is:
HKLM\Software\Microsoft\VisualStudio\8.0\Setup\VS\VSTD\

Inside from the key add a String with name ProductDir and put any text inside.

VSTA installation will start

Cristian Remy
[/Quote]

This works like a charm. Minimal fuss and the key can stay there.

Manie

August 20. 2008 20:59

GMF

Note that some versions will look for:

HKLM\SOFTWARE\Microsoft\7.0\Setup\Vs\Arch\
(string) ProductDir [some value]

AND

HKLM\SOFTWARE\Microsoft\7.1\Setup\Vs\Arch\
(string) ProductDir [some value]

GMF

August 22. 2008 03:02

thegamer

I had neither the HKLM\Software\Microsoft\VisualStudio\8.0\Setup\VS\VSTD\ key nor one of the others.

But I just created them like explained above and it worked smoothly.

Thanks and cheers

thegamer

August 28. 2008 14:18

busby seo challenge

Nice Visual Studio 2008 and Visio for Enterprise Architects, thanks and great post..

busby seo challenge

September 4. 2008 22:07

Mark M

On Windows 2008 Server 64 bit I couldn't get the above key to work. I used process monitor to watch my registry, this worked for me:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\8.0\Setup\VS\VSTD

Mark M

September 5. 2008 05:46

Jesse Foster

Thanks for the update, Mark.

Jesse

Jesse Foster

September 7. 2008 09:42

kabonfootprint

On Windows 2008 Server 64 bit I couldn't get the above key to work. I used process monitor to watch my registry, this worked for me:

Great post mark..

kabonfootprint

September 17. 2008 21:19

Don Almeida

Nice, the installation was a success, thanks, are there any side effects that any one has come acorss after using this hack.

Don Almeida

September 17. 2008 23:21

Jesse Foster

Don,

I haven't experienced any, and none have been reported, but there's no guarantee, I guess. If you do find any issues, please post so we know that this isn't the best way to go.

Jesse

Jesse Foster

October 1. 2008 10:19

Janice

The registry hack worked great for me, too. However, I'd always recommend SmartDraw as an alternative to Visio. So much more to work with and easier, too.

Janice

October 1. 2008 10:55

jf26028

Janice,

Thanks for the heads up. Ill take a look at SmartDraw.

Jesse

jf26028

October 17. 2008 03:07

betty

Mark you are bloody great....I too have a 64-bit machine and was just about to kick it when I read your entry...work just like that.

betty

October 30. 2008 10:07

David Pfeffer

Just an FYI, if you're nder the Wow6432Node element you need to look under the Wow6432Node element in HKLM\Software.

David Pfeffer

October 31. 2008 12:10

Paul

Can anyone show me where the key is for Vista x64?

I tried all the variations I can find, and none worked.

Paul

November 4. 2008 04:56

Starting Business Blog

It also worked for me. It would be kinda nice to know the exact key(s) to alter so I didn't copy so much unnecessary junk (that 9.0 key is huge!), but hey, the cheap solution worked!

Starting Business Blog

November 6. 2008 18:40

JCFRESHNESS

It worked for Me. Thank you all so much for the help!

JCFRESHNESS

November 15. 2008 10:57

Ed

Works like a charm - thanks.

Ed

November 24. 2008 21:33

Busby SEO Test

ty for the information about "Visual Studio 2008 and Visio for Enterprise Architects."

Busby SEO Test

December 5. 2008 09:23

JAA149

Dear All,

I installed the Visual Studio.Net 2003 EA but when i try to install the MS Visio 2003 for Visual Studio 2005 EA I get the same error as "You must first install one of the qualified Visual Studio editions". What do i Do?

JAA149

December 8. 2008 10:45

Web site monitoring

Luckily I have VS 2005 on my pc and I haven't seen any troubles installing Visio but if I switch to VS 2008 the problem may appear.. so thanks in advance Smile

Web site monitoring

December 21. 2008 00:46

IP Address

Just an FYI, if you're nder the Wow6432Node element you need to look under the Wow6432Node element in HKLM\Software... anyhow thanks for sharing great info..
regards,
stanford

IP Address

December 23. 2008 15:05

David Patterson

The solution below worked great! I could not get RegMon to work with Vista.

Thanks to the respective poster.



June 27. 2008 19:35
Ok the exactly key is:
HKLM\Software\Microsoft\VisualStudio\8.0\Setup\VS\VSTD\

Inside from the key add a String with name ProductDir and put any text inside.

VSTA installation will startCristian Remy

David Patterson

December 29. 2008 18:14

Meziano

That's great!
I have almost capituled.
Thank you Jesse!


Meziano

Meziano

January 6. 2009 07:37

illumina

How about using Visio 2007 instead? Anyone know how to get 2007 working?

illumina

January 6. 2009 09:58

jf26028

illumina,

The process could be the same. Just change the version numbers in the registry, and that might get you there. I havent personally done it, though.

Jesse

jf26028

January 18. 2009 10:52

pingback

Pingback from keyongtech.com

Export ERD to SQL Server | keyongtech

keyongtech.com

February 21. 2009 20:52

Jerry

This is a great tip! I finally got VISIO EA to work with VS2008....I've been looking for this for a long time...I tried it and it worked!

Jerry

March 24. 2009 12:26

Josh

Not sure if anyone is still watching this thread but I figured I'd try anyway.

I have this same issue but am using a Vista64 machine, not a workstation just my home PC. Anyway, I tried both Jesse's fix and Mark's for x64 bit machines and neither has worked. To make matters worse, my MSDN subscription has VS2005 but the download for CD2 is bogus, gives me a spread sheet file instead of an iso. Anyway, if anyone has found a way to make this work in Vista let me know, it would be greatly appreciated.

Josh

March 24. 2009 14:00

jf26028

Josh,

Sorry, I havent tried it on a vista64 machine. If I do, I will update the post.

Jesse

jf26028

Comments are closed