Jump to content


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.
Photo

How do I capture the output from a custom action


4 replies to this topic

mdc

mdc
  • Full Members
  • 8 posts

Posted 23 February 2007 - 19:30

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

mdc

mdc
  • Full Members
  • 8 posts

Posted 27 February 2007 - 19:27

Bump! Is this not something that is normally done? Please help!

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

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?

mdc

mdc
  • Full Members
  • 8 posts

Posted 28 February 2007 - 16:03

Stefan, it writes text to a console window.

Thanks,

Mike

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 01 March 2007 - 17:43

Maybe you can redirect the output to a file, something like:
program.exe > file.txt