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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.