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>
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)

View file

@ -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)