Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't register file associations. #18

Open
WhoMI7 opened this issue Nov 28, 2022 · 0 comments
Open

Can't register file associations. #18

WhoMI7 opened this issue Nov 28, 2022 · 0 comments

Comments

@WhoMI7
Copy link

WhoMI7 commented Nov 28, 2022

Getting this:

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

Tried running mediainfo as admin too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant