Click here to Skip to main content
11,584,612 members (64,316 online)
Rate this: bad
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,
Posted 25-Jul-12 19:07pm
Edited 25-Jul-12 19:22pm
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
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
Kiran Susarla at 27-Jul-12 0:40am
Hello Barneyman,
Thanks for your answer. From your answer searched in MSDN and found this link
This link clearly states which edition of VS2010 is installed.


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

  Print Answers RSS
0 OriginalGriff 430
1 Sergey Alexandrovich Kryukov 367
2 Dave Kreskowiak 260
3 Richard Deeming 220
4 virusstorm 194
0 OriginalGriff 1,703
1 Sergey Alexandrovich Kryukov 1,267
2 Abhinav S 711
3 Dave Kreskowiak 687
4 Suvendu Shekhar Giri 568

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