WINECFG: use directory harddiskvolume1 for mapping drive C instead of drive_c

Hans Leidekker hans at it.vu.nl
Sat Mar 18 09:36:10 CST 2006


I've seen installers from Microsoft call QueryDosDevice on the whole
alphabet and search any returned object name for the substrings "harddisk"
and "ramdisk". On Wine they normally won't find any and quit with the
following error:

  "Unable to find a volume for file extraction"

QueryDosDevice on Wine returns the filename pointed to by the drive link
beneath the dosdevices directory. In a default Wine installation this
is ../drive_c. So a simple fix for this problem is to use the a different
name for that directory, for example the name used for the first harddisk
in the NT object namespace: harddiskvolume1.

 -Hans

Changelog
  Use directory harddiskvolume1 for mapping drive C instead of drive_c.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winecfg_harddiskvolume1.diff
Type: text/x-diff
Size: 2897 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060318/dc14c5d2/winecfg_harddiskvolume1.diff


More information about the wine-patches mailing list