http://bugs.winehq.org/show_bug.cgi?id=11537
--- Comment #20 from Stephen E. Baker cycoone@hotmail.com 2008-02-14 13:11:24 --- (In reply to comment #19)
I can't afford time on this bug unless I have *the* commit that caused the bug.
160 is the commit with the label 'Simplify ready-media' which touches the: "if (type == DRIVE_CDROM || type == DRIVE_REMOVABLE) lines" and moves the msi_change_media call. I only listed the others because this commit broke other things and those other commits were needed to get them working again, so they should be considered as a whole.
Assuming 160 is the cause of the problem, the only method you have to look at is ready_media; however I don't really know how msi/wine works. Does ready_media get called for each file, or just once per media? I am a developer, I've just never worked with WINE, so with a little bit of guidance I may be able to write the patch if you don't have time.