浏览代码

Maybe we should skip HKCU application registration when HKLM registration already exists

Source commit: 69c2450bb58d0219072632fcd104daa16b7c79ff
Martin Prikryl 9 年之前
父节点
当前提交
aa6ad6f36b
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      source/windows/Setup.cpp

+ 1 - 0
source/windows/Setup.cpp

@@ -605,6 +605,7 @@ static void __fastcall RegisterForDefaultPrograms()
   {
     try
     {
+      // Maybe we should skip this if HKLM key existed already (we are running non-privileged)
       RegisterProtocolsForDefaultPrograms(HKEY_CURRENT_USER);
     }
     catch (Exception & E)