Am executing .bat file in custom action using wix. When i run the set up it successfully exceuting .bat file but with console window. I don't want any console window. It is possibe to hide window using wix or with .bat file.
Thanks in Advance
Set objShell = CreateObject("WScript.Shell") objShell.Run "Your_bat_file_path", 0, True
Replace "your_batch_file.bat" with the path to your actual batch file.
You can do:
but this will open command line window for just a moment, until the program starts, afterwhich it closes. Alternatively, and equivalently, you can do:
So, to start notepad and then exit the cmd terminal, you'd do:
or: