{"id":3513,"date":"2015-04-13T14:24:00","date_gmt":"2015-04-13T14:24:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/heaths\/2015\/04\/13\/detection-keys-for-visual-studio-2015\/"},"modified":"2019-02-17T15:29:24","modified_gmt":"2019-02-17T22:29:24","slug":"detection-keys-for-visual-studio-2015","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/setup\/detection-keys-for-visual-studio-2015\/","title":{"rendered":"Detection keys for Visual Studio 2015"},"content":{"rendered":"<p>Administrators and developers who need to detect whether Visual Studio 2015 is installed can use similar registry keys as with <a href=\"http:\/\/bit.ly\/vs11detect\">past releases<\/a>. This time around, though, we\u2019ve made some <a href=\"http:\/\/bit.ly\/1FOo1OO\">changes to the lineup of products<\/a> but the registry scheme remains the same.<\/p>\n<p>Most of the detection keys are found in the 32-bit registry hive \u2013 the ones you\u2019ll typically want to detect, anyway.<\/p>\n<ul>\n<li>Core: HKLM\\Software\\Microsoft\\DevDiv\\<em>&lt;Family&gt;\\<\/em>Servicing\\<em>&lt;Version&gt;\\<\/em><em>&lt;Edition&gt;<\/em><\/li>\n<li>Language pack: HKLM\\Software\\Microsoft\\DevDiv\\<em>&lt;Family&gt;\\<\/em>Servicing\\<em>&lt;Version&gt;\\<\/em><em>&lt;Edition&gt;\\<\/em><em>&lt;LCID&gt;<\/em><\/li>\n<\/ul>\n<p>Following is a table of the products we\u2019ve <a href=\"http:\/\/bit.ly\/1DBNITe\">announced<\/a>.<\/p>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"2\">\n<tbody>\n<tr>\n<th valign=\"top\">Family<\/th>\n<th valign=\"top\">Edition<\/th>\n<\/tr>\n<tr>\n<td valign=\"top\" rowspan=\"3\">VS<\/td>\n<td valign=\"top\">Community<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">Professional<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">Enterprise<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The biggest change to the detection keys is that Enterprise replaces Premium and Ultimate. Community is also a subset of Professional which is a subset of Enterprise, so if you you have some dependency on a feature in Community, for example (like the ability to add extensions), you can detect all three \u201cVS\u201d family products by checking for Community like so:<\/p>\n<blockquote><p>HKLM\\Software\\Microsoft\\DevDiv\\VS\\Servicing\\14.0\\Community<\/p><\/blockquote>\n<p>The registry values we store in either key are as follows.<\/p>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"2\">\n<tbody>\n<tr>\n<th valign=\"top\">Name<\/th>\n<th valign=\"top\">Type<\/th>\n<th valign=\"top\">Description<\/th>\n<\/tr>\n<tr>\n<td valign=\"top\">Install<\/td>\n<td valign=\"top\">REG_DWORD<\/td>\n<td valign=\"top\">Value of 1 means this edition is installed.<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">InstallerType<\/td>\n<td valign=\"top\">REG_SZ<\/td>\n<td valign=\"top\">Typically \u201cMSI\u201d.<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">SP<\/td>\n<td valign=\"top\">REG_DWORD<\/td>\n<td valign=\"top\">Previously the SP level. No longer used with the VSUpdate model.<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">SPIndex<\/td>\n<td valign=\"top\">REG_DWORD<\/td>\n<td valign=\"top\">Previously the SP pre-release iteration. No longer used with the VSUpdate model.<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">SPName<\/td>\n<td valign=\"top\">REG_SZ<\/td>\n<td valign=\"top\">Always \u201cRTM\u201d with the VSUpdate model.<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">UpdateVersion<\/td>\n<td valign=\"top\">REG_SZ<\/td>\n<td valign=\"top\">The RTM or installed VSUpdate version.<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">Version<\/td>\n<td valign=\"top\">REG_SZ<\/td>\n<td valign=\"top\">The RTM version.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>These changes go into effect with Visual Studio 2015 RC. I\u2019ll update this page should we make any further changes for RTM.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Administrators and developers who need to detect whether Visual Studio 2015 is installed can use similar registry keys as with past releases. This time around, though, we\u2019ve made some changes to the lineup of products but the registry scheme remains the same. Most of the detection keys are found in the 32-bit registry hive \u2013 [&hellip;]<\/p>\n","protected":false},"author":389,"featured_media":3843,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[13,20,45,56],"class_list":["post-3513","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-detection","tag-installation","tag-visual-studio","tag-vs2015"],"acf":[],"blog_post_summary":"<p>Administrators and developers who need to detect whether Visual Studio 2015 is installed can use similar registry keys as with past releases. This time around, though, we\u2019ve made some changes to the lineup of products but the registry scheme remains the same. Most of the detection keys are found in the 32-bit registry hive \u2013 [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/posts\/3513","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/users\/389"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/comments?post=3513"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/posts\/3513\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/media\/3843"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/media?parent=3513"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/categories?post=3513"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/setup\/wp-json\/wp\/v2\/tags?post=3513"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}