add ContextMenuOptIn to COM registration, to allow Placeholder support. Issue #3584
authorMathias Eggert <mathias.eggert@nexenio.com>
Thu, 16 Sep 2021 10:51:04 +0000 (12:51 +0200)
committerMatthieu Gallien <matthieu.gallien@nextcloud.com>
Tue, 28 Sep 2021 09:20:30 +0000 (11:20 +0200)
Signed-off-by: Mathias Eggert <mathias.eggert@nexenio.com>
shell_integration/windows/WinShellExt.wxs.in

index f3ad4dd771084071fec6e4fe1332b390fc48200e..065aafd3ba6223455ede99a7cd3d657c2788ee57 100644 (file)
@@ -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>