5
I also encounter this problem and compared the applications visible with the one invisible.
It turns out that the main reason for an application to become invisible in the open with menu is that it does not contain ApplicationCompany
entry in the file information within the exe file.
This information is copied into the registry to the folder Computer\HKEY_CLASSES_ROOT\Local Settings\Software\Microsoft\Windows\Shell\MuiCache
.
In your example the entry for sublime_text.exe
is set as the second entry but it is missing in the open with menu.
You should check the registry key mentioned above. There have be two REG_SZ
entries for a visible app:
.FriendlyAppName
.ApplicationCompany
Example:
C:\Program Files\Sublime Text 2\sublime_text.exe.FriendlyAppName
C:\Program Files\Sublime Text 2\sublime_text.exe.ApplicationCompany
In my case the second entry was missing which caused the application to be not shown in the open with menu. If it missing just create and empty REG_SZ
entry of that name and check the open with menu - it should be visible now.
Edit: Unfortunately Windows 10 seems to update this table regularly, removing manually added entries. Therefore adding the necessary entries only fixes the problem a certain time.
Tested with Windows 10 version 17.04 and 17.09
The ApplicationCompany comes from the exe's version resource. If you're building the app you can fix this yourself, or you can change a third-party exe with a resource editor, though this won't work if it is signed. Anyway, many thanks, I spent hours trying to figure out why my app didn't appear to have registered properly and this was the answer. – arx – 2018-03-06T00:58:12.940