MediaInfo.NET icon indicating copy to clipboard operation
MediaInfo.NET copied to clipboard

Unable to register file associations

Open githubdotcomuser opened this issue 2 years ago • 1 comments

When I select install from the context menu in MediaInfo.NET, I get the following error message:

UnauthorizedAccessException

Access to the registry key 'HKEY_CLASSES_ROOT\PhotoViewer.FileAssoc.Tiff\shell\MediaInfo.NET' is denied.

System.UnauthorizedAccessException: Access to the registry key 'HKEY_CLASSES_ROOT\PhotoViewer.FileAssoc.Tiff\shell\MediaInfo.NET' is denied.
   at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)
   at Microsoft.Win32.RegistryKey.CreateSubKeyInternal(String subkey, RegistryKeyPermissionCheck permissionCheck, Object registrySecurityObj, RegistryOptions registryOptions)
   at Microsoft.Win32.RegistryKey.CreateSubKey(String subkey, RegistryKeyPermissionCheck permissionCheck)
   at RegistryHelp.SetValue(String path, String name, Object value) in D:\Projects\CS\MediaInfo.NET\src\RegistryHelp.cs:line 11
   at MediaInfoNET.Program.Setup(Boolean install) in D:\Projects\CS\MediaInfo.NET\src\Program.cs:line 58
   at MediaInfoNET.Program.Main(String[] args) in D:\Projects\CS\MediaInfo.NET\src\Program.cs:line 18

Is there any thing I can do to fix this?

githubdotcomuser avatar Dec 15 '23 10:12 githubdotcomuser

I fixed removing all images extensions in the Settings menu (bmp, gif, jpe, jpeg, jpg, gif, png, tif, tiff IIRC)

Lanquiv avatar Jul 20 '24 19:07 Lanquiv