PDA

View Full Version : Unattended Build documentation suggestion



DanCooperstock
11-09-2008, 10:42 AM
When you are documenting how to do unattended builds, you don't mention using "start /wait". If you don't use that, and your build is part of a batch file (which it is likely to be), then control returns to the batch file before the build completes. As a result, testing the errorlevel from the build will give incorrect results (you won't know if it has failed).

So, it would be very helpful if your docs discussed this, and suggested running it with command lines such as:

start "" /wait "C:\Program Files\Setup Factory 8.0\SUF80design.exe" /BUILD ...

N.B. if you don't include the "" before /wait (meaning that the window it runs in is to have an empty title), it thinks the quoted program name is the title, and gives you error messages about the /BUILD parameter, because it thinks that should be a parameter to the "start" command, not to SUF80design.

Darryl
02-05-2009, 07:15 AM
Thanks for the suggestion.

REF: 18262