Open the "custom operation editor" of the .NET installation project, as shown below
As shown in the figure above, the right key "Install" node, click "Add Custom Action ..." in the pop-up menu, appears as shown below to select the prompt box.
In the "Application Folder", select the third-party EXE file to be executed during the installation process. After selecting, the last step sets the properties of the custom operation, as shown below.
Enter the running third-party program description in the "name" box, then remove "/ install", why do you want it? Because I don't go down, I will report the command parameter error when the installation is installed. Next, you can compile your installation package.