Reputation: 15015
I have a batch file with some commands that I need to run with my installer, but I'd rather a console not appear (in Windows). I'm executing the batch file from a WiX installer, via a custom action. I tried adding an @ECHO OFF
to the top of the file, but that didn't seem to do anything.
Is there a way that I can run this batch file silently?
Upvotes: 1
Views: 8795
Reputation: 16616
You can run it with stdoutout redirect to file eg. ./script > x.txt
Upvotes: 2
Reputation: 77993
Create a shortcut to your batch file, then edit its properties, and select the run minimized option.
Upvotes: 1