By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,516 Members | 1,369 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,516 IT Pros & Developers. It's quick & easy.

VS.NET registration key

P: n/a
Hello,

Does anyone know what registry key exactly defines which
version of VS.NET is installed on the machine?
I have checked the registry and it seems that the possible
key might be:
hkey_local_machine\software\microsoft\VisualStudio \7.0
\registration. The ProductID entry could identify the
version of VS.NET but I am not sure.

Thanks,
Serge.
Jul 19 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
I need this during the installation of our product. We
need to determine which version of VS.NET the customer
has, and proceed accordingly. By the version of VS.NET, I
primarily mean VS.NET2002 or VS.NET2003.
I would think that many developers will have similar issue
but I have never come across the VS.NET registration. Does
anyone know the correct key for at least one of the
versions?

Thanks,
Serge.
-----Original Message-----
"Mattias Sjögren" <ma********************@mvps.org> wrote in messagenews:ur**************@TK2MSFTNGP12.phx.gbl...
Serge,
>Does anyone know what registry key exactly defines which >version of VS.NET is installed on the machine?
You can have multiple versions of VS.NET installed on the same machine (for example both v7.0 and v7.1). What are you trying

to accomplish?
I think that by saying different versions, Serge means Professional,Enterprise Developer, or Enterprise Architect, as opposed to2002 or 2003. While you can have VS6, VS.NET 2002, and VS.NET2003 all running on the same machine, I think (although I'm not positive)that you can only have one level of that version. That is, you mayhave 2002 Pro and 2003 Ent.Developer on the same machine, butnot 2003 Pro and 2003 Ent. Developer.

Thus, it is possible that there are two such registry keys asSerge is looking for: one that defines what level of vs.net 2002is installed, and one for vs.net 2003 (if both are installed, that is).
for, one
.

Jul 19 '05 #2

P: n/a
I need this during the installation of our product. We
need to determine which version of VS.NET the customer
has, and proceed accordingly. By the version of VS.NET, I
primarily mean VS.NET2002 or VS.NET2003.


If HKLM\SOFTWARE\Microsoft\VisualStudio\7.0 is available, VS.NET 2002
should be installed.
If HKLM\SOFTWARE\Microsoft\VisualStudio\7.1 is available, VS.NET 2003
should be installed.
If both are installed, you might want to pop up a dialog where the
user can chose one of them.

Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/
Please reply only to the newsgroup.
Jul 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.