Archive: Hide dos window when run makensis.exe


Hide dos window when run makensis.exe
Hello!

I call makensis.exe from an c# application and i doesn´t want the dos window to show. Is there any way to hide this?

Could anyone help me!

wolf


The way MakeNSISw and nsExec do this is by replacing stdout and stderr with its own pipes and call CreateProcess with STARTINFO.wShowWindow as SW_HIDE. I don't know how this could be done with C#. You should ask that in a C# specific forum.