Archive: problem with execwait


problem with execwait
I am making a nsis script to automate the execution of a command line program. I run this exe many times. The problem is that this program makes a log of what is doing, and this log is overwritten every time the exe runs. This doesn't happen when running the program from the command line. Could you know what's happening? I tried setting "SetOutPath" to EXEDIR where the command line program is, but it still overwrites.


Where is it writing its log when you execute it from the command line? Is it writing it to the current directory? If a log file already exists in the current directory, what does it do with it?


the log is written on the same folder where the command line exe is. If there's a log it overwrites it, instead of append. The normal behaviour when running without nsis is to append.


Well, there's nothing special about the way NSIS executes anything. It just calls CreateProcess. What exactly are you running?


here's the program I am running:
http://www.vicobiscotti.it/en/fsync.htm


Works fine for me. Are you sure you've used /L+ and not just /L?


oops, now I am embarrased :$

thanks for helping :)