MS Visio Enterprise Architect 错误解决

Today I was installing MS Visio Enterprise Architect and got this error the moment the installer started to load:
"You must first install one of the qualified Visual Studio editions".
Considering that I have already installed Visual Studio 2008 Architectecture Edition, this error was very frustrating...after searching Google I noticed this post which mentioend that the Visio installer looks for either VS 2005 or VS 2003 editions in the registry before proceeding ahead with the install.
The post talked about editing the registry values so that we can "fool" the Visio installer by adding Visual Studio 2008 registry values in the VS 2005 hive. What you need to do is (all actions are perfomed in this hive: HKEY_LOCAL_MACHINE/HKLM/Software/Microsoft/VisualStudio/):
1. Export the 8.0 and 9.0 registry hives (back them up)
2. Open the backup of 9.0 and edit it by replacing all occurences of the string "8.0" with "9.0"
3. Import this edited 9.0 backup inside 8.0 hive in the registry.
4. Run the Visio installer
5. After installation is successful, backup the 8.0 values from the original backup in step 1.
This hack worked for me, but I still do not understand why MS would let fix such an important issue with the Visio Installer!

你可能感兴趣的:(visio)