volume names of mounted iso images

James Hawkins truiken at gmail.com
Mon May 7 00:34:09 CDT 2007

Hi all,

I have a patch ready to go that fixes a problem with the media
switching code in msi.  According to tests and msdn, the presence of a
required media (usually a CD or DVD) is confirmed using only the
volume name listed in the Media table of the msi file.  The patch
simplifies the existing media checking code and also fixes a few
installers.  The problem is that, on my system at least, the volume
name and serial of mounted ISO files (using a loopback device) are not
available, and any call to GetVolumeInformation returns an empty
string for the volume name.  Because of this, I'm hesitant to get the
patch committed for fear of restricting installs to only using
physical media.  That would include me, because my CD drive is borked.
 Setting the volume name in winecfg doesn't work, probably because of
permissions and the fact that the mount is read only.  'Autodetect
from Device' is apparently not implemented.  Can someone enlighten me
on the situation and possible solutions?

James Hawkins

More information about the wine-devel mailing list