Oops. Wrote to the wrong hive...

This commit is contained in:
Eric Reed 2013-03-11 20:43:44 -04:00
parent 1eda622132
commit 241bddcf78
2 changed files with 2 additions and 2 deletions

View File

@ -392,7 +392,7 @@ namespace MediaBrowser.Installer
/// <param name="targetExe"></param> /// <param name="targetExe"></param>
private void CreateUninstaller(string uninstallPath, string targetExe) 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)) @"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall", true))
{ {
if (parent == null) if (parent == null)

View File

@ -207,7 +207,7 @@ namespace MediaBrowser.Uninstaller.Execute
private void RemoveUninstall() private void RemoveUninstall()
{ {
using (var parent = Registry.LocalMachine.OpenSubKey( using (var parent = Registry.CurrentUser.OpenSubKey(
@"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall", true)) @"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall", true))
{ {
if (parent == null) if (parent == null)