bat file in vb.net setup project

Feb 27 2009 12:33 AM
i have user mscomm.ocx in my vb.net project.
i need to register the control in client machine at installation time
i craeted a bat file which has the following code
regsvr32 \s mscomm32.ocx.

plz tell me how to include bat file in setup project. and how to make it to run first when installation starts

plzzzz help me

Thanks

Answers (3)