[Bug 30301] Remove Notepad, WordPad, Internet Explorer, etc

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Mar 30 06:58:08 CDT 2012


http://bugs.winehq.org/show_bug.cgi?id=30301

--- Comment #9 from Eldmannen <Eldmannen+wine at 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.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list