How to run a ".bat" file during Install Custom Action

Saqib Bhatti 1 Reputation point
2021-11-04T12:54:20.453+00:00

I am creating an installer using Visual Studio Setup. In the File System, I have created a folder named 'Batch' and put batch file there. Now on Install Custom Action properties, in the Source Path field I enter this
C:\Windows\System32\cmd.exe

but in the Arguments filed I don't know what to enter. If I give Local disk path then it won't work on another PC.

Any help will be highly appreciated.

Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
963 questions
{count} votes