You can't run batch files straight from a VS setup project, but I think you can run scripts that can execute them. Something like this might work:
Set s = CreateObject( "WScript.Shell" )
cmd = "yourbat.bat"
s.Run ("cmd /C " & """" & command & """")
Set s = Nothing
This might not work on all computers though if they don't have the script host installed already, so it might be better to come up with a non batch file way.
Edit: Just remembered a possibly better way of doing this.
I think it would work to, on your pc run RegAsm
with the /regfile
parameter which creates a regfile containing all the settings needed. Then just add that regfile to your setup project and you won't have to run RegAsm
on the client's computer.