muusbolla
muusbolla

Reputation: 703

Do I need to run devenv.exe /setup twice? [VS 2005 and 2008]

I am writing a VS Integration Package and setup using Visual Studio Setup Package. I have a custom action that runs "devenv.exe /setup" when the package is installed.

If the user has VS 2005 and 2008 installed, do I need to run devenv.exe /setup from both directories? Like so:

"C:\Program Files\Microsoft\Visual Studio 8\Common7\IDE\devenv.exe /setup"

"C:\Program Files\Microsoft\Visual Studio 9.0\Common7\IDE\devenv.exe /setup"

Or will running just one be sufficient? If so, which one should I run? (2008 I presume)

Upvotes: 2

Views: 2941

Answers (2)

JaredPar
JaredPar

Reputation: 755587

It depends on which one you are installing to. VSIP packages install into a version of Visual Studio vs. a machine. So you should only have to run devenv /setup on the version of Visual Studio to which your package installs. Running devenv /setup on the version you did not install to will have no effect.

Upvotes: 1

sean e
sean e

Reputation: 11935

Yes, you need to run both. They are two independent environments.

Upvotes: 2

Related Questions