kkguo / apkshellext

Show app icons in windows explorer
http://www.apkshellext.com
MIT License
596 stars 86 forks source link

Error when installing: Unable to create a new class 'apk.1' for extension '.apk'. That class is already in use by application 'apk Application'. #111

Closed XcantloadX closed 2 years ago

XcantloadX commented 2 years ago

Run with administrator

#######################################################
##            APK Shell Extension  2                 ##
##                                                   ##
##           http://www.apkshellext.com              ##
#######################################################
Microsoft .NET Framework 程序集注册实用工具版本 4.8.4084.0
(适用于 Microsoft .NET Framework 版本 4.8.4084.0)
版权所有 (C) Microsoft Corporation。保留所有权利。

RegAsm : error RA0000 : 在用户定义的 Register/Unregister 函数内部发生错误: System.InvalidOperationException: Unable to create a new class 'apk.1' for extension '.apk'. That class is already in use by application 'apk Application'.
   在 SharpShell.ServerRegistration.FileExtensionClass.Get(IRegistryKey classesKey, String fileExtension, Boolean createIfMissing)
   在 System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
   在 System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   在 System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   在 SharpShell.ServerRegistration.ServerRegistrationManager.CreateClassNamesForAssociations(AssociationType associationType, IEnumerable`1 associations, RegistrationType registrationType)
   在 SharpShell.ServerRegistration.ServerRegistrationManager.RegisterServerAssociations(Guid serverClsid, ServerType serverType, String serverName, IEnumerable`1 associationAttributes, RegistrationType registrationType)
   在 SharpShell.SharpShellServer.DoRegister(Type type, RegistrationType registrationType)
Done!

/-------------------------------------------------------------------\
 apkshellext is an open-source project,
 Please visit http://www.apkshellext.com for more information
\-------------------------------------------------------------------/
请按任意键继续. . .
Zebra2711 commented 2 years ago

In Regedit editor, HKEY_CLASSES_ROOT.apk make sure the value data of (default) is "apk.1"

XcantloadX commented 2 years ago

Thanks! Problem solved