Hi,

I am trying to setup wine with wine.inf, with the following call:

/usr/bin/rundll32 setupapi.dll,InstallHinfSection DefaultInstall 128 
/usr/share/wine/wine.inf

However, the /usr/share/wine/wine.inf path does not seem to be translated correctly.

0009:Call kernel32.GetFullPathNameW(406efb6e 
L"/usr/share/wine/wine.inf",00000000,00000000,00
000000) ret=40c8333c
0009:Ret  kernel32.GetFullPathNameW() retval=0000001b ret=40c8333c
0009:Call ntdll.RtlAllocateHeap(40360000,00000000,00000036) ret=40c83542
0009:Ret  ntdll.RtlAllocateHeap() retval=4039a0e0 ret=40c83542
0009:Call kernel32.GetFullPathNameW(406efb6e 
L"/usr/share/wine/wine.inf",0000001b,4039a0e0,00
000000) ret=40c83571
0009:Ret  kernel32.GetFullPathNameW() retval=0000001a ret=40c83571
0009:Call kernel32.CreateFileW(4039a0e0 
L"Y:\\usr\\share\\wine\\wine.inf",80000000,00000001,0
0000000,00000003,00000000,00000000) ret=40c835af
0009:Ret  kernel32.CreateFileW() retval=ffffffff ret=40c835af

The config script has:

[Drive Y]
"Type" = "network"
"Path" = "%HOME%"

[Drive Z]
"Type" = "network"
"Path" = "/"

So it should have been using Z:\\ 

Is this a problem in GetFullPathName or should I better use:

/usr/bin/rundll32 setupapi.dll,InstallHinfSection DefaultInstall 128 
z:\\usr\\share\\wine\\wine.inf

?

Ciao, Marcus

Reply via email to