Click here to Skip to main content
12,950,268 members (64,662 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,
Posted 25-Jul-12 19:07pm
Updated 25-Jul-12 19:22pm
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
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 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
Top Experts
Last 24hrsThis month
OriginalGriff 5,829
CHill60 3,460
Maciej Los 2,953
Jochen Arndt 1,975
ppolymorphe 1,820

Advertise | Privacy | Mobile
Web02 | 2.8.170525.1 | Last Updated 26 Jul 2012
Copyright © CodeProject, 1999-2017
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