I am currently evaluating SetupBuilder 8 and I am having trouble with RegAsm /codebase. I tried 2 ways:

1. Added the file and set the File Property "COM Interop Registration for .NET Assembly"

2. Add the file and add the Register File Operation "COM Interop Register (/codebase).NET Assembly immediately"

None of these seem to add the correct entries in the registry.

I can run it by hand and all is fine.

C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegA sm.exe /codebase RemoteServiceAccess.dll

How does SetupBuilder 8 know which version of RegAsm to use since there are multiple versions of .NET and 32/64 bit?