From 241bddcf789ca6e3aa639e75e22dae3d3b27e242 Mon Sep 17 00:00:00 2001 From: Eric Reed Date: Mon, 11 Mar 2013 20:43:44 -0400 Subject: [PATCH] Oops. Wrote to the wrong hive... --- MediaBrowser.Installer/MainWindow.xaml.cs | 2 +- MediaBrowser.Uninstaller.Execute/MainWindow.xaml.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MediaBrowser.Installer/MainWindow.xaml.cs b/MediaBrowser.Installer/MainWindow.xaml.cs index c8e1dc97c..22548a355 100644 --- a/MediaBrowser.Installer/MainWindow.xaml.cs +++ b/MediaBrowser.Installer/MainWindow.xaml.cs @@ -392,7 +392,7 @@ namespace MediaBrowser.Installer /// private void CreateUninstaller(string uninstallPath, string targetExe) { - using (var parent = Registry.LocalMachine.OpenSubKey( + using (var parent = Registry.CurrentUser.OpenSubKey( @"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall", true)) { if (parent == null) diff --git a/MediaBrowser.Uninstaller.Execute/MainWindow.xaml.cs b/MediaBrowser.Uninstaller.Execute/MainWindow.xaml.cs index 7b1983d53..5cbd2dd9e 100644 --- a/MediaBrowser.Uninstaller.Execute/MainWindow.xaml.cs +++ b/MediaBrowser.Uninstaller.Execute/MainWindow.xaml.cs @@ -207,7 +207,7 @@ namespace MediaBrowser.Uninstaller.Execute private void RemoveUninstall() { - using (var parent = Registry.LocalMachine.OpenSubKey( + using (var parent = Registry.CurrentUser.OpenSubKey( @"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall", true)) { if (parent == null)