Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: wix
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
Edited 25-Jul-12 19:22pm
v2
Comments
JimJos at 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 at 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
0 OriginalGriff 328
1 Sergey Alexandrovich Kryukov 295
2 Gihan Liyanage 292
3 ClimerChinna 232
4 Abhinav S 192
0 Sergey Alexandrovich Kryukov 8,213
1 OriginalGriff 7,089
2 CPallini 2,598
3 Richard MacCutchan 1,925
4 Abhinav S 1,778


Advertise | Privacy | Mobile
Web04 | 2.8.140826.1 | Last Updated 26 Jul 2012
Copyright © CodeProject, 1999-2014
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