Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Can "devenv /updateconfiguration" be used instead of "devenv /setup" after installing VSPackage by msi?

$
0
0

Hello!

We are deploying our VSPackage (for Visual Studio 2012 under Windows 7) using an msi. According to Microsoft, I have to run "devenv /setup" after the installation (http://msdn.microsoft.com/en-us/library/vstudio/bb166419(v=vs.110).aspx).

My problem is that it takes a long time for the command to execute (up to 15 minutes). Plus, it also reset the UI language settings to it's default value (french) rather than staying to the value set it for (english).

I read somewhere that the undocumented "devenv /updateConfiguration" can be use instead, and that it takes less time. Looks like this option will cause a pkgdef merge and will rebuild the command UI on next launch (http://social.msdn.microsoft.com/Forums/en-US/vsx/thread/46806e9b-c114-42c3-98ff-d9717a9dd02f). This solution (/updateConfiguration) seems to works for me and takes a fraction of the time that /setup takes, but I am a bit puzzled as of why.

My question is this : What does /updateConfiguration do exactly? I mean, since I use msi and I don't copy any pkgdef (the msi is taking care of the registration), why does /updateConfiguration works? 

I am trying to figure out if there are downside of using this solution over the /setup.

Thanks!
J-R

=o)


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>