Hi
My installer downloads files from a website, and extract them to a temporary directory.
Within the extracted files, there is an exe that executes and displays an output. I am trying to pipe ">" the output to a text file so I can look for certain information. In DOS it works fine (for example c:\dir > list.txt)
I cannot get it working through the installer. I've tried:
nsExec::ExecToLog '"$TEMP\showinfo.exe" -p > data.txt'
and
ExecWait '"$TEMP\showinfo" -p > data.txt',
but it doesn't work. A dos box flashes open and close, and at most I'll get an empty "data.txt" file.
Can someone please give me some advice?
I've even tried to issue the command in a batch file, and running the batchfile through ExecToLog/ExecWait, but again no results.
PS. Is there EVER anyone on the IRC support channel? 🙂
TIA
Piping output from a file using ExecWait/ExecToLog
3 posts