Blocking command line compile
Currently if I call "sbuilder.exe /C [project].sb5", sbuilder returns immediately, compiling in the background. I would love an option to make sbuilder block while compilation is in progress, returning control to my batch script only when finished so I can conclusively say "Installer is ready for deployment."
Any plans to support this? Alternately, do you know any esoteric command line chicanery to work around it?
Re: Blocking command line compile
Never mind, this appears to be working fine.
Re: Blocking command line compile
Re: Blocking command line compile
Can you please post the fix for command line compiling to wait before returning? Thx.
Also, is a log file generated to indicate compile success or problems/failure?
Re: Blocking command line compile
A log file is generated in the directory with sbuilder.exe. I sure wish Linder would fix this:
a) Output on stderr/stdout would be much more useful and discoverable
b) Writing files to your program directory breaks when the user is not running as an Administrator.
Re: Blocking command line compile
Hmm, there is no known bug in this task. SB5 returns after it has finished. We are using this feature in all of our projects.
Re: Blocking command line compile
Hmmm... maybe it's just so fast that it returns in 2 secs! I'll check it out. Thx.
Re: Blocking command line compile
Please let me know what you find. To be on the safe side, I have tested this on clean Windows XP SP2 and Windows 2003 machines. SB5 compiled the script and then returned.
Thanks,
Re: Blocking command line compile
Hmm... What I find is that if I run SetupBuilder in a batch file, it returns when compilation is complete. If I run SetupBuilder straight from the command line, it returns immediately and continues to process in the background.