http://bugs.winehq.org/show_bug.cgi?id=8439
--- Comment #32 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2009-06-25 16:29:41 --- Created an attachment (id=22020) --> (http://bugs.winehq.org/attachment.cgi?id=22020) simple test
this simple test shows that full path is indeed resolved in ShellExecuteW.
The zipfile contains two files, a.exe and regedit.exe
source for a.exe:
main() { ShellExecuteW(0,L"open",L"regedit.exe",L"",L"c:\windows\system32\",1); }
source for regedit.exe:
main() { printf("something went wrong\n"); }
If you unzip the file somewhere, and run it from there in wine, you get :
something went wrong
If you unzip the file in windows, and run it in windows, you'll see that the "real" regedit is started.
Enough proof for someone to submit the patch from comment #1 i'd say.