Arbitrary DOS device name

Zebediah Figura zfigura at codeweavers.com
Tue Feb 1 15:39:04 CST 2022


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.



More information about the wine-devel mailing list