I am not able to reproduce the bug anymore :-S. I hope it'll pop up in the coming days again, if so, I will send you the trace :-).
I'll also give the sharing thing / SHCreateFileStream a try and see if I can come up with a unit test... Regards, Robert ________________________________________ Van: Hans Leidekker [h...@codeweavers.com] Verzonden: dinsdag 19 juni 2012 13:04 Aan: robert.van.h...@serioustoys.com CC: wine-devel@winehq.org Onderwerp: RE: msi:RECORD_StreamFromFile bug, help needed On Tue, 2012-06-19 at 12:36 +0200, robert.van.h...@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?