Oops. Wrote to the wrong hive...

pull/702/head
Eric Reed 12 years ago
parent 1eda622132
commit 241bddcf78

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

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

Loading…
Cancel
Save