http://bugs.winehq.org/show_bug.cgi?id=30735
--- Comment #20 from Ulrich Brammer ubrammer@t-online.de 2013-01-04 10:56:49 CST --- Created attachment 43080 --> http://bugs.winehq.org/attachment.cgi?id=43080 Patch to add a fake function for IOCTL_DISK_GET_MEDIA_TYPES and IOCTL_STORAGE_GET_MEDIA_TYPES
The Office2000 installer and the later installed office programs call IOCTL_STORAGE_GET_MEDIA_TYPES for device A: if present in wine. In current wine (1.5.20) this is answered with IOCTL_STORAGE_GET_MEDIA_TYPES_EX. The wine function IOCTL_STORAGE_GET_MEDIA_TYPES_EX delivers an incomplete structure of type GET_MEDIA_TYPES whereas IOCTL_STORAGE_GET_MEDIA_TYPES delivers a structure of type DISK_GEOMETRY, which is needed. The patch solves the problem for me. It was also tested with the sample code from: http://support.microsoft.com/kb/115828/en-us According to the above web-page the DISK_GEOMETRY will also be delivered, if there is no floppy in the drive. Since the usage of udisks in wine, drive A: is always present, if a floppy drive is installed and activated in the BIOS. Before udisks drive A: was not present in wine, until added manually. Office 2000 could be installed before udisks even with an installed floppy drive without inserted floppy. This is not the case in current wine.