volume names of mounted iso images

Alexandre Julliard julliard at winehq.org
Mon May 7 10:21:22 CDT 2007

"James Hawkins" <truiken at gmail.com> writes:

> 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?

Autodetect from device is the default behavior, and it should work
fine for ISO images. Probably Wine cannot open the corresponding iso
file for some reason.

Alexandre Julliard
julliard at winehq.org

More information about the wine-devel mailing list