You have exactly the same idea I had 3 months ago, but at this moment I thought this wouldn't be accepted. And this is so simple to desactivate a builtin app this way when it's not enough complete.
My plan is to integrate that with the loadorder and builtin dll mechanism. So CreateProcess("notepad.exe") would load either the native notepad.exe or the builtin notepad.so transparently depending on your config. And the builtin would pretend to be loaded from c:/windows/system just like dlls, so you wouldn't need to configure a drive for /usr/local/bin (except if you want to launch real Unix binaries from there too).
-- Alexandre Julliard julliard@winehq.com
___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com