开发者

Inno Setup: register (unsigned) assemblies

开发者 https://www.devze.com 2023-04-05 02:50 出处:网络
I need to register some assemblies into my Inno Setup script and found this code: Source: \"Files\\MyAssembly.dll\"; DestDir: \"{app}\"; StrongAssemblyName: \"MyAssembly, Version=1.0.0.0, Culture=neu

I need to register some assemblies into my Inno Setup script and found this code:

Source: "Files\MyAssembly.dll"; DestDir: "{app}"; StrongAssemblyName: "MyAssembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=48d60606109a2257, ProcessorArchitecture=MSIL"; Flags: "gacinstall sharedfile uninsnosharedfileprompt"

the problem is my dll is not signed and I'm not found the option for C++/CLI dll in VS2008 to sign it!

Error message: Install assembly failed; code 0x80131044

How can I register unsigned assemblies or how can I sign C++/CLI dll's in Visual Studio 2008?

Thank 开发者_StackOverflowyou in advance !

greets


If it's not signed, you can't install it in the GAC. If you need it "registered" for COM interop, you need to call RegAsm with the /codebase parameter.

0

精彩评论

暂无评论...
验证码 换一张
取 消