473,387 Members | 1,619 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

VS.NET registration key

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
2 1846
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: karolina | last post by:
Hi, I am making a small registration form about cars in three steps. The first step is to fill in member data. After filled out the member data hit "next" and enter car information. Hit "next"...
3
by: Jason | last post by:
Hi all, Merry Christmas! I would like to have trial period for my .NET application and let user to enter S/N for registration. I would like to ask how can we store the registration status of...
0
by: Marcel - IDUG Europe 2005 | last post by:
Dear DB2 user, My name is Marcel Lévy and I'm a member of the IDUG 2005 Europe Conference Planning Committee. ********************************************************************* Mark your...
1
by: Ashok K Kumar | last post by:
Hi, I have a ATL Attributed DLL which exposes a COM Component. My requirement is, whenever, the DLL is registered, I also would like to add some entries to the HKLM/Softwares/CompanyName........
2
by: news | last post by:
I just upgraded to PHP 4.4.2 on my Slackware 10.2 system. And Apache/mySQL/PHP all work great through a browser. No errors. But when I try to run a PHP script through the command line, which I...
0
by: Wayne Smith | last post by:
I've taken the following code from a developers web site which should allow a user to register and receive an email message with a link to activate their account, but when I click the link on my...
0
by: Brian Quinlan | last post by:
What's New? =========== The deadline for early-bird registration for the Vancouver Python Workshop is this Friday, June 30th. Early-bird registration is significantly discounted over normal...
0
by: Brian Quinlan | last post by:
What's New? =========== The deadline for early-bird registration for the Vancouver Python Workshop is today! Early-bird registration is significantly discounted over normal registration, so...
1
by: delusion7 | last post by:
Trying to create a table and insert records from a webform and I keep getting this message: "Successfully created the registration table. Unable to execute the query. Error code...
2
by: nirav11 | last post by:
# include <iostream> # include <fstream> # include <iomanip> # include <cstdlib> // needed for exit () using namespace std; int main() { ifstream inFile; ofstream outFile;
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.