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-21 11:48:25 +0300
commitb38a1f5e3229e2296f2d7f4d8d754b7736a908aa (patch)
treee1a36604de2d9f1318a87aca5003c9e21db040ec
parent6342451937cee93d1ecc2ab11e5fcc9283dfd3a6 (diff)
add ContextMenuOptIn to COM registration, to allow Placeholder support. Issue #3584bugfix/windowsContextMenu
Signed-off-by: Mathias Eggert <mathias.eggert@nexenio.com>
-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>