https://bugs.winehq.org/show_bug.cgi?id=26016
--- Comment #19 from Anastasius Focht focht@gmx.net --- Hello Austin,
--- quote --- @Focht, I've noticed even with all Heap calls changed, that I occasionally get deadlocks: --- quote ---
heap crit section timeouts are also an indication of heap corruption.
Maybe it's not only setupapi at fault here - updspapi might be involved too (most MS installers make use of both). One reason for the corruption could be that those installers make assumptions of win32 internal data structures which Wine doesn't match.
You could try selectively override setupapi and updspap and do some testing.
Regards