The strange case of System.UnauthorizedAccessException when registering a Visual Studio add-in for COM Interop
May 22, 2008Today I received a bug report for a new customer of my MZ-Tools add-in for Visual Studio (who purchased directly the product without trying the trial version) and the first thing that he encountered when running the setup was: System.UnauthorizedAccessException: Access to the registry key ‘HKEY_CLASSES_ROOT\Component Categories\{62C8FE65-4EBB-45e7-B440-6E39B2CDBF29}’ is denied. (alas, not the most wonderful first […]