How to set the publisher name in a BHO

2019-08-06 05:44发布

I have written a BHO and a toolbar for Internet Explorer in C#. They are getting installed and working properly. In the manage add-ons window in IE8, I am able to see both my BHO and toolbar. But, the publisher name of both is set to "Control name is not available". How can I set the publisher name?

3条回答
Explosion°爆炸
2楼-- · 2019-08-06 05:49

After set following info in AssemblyInfo.cs file build the DLL.

[assembly: AssemblyCompany("Your publisher name")]

When you register that DLL then use the following command.

regasm /register /codebase YourDLL.dll

Now it will show your publisher name in manage addon in IE.

Hope this make more sense.

查看更多
We Are One
3楼-- · 2019-08-06 05:52

Signed your Dll. assemblyinfo file in .net the attribute [assembly: AssemblyCompany("add Publisher Name Here ")] GOES as publisher name in a BHO.. Thanks

查看更多
小情绪 Triste *
4楼-- · 2019-08-06 06:10

Two things:

  1. Are you signing your .dll? You need to sign your modules as well as your installation package.
  2. Make sure your .dll has a VERSIONINFO resource in your .rc file. Here's the documentation which has a sample you can basically cut and paste.
查看更多
登录 后发表回答