http://bugs.winehq.org/show_bug.cgi?id=18089
Igor Tarasov tarasov.igor@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |UNCONFIRMED Resolution|INVALID |
--- Comment #19 from Igor Tarasov tarasov.igor@gmail.com 2009-05-22 14:39:05 --- Reopen this bug, as I've finally took time to write simple test application and to get enough data to prove that the problem exists.
There are two files in the attached archive: pathtest.exe and pathtest.reg. The first one should be copied to C:\Program Files directory and the second one should be imported into registry. Then you can start testing.
Here are tests:
tests:
1. In cmd: start pathtest Windows: start launches new cmd window and the path is: =PATH TEST=;C:\WINDOWS\systtem32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
Wine: start can't find our program: Application could not be started, or no application associated with the specified file. ShellExecuteEx failed: File not found
2. In cmd: start pathtest.exe Windows: exactly as with test #1.
Wine: in new cmd window: Current path is: C:\windows\system32;C:\windows;=PATH TEST=
3. Using explorer.exe locate file and double-click it. Windows: again, does EXACTLY as the above, that is it DOES use Path option from registry and opens new cmd window.
Wine: it does not open new cmd window, but dumps to current shell: Current path is: C:\windows\system32;C:\windows
That is it does not use Path parameter.
So, we see at least four bugs in wine behavior:
1. Wine does not recoginze names without extension 2. Wine appends, not prepends Path value from registry. This might lead to bugs if there are similarly named shared libraries in other folders. 3. Wine does not use Path from registry when it the program is launched from some file manager (winefile or linux filemanager). 4. No new cmd windows for comman-line applications when launched from file manager.
I am pretty sure that his bug is not INVALID, since I know applications that do not start in wine just because of all this.