%WINDIR%\Microsoft.NET\Framework\v2.0.50727\regasm .exe "C:\***\*** ********* ****\bin\**********.dll" /codebase /verbose

This is the command line I am using to register a dll.
When I run this command using a batch file, it successfully registers the dll.

While same command line is not working through setup. In SB6 we used "Run Command Line" to run above command. But it failed to register the dll.

This works on WinXP 32bit, but same failed on Win7 64Bit. We are invoking this setup as Administrator on both the machine.