Click here to Skip to main content
12,395,946 members (63,221 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: (untagged)
Hello all,
I have an requirement, for which VS 2010 Ultimate or VS 2010 Test professional is a pre-requisite. Using WIX can we detect which edition of VS2010 is installed?
One thing I found is in windows registry if VS2010 is installed we have this key
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\Setup\Microsoft Visual Studio 2010 Ultimate - ENU"
Similarly if VS 2010 professional is installed we have
"HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\Setup\Microsoft Visual Studio 2010 Professional - ENU"

Is this the only way to find or is there any better way of finding which edition of VS2010 is installed

Thanks in advance,
Kiran
Posted 25-Jul-12 19:07pm
Updated 25-Jul-12 19:22pm
v2
Comments
JimJos 26-Jul-12 1:38am
   
This the best and easy way to find out. Using Registry element in wix we could find out or using the library Microsoft.Win32 we could get all the software installed in the machine from C# itself..

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

I'd be more inclined to use AppSearch and find the component guid for each flavour of vs2010
  Permalink  
Comments
Kiran Susarla 27-Jul-12 0:40am
   
Hello Barneyman,
Thanks for your answer. From your answer searched in MSDN and found this link
http://msdn.microsoft.com/en-us/library/bb164659.aspx
This link clearly states which edition of VS2010 is installed.

Thanks,
Kiran

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 26 Jul 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100