And it worked well all the time. After upgade to Dopus 12 it shows error
russian:
Нет приложения, сопоставленного с этим файлом для выполнения этого действия.
Установите приложение или, если оно уже установлено, создайте связь на странице
параметров приложений по умолчанию.
translation:
There is no application associated with this file to perform this action.
Install the app or, if already installed, create a link on the page
default application settings.
Are you sure you made what's in the screenshot yourself, or that it is what you're selecting when you right-click the file?
Are you seeing the problem when right-clicking or when double-clicking?
The thing in the screenshot, and from seeing it in the registry data you sent, looks identical to the standard open verb which MPC-BE creates (and labels Воспроизвести в MPC-BE in Russian or Play with MPC-BE in English). I have the same things on my machine and they work fine, with MPC-BE as the associated program for MKV files. It's unlikely those were made by hand using Opus 11.
I think what's complicating things is that you have the MKV type overwritten via Open With so that it is associated with MPC-HC (HC, not BE). That would try to run this on double-click:
"C:\Program Files\MPC-HC\mpc-hc64.exe" "%1"
Does that path/program still exist on the machine?
You are right. Previuos screenshot screenshot showed actions from registry. Here is context menu page where right command "Добавить в плейлист MPC-BE" was added manually by me. It has the same value of "Application" property.
And there is no mistake. There are 2 similar applications -
C:\Program Files\MPC-HC\mpc-hc64.exe
C:\Program Files\MPC-BE x64\mpc-be64.exe
Both paths are valid in my system.
And I repeate - The same command in toolbar still works well.
They work fine here. Something strange is going on there.
Explorer not even showing the same menu items tells me something weird is going on with the file type, possibly because it's been taken over via Open With. What happens if you use Open With to make MPC-BE the default app for MKV and MP4?
Please also make a process monitor log of what happens when the menu item is selected, and we'll look at it when we have a moment:
It works OK.
Remember - Dopus 11 had no such problems. All context menu items added in Dopus file type editor - worked OK. The problem have appeared right after upgrading to Dopus 12.
In a way, the bug is that we're showing those menu items at all, since File Explorer won't show menu items on a file type that has been taken over. The menu items are actually run via the shell as well, which must have problems in this situation (makes sense in a way, as the shell is confused by the situation).
It's also partly the fault of the file type editor letting you edit the type when it's been taken over by a different type. But the way file type overrides work in Windows is so complex now that we will probably not attempt to change that. Sometimes the file type editor won't be enough and complex situations require alternative methods, or sometimes editing the registry directly.
Opus 11 did things in a more simple way and ran the commands directly itself, which is why they worked there. But that also meant some other things didn't work or were less compatible.
You should be able to solve the problem by deleting the existing menu items and adding new ones which are set to the "Run An Opus Function (not supported in Explorer)" type. (You can't change an existing item to the type, it has to be deleted and a new one created.)
The same command should work, and when it's set to that type it will be an Opus-specific command which Opus runs entirely itself. Since the menu items don't show up in File Explorer anyway, there's no downside to that.
Why old compatible commands (type 1) does not work like in Dopus 11? As I understand they are here only for compatibity resason. I don't won't spent my time manually recreating commands in dozens of file types.
The old method didn't work with some third party context menu handlers that need to be run via the shell.
The new method does work, but only when they're added to the actual file type that Windows believes the extension to be, because the Windows shell apparently gets confused when asked to run something otherwise.
When they're added to one file type (mpc-be64.mkv) but that is then taken over by another (mplayer64.exe, I think it was in this case) is where you run into problems. But those menu items shouldn't really even be shown, so if we fix this it'd just be to hide the broken menu items entirely so we're at parity with File Explorer.
(And we could potentially make the file type editor edit the overriding file type rather than the overridden one, but that's quite complicated. We could also just remove the file type editor, which is what Microsoft did to theirs years ago when they made things too complex for themselves... But it's useful and we don't want to do that, even if it's imperfect. I don't think the file type editor is where those menu items came from anyway.)
You only need to add the menu item once, to the Moviesfile type group.
To remove all the non-working menu items at once, configure MPC-BE and tell it not to add its menu items by turning off these two checkboxes:
(Those are what we're looking at here; none of them are self-created in Opus 11, they are what MPC-BE creates when these checkboxes are turned on.)
If the checkboxes are greyed out, you need to click the Modify button shown below, and accept the UAC prompt, so that MPC-BE has access to modify the registry:
Yes. Tried to register shell context menu commands from MPC-BE with no luck -
When I pressed "Apply" button, only "Default application" window has opened and nothing changed. The error is still shown when I execute context menu root item "Play in MPC-BE".