http://bugs.winehq.org/show_bug.cgi?id=8439
--- Comment #12 from Dan Kegel dank@kegel.com 2008-03-28 20:36:20 --- Hmm. With today's git, the installer exits quite early, saying "Setup was unable to copy the file D:\ to your temporary directory. Please make sure that this file exists and rerun setup."
This message came becaus a SHFileOp call failed. It turned out it was a copy without FOF_MULTIDESTFILES set, and the caller seemed to have a single filename dest list, without a terminating second null; after the first filename was garbage. I tried a few things, but the only way to get the installer past that problem without breaking any tests was to treat invalid filenames as list terminators. I'll attach that patch. I'm afraid to write a test to verify that's correct behavior, it seems a bit flimsy :-)