Procházet zdrojové kódy

add ContextMenuOptIn to COM registration, to allow Placeholder support. Issue #3584

Signed-off-by: Mathias Eggert <mathias.eggert@nexenio.com>
Mathias Eggert před 4 roky
rodič
revize
51cfe76d65
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      shell_integration/windows/WinShellExt.wxs.in

+ 1 - 0
shell_integration/windows/WinShellExt.wxs.in

@@ -63,6 +63,7 @@
                 <File Id="NCContextMenu.dll" KeyPath="yes" Source="$(var.HarvestAppDir)\shellext\NCContextMenu.dll">
                     <Class Id="$(var.ContextMenuGuid)" Context="InprocServer32" Description="$(var.ContextMenuDescription)" ThreadingModel="apartment" />
                 </File>
+                <RegistryValue Root="HKCR" Key="CLSID\$(var.ContextMenuGuid)" Name="ContextMenuOptIn" Value="" Type="string" Action="write" />
                 <RegistryValue Root="HKCR" Key="AllFileSystemObjects\shellex\ContextMenuHandlers\$(var.ContextMenuRegKeyName)" Value="$(var.ContextMenuGuid)" Type="string" Action="write" />
             </Component>