Skip to content
This repository was archived by the owner on Feb 21, 2019. It is now read-only.

Commit 59f5377

Browse files
committed
use shellfolder instead of installfolder
1 parent 47f4d1f commit 59f5377

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Uninstall_Wrapper/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ private static IEnumerable<string> GetVisualStudioInstallationDirs()
191191
{
192192
var installDir = (string)Registry.GetValue(
193193
string.Format("HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\VisualStudio\\{0}\\", vsVer),
194-
"InstallDir",
194+
"ShellFolder",
195195
null);
196196
if (!string.IsNullOrEmpty(installDir))
197197
{
@@ -202,7 +202,7 @@ private static IEnumerable<string> GetVisualStudioInstallationDirs()
202202
{
203203
var installDir = (string)Registry.GetValue(
204204
string.Format("HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\{0}\\", vsVer),
205-
"InstallDir",
205+
"ShellFolder",
206206
null);
207207
if (!string.IsNullOrEmpty(installDir))
208208
{

0 commit comments

Comments
 (0)