How do I capture the output from a custom action that executes a .exe program. I'm going to call stsadm.exe to deploy a Microsoft SharePoint solution file. I need to be able to check for a successful or Error message from that .exe call.
Thanks,
Mike
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
How do I capture the output from a custom action
Started by
mdc
, Feb 23 2007 19:30
4 replies to this topic
Posted 28 February 2007 - 08:14
Which type of "output" do you mean? Does it write text to a console window? Or do you mean the exit code from the exe?
Stefan Krüger
InstallSite.org twitter facebook
Posted 01 March 2007 - 17:43
Maybe you can redirect the output to a file, something like:
program.exe > file.txt
program.exe > file.txt
Stefan Krüger
InstallSite.org twitter facebook