diff options
| author | Eric Reed <ebr@mediabrowser3.com> | 2013-03-11 20:43:44 -0400 |
|---|---|---|
| committer | Eric Reed <ebr@mediabrowser3.com> | 2013-03-11 20:43:44 -0400 |
| commit | 241bddcf789ca6e3aa639e75e22dae3d3b27e242 (patch) | |
| tree | 3c18987e72eab1e2264c47cccac301f4af97fa40 | |
| parent | 1eda62213217a89098b4c02912f2e72940505824 (diff) | |
Oops. Wrote to the wrong hive...
| -rw-r--r-- | MediaBrowser.Installer/MainWindow.xaml.cs | 2 | ||||
| -rw-r--r-- | 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 /// <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) |
