[Wine] Re: Winetricks gfw under root vs under user

DanKegel wineforum-user at winehq.org
Wed Mar 9 09:00:20 CST 2011


0009:Call KERNEL32.GetDriveTypeA(0032f828 "c:\\") ret=010029a9
0009:Ret  KERNEL32.GetDriveTypeA() retval=00000004 ret=010029a9
...
0009:Call KERNEL32.GetDriveTypeA(0032f828 "z:\\") ret=010029a9
0009:Ret  KERNEL32.GetDriveTypeA() retval=00000003 ret=010029a9
...
0009:Call KERNEL32.CreateDirectoryA(0032f730 "z:\\_000624_",00000000) ret=010027f7
...
0009:Call user32.MessageBoxA(0001004e,0032f5b8 "Unable to find a volume for file extraction.\nPlease verify that you have proper permissions.",0032f7b8 "Extraction Failed",00010010) ret=01003661

For some reason, it wants to write into z:\ on your system.

When I run it, C: returns drive type 3, not 4, and it writes into c:\

winbase.h:#define DRIVE_FIXED                3
winbase.h:#define DRIVE_REMOTE               4

So the app is looking for a hard drive, and C isn't one, but Z is.
Hilarity ensues.

Can you set the drive type of C: to 'hard drive' in winecfg?

Is there something funny about your setup that might have caused this,
e.g. is your home directory on a file server?







More information about the wine-users mailing list