Inno Setup: register (unsigned) assemblies

0

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 you in advance !

greets

visual-studio-2008
dll
assemblies
inno-setup
asked on Stack Overflow Sep 13, 2011 by leon22

1 Answer

0

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.

answered on Stack Overflow Sep 13, 2011 by Deanna

User contributions licensed under CC BY-SA 3.0