Archive: Executing program during the installation


Executing program during the installation
Hello, everybody.

During the installation I need to run a little program. There are 2 problems:
1, Need to run program silently
2. Program starts with the message box with the question like "Do you really want to strat this program?" and buttons "Yes" and "No"

Please let me know if it is possible to run it silently and how to do this.

Regards.


You can try hiding it using ExecShell's SW_HIDE flag, but whether or not you can run the program silently depends on whether the program supports it... if it does, it's usually a flag like /s or -s .. but you'd have to check that program's documentation.
( there are some alternatives, essentially 'clicking' the Yes button via code, but they're not recommended. )