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

Signed-off-by: Mathias Eggert <mathias.eggert@nexenio.com>
This commit is contained in:
Mathias Eggert 2021-09-16 12:51:04 +02:00 committed by Matthieu Gallien
parent 155f686c4f
commit 51cfe76d65
1 changed files with 1 additions and 0 deletions

View 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>