aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MediaBrowser.Installer/MainWindow.xaml.cs2
-rw-r--r--MediaBrowser.Uninstaller.Execute/MainWindow.xaml.cs2
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
/// <param name="targetExe"></param>
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)