Skip to content

Commit

Permalink
MP1-5185: DeployTool: FixMediaPortal64RegistryPath : Add missing writ…
Browse files Browse the repository at this point in the history
…table argument when openning existing registry key
  • Loading branch information
epbk committed Feb 17, 2024
1 parent 65a744c commit 0ac6194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/MediaPortal.DeployTool/Utils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,7 @@ public static void FixMediaPortal64RegistryPath(string strName)
{
//Existing old registry path

RegistryKey key = Registry.LocalMachine.OpenSubKey(strPath);
RegistryKey key = Registry.LocalMachine.OpenSubKey(strPath, true);

if (key == null)
{
Expand Down

0 comments on commit 0ac6194

Please sign in to comment.