Skip to content

Commit f3da7a9

Browse files
committed
PR feedback
1 parent 93ab07a commit f3da7a9

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/dotnet-core-uninstall/Windows/RegistryQuery.cs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,7 @@ private IEnumerable<RegistryKey> GetNetCoreBundleKeys(RegistryKey uninstallKey)
4040
try
4141
{
4242
var uninstalls = uninstallKey
43-
.OpenSubKey("SOFTWARE")
44-
.OpenSubKey("Microsoft")
45-
.OpenSubKey("Windows")
46-
.OpenSubKey("CurrentVersion")
47-
.OpenSubKey("Uninstall");
43+
.OpenSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall");
4844

4945
var names = uninstalls.GetSubKeyNames();
5046

@@ -157,7 +153,7 @@ private static BundleArch GetBundleArch(string displayName, string bundleCachePa
157153
{
158154
const string x64String = "x64";
159155
const string x86String = "x86";
160-
const string arm64String = "arm86";
156+
const string arm64String = "arm64";
161157

162158
string archString = null;
163159
if (bundleCachePath != null)

0 commit comments

Comments
 (0)