every 30 seconds my app starts a console program which causes dos window opened. I want to close the dos window by my app before opening the new one. Please tell me how to do it. thanks.

by the way, is it possible to get a list of the files to be installed (including running dlls) after the setup program made?