Arbitrary DOS device name

Daniel Kucera wine at danman.eu
Sun Feb 13 17:20:19 CST 2022


On 2022-02-01 22:39, Zebediah Figura wrote:
> On 2/1/22 13:25, danman at danman.eu wrote:
>> I checked with strace:
>> 
>> openat(AT_FDCWD,
>> "/usr/lib/wine/../x86_64-linux-gnu/wine/dpinst64.exe.so", O_RDONLY) = 
>> -1
>> ENOENT (No such file or directory)
>> write(2, "0009:err:module:__wine_process_i"...,
>> 850009:err:module:__wine_process_init
>> L"C:\\windows\\system32\\dpinst64.exe" not found
>> ) = 85
>> 
>> copied the lib:
>> sudo cp programs/dpinst64/dpinst64.exe.so
>> /usr/lib/x86_64-linux-gnu/wine/
>> 
>> now I am getting:
>> 
>> $ wine64 ~/.wine/drive_c/windows/system32/dpinst64.exe
>> 002b:err:module:__wine_process_init
>> L"C:\\windows\\system32\\dpinst64.exe" not supported on this system
>> 
>> The same with setup.exe:
>> 
>> $ WINEDLLOVERRIDES=dpinst64.exe=b,n WINEDEBUG=dpinst+trace wine64
>> Setup.EXE
>> 0032:fixme:shell:SHChangeNotify ignoring unsupported flags: 2001
>> 0040:err:module:__wine_process_init L"C:\\Program Files
>> (x86)\\Hantek6000\\Bin\\dpinst64.exe" not supported on this system
>> 0042:err:module:__wine_process_init L"C:\\Program Files
>> (x86)\\Hantek6000\\Bin\\dpinst64.exe" not supported on this system
>> 
> 
> If you're building with MinGW, you want to copy it as "dpinst64.exe",
> not "dpinst64.exe.so".
> 
> Probably easier is just to run the wine binary from the build tree
> instead, e.g. "path/to/build/tree/wine64 Setup.EXE". That doesn't
> require installing anything at all.

It took me a while to understand what's wrong there - the setup.exe is 
32bit binary and I didn't run with wine64 so I have to recompile 32bit 
wine.
Now, when I am installing the software, I get following error:

0118:fixme:imm:ImeSetActiveContext (0x257560, 0): stub
0118:fixme:imm:ImmReleaseContext (00020060, 00257560): stub
0108:fixme:imm:ImeSetActiveContext (0x245220, 1): stub
0108:fixme:imm:ImmReleaseContext (00020090, 00245220): stub
0138:err:module:import_dll Library USBD.SYS (which is needed by 
L"C:\\Program Files\\Hantek6000\\Driver\\Win10\\Hantek6000BX86.sys") not 
found
0150:err:module:import_dll Library USBD.SYS (which is needed by 
L"C:\\Program Files\\Hantek6000\\Driver\\Others\\Hantek6000BX86.sys") 
not found
0108:fixme:shell:SHChangeNotify ignoring unsupported flags: 2001

Is there something to do to "activate" usbd.sys support? Is it 
implemented at all?

Thank you for everything.

Daniel.



More information about the wine-devel mailing list