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)