Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Eggert <mathias.eggert@nexenio.com>2021-09-16 13:51:04 +0300
committerMatthieu Gallien <matthieu.gallien@nextcloud.com>2021-09-28 12:20:30 +0300
commit51cfe76d657fdd299d34bc1bc2678b01a720cde1 (patch)
tree1990f92d9ec53ef15ed7e40a9f1e9568f6d79727 /shell_integration
parent155f686c4f711ecd61b420fc222dd9708e68e190 (diff)
add ContextMenuOptIn to COM registration, to allow Placeholder support. Issue #3584
Signed-off-by: Mathias Eggert <mathias.eggert@nexenio.com>
Diffstat (limited to 'shell_integration')
-rw-r--r--shell_integration/windows/WinShellExt.wxs.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell_integration/windows/WinShellExt.wxs.in b/shell_integration/windows/WinShellExt.wxs.in
index f3ad4dd77..065aafd3b 100644
--- a/shell_integration/windows/WinShellExt.wxs.in
+++ b/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>