How to get 'Public Key Token' of a windows DLL

41 views
Skip to first unread message

Joginder Nahil

unread,
Dec 3, 2025, 12:47:18 AM (5 days ago) Dec 3
to innosetup
I need to register COM Addin in the windows registry that requires me to get the Public Key Token of DLL of the AddIn. How do I do that in InnoSetp?

Joginder

Gavin Lambert

unread,
Dec 3, 2025, 5:04:40 PM (4 days ago) Dec 3
to innosetup
On Wednesday, December 3, 2025 at 6:47:18 PM UTC+13 Joginder Nahil wrote:
I need to register COM Addin in the windows registry that requires me to get the Public Key Token of DLL of the AddIn. How do I do that in InnoSetp?

That's not normally a thing.  You'll probably need to ask the vendor of whatever app it's an addin for.  It's possible they're asking for the public key of the certificate you're using to sign it. 

Gavin Lambert

unread,
Dec 4, 2025, 4:39:56 PM (3 days ago) Dec 4
to innosetup
Or actually, if this is a strong-named .NET DLL, that also has a public key token.  You should already know what this is though since you're the one signing it.  Can you explain more what you're trying to do and what you need it for?  Usually you use tools to install and/or register .NET DLLs; there is some built-in support for this in Inno but it depends a lot on what .NET version you're using, how you've structured your DLL, and what you're trying to accomplish.
Reply all
Reply to author
Forward
0 new messages