On Tue, 2012-06-19 at 12:36 +0200, robert.van.herk@serioustoys.com wrote:
I altered my local source tree, such that it opens the file exclusively as a stream. That seems to work.
Having that fixed, at least provisionally, I am now facing another issue: my MSIs are most of the time very small, only about 5 megs. This is wrong. In some runs, it goes fine though, and they reach 300 megs, which is the right size. I find no error messages in the +relay trace... The process seems to be completely unpredictable.
I can see in my Windows temp dir that the temporary files created there do seem to add up to about 300 megs, but then when the final MSI is baked, something seems to go wrong... (?)
Would you have any idea of how this could be? Maybe some race-condition?
It seems to be unrelated to the other bug (the one described before: GlobalAllocing a big block to copy file contents into), because before this fix this current behaviour also happened in the instances where the GlobalAlloc didn't fail.
Can you please open a bug report for this and attach a +msi,+msidb trace?