Are you trying to script the regsvr32 ? If so, lets see your syntax.