Hello,
A DOS windows appears each time I run a custom command in my setup wizard. Is there a way to hide all of those windows ?
Thanks.
Code: Select all
LaunchSomething("ConsoleApp.exe"),True
Function LaunchSomething(strPath, bWait)
Set WshShell = CreateObject("WScript.Shell")
strCmd = Chr(34) & strPath & Chr(34)
ret = WshShell.Run(strCmd, 0, bWait)
End Function