I am trying to set up a build using the AdvancedInstaller.exe /build ... command as a part of a script. It appears that this command starts the build, but exits more or less immediately and does not wait for it to complete.
If I run the build command at the command line and run dir *immediately* after, the length of the msi is too short (once, even zero bytes). If I run dir again, it has the right size. So far, my scripts have managed to trip over an incomplete msi file, but I am concerned. Is there a bug here?