https://bugs.winehq.org/show_bug.cgi?id=45032
--- Comment #1 from François Gouget fgouget@codeweavers.com --- The last time this was discussed on wine-devel there was a suggestion to give up on checking for the presence of the dlls (or at least not let that stop us from running the tests), and to simply run the test executable.
Indeed we could run 'foo_test.exe --list' to not risk running a test (the unfortunate default if there is only one unit test).
However in the case of a missing dll this would cause the executable to get stuck while Windows shows a dialog saying the dll is missing. This would cause a timeout and delay the tests way too much. Also, killing the process does not dismiss the windows dialog.
Maybe we could take a page out of the shlexec test and wait for the executable for 5 seconds and do a FindWindowA("#32770", "Windows") to click on the OK ourselves.
But I believe on Windows 8+ we had problems due to Windows popping up a window offering to install the missing dll but we could not intercept that one. This should be verified though. Also the dlls could be installed on machines where that is a problem.