http://bugs.winehq.org/show_bug.cgi?id=30301
--- Comment #9 from Eldmannen Eldmannen+wine@gmail.com 2012-03-30 06:58:08 CDT --- (In reply to comment #8)
(In reply to comment #7)
Symlinks aren't viable? Why not?
Some "smart" windows applications what to call _the_ notepad.exe that is located in c:\windows\system32. Or worse yet, start it, then wrap it's window inside it's own window to do some stuff. This is not possible with native Linux applications.
So, ln -s ~/.wine/drive_c/windows/notepad.exe /usr/bin/gedit Would not work?
Yes, some badly coded applications has the path hardcoded as a string such as "c:\windows\system32\notepad.exe" A better way would be to use environment variables such "%windir%\system32\notepad.exe". Are there any better way than that?
The Wine website or wiki should have a page with guidelines on how to write portable good.