Skip to content
⌘ NSIS Forum Archive

Execute a batch file in hidden mode

7 posts

fabiochelly#

Execute a batch file in hidden mode

Currently, I'm using ExecWait to launch batch files or execute commands as 'net start'.
The problem is that it displays a DOS window.
Is there a way to hide it, or better, to catch the output to show it in the details window?
fabiochelly#
Thank you. It seems to be exactly what I was looking for.
Does those commands work like Exec or ExecWait?
Vytautas#
If you mean when does the plugin return the control to the installer then that would be like ExecWait. It will return the control when the batch file terminates, although if the batch file does not wait for other commands to complete then the plugin will not wait either.

Vytautas