Oops. Wrote to the wrong hive...
This commit is contained in:
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…
Reference in New Issue
Block a user