Browse Source

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

Source commit: 69c2450bb58d0219072632fcd104daa16b7c79ff
Martin Prikryl 9 years ago
parent
commit
aa6ad6f36b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      source/windows/Setup.cpp

+ 1 - 0
source/windows/Setup.cpp

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