Question

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)

Was it helpful?

Solution

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

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top