Old 17th May 2006, 04:21   #1
camelweb
Junior Member
 
Join Date: May 2006
Posts: 2
Question Capturing external program's output

Hi,

I have created an NSIS installer. One of its features is an executable I extract and run (during installation) that upgrades the user's database. I do this by calling ExecWait.

Somehow, I would like to capture the output of this executable and show it in the Detail Display - preferably, during the execution.

Can I capture standard output somehow? Or is there some form of inter process communication that I can take advantage of?

Any ideas are appreciated.

Regards,

Camel
camelweb is offline   Reply With Quote
Old 17th May 2006, 06:07   #2
Takhir
Major Dude
 
Join Date: Feb 2004
Location: Moscow, Russia
Posts: 1,222
"standard output" is a feature of console applications, you can use nsExec from NSIS distribution or ExecDos plug-ins.
Takhir is offline   Reply With Quote
Old 20th May 2006, 13:16   #3
camelweb
Junior Member
 
Join Date: May 2006
Posts: 2
Thanks, that's worked a treat. I missed nsExec in the documentation...
camelweb is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump