[Bug 24165] New: Wrongly escaped path in cmdline of desktop icon

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Aug 26 15:17:30 CDT 2010


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

           Summary: Wrongly escaped path in cmdline of desktop icon
           Product: Wine
           Version: 1.3.1
          Platform: x86
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: giulioo at gmail.com


System: Ubuntu 10.04 / Wine 1.3.1 (binary from ppa:ubuntu-wine/ppa)

There's an app (cannot post a link to it) which when installed on Windows will
create a Desktop icon/link with a command line like this
  "C:\Program Files\App\app.exe" "C:\Program Files\App\config.file"

When installing this app on wine-1.1.x all is working properly, meaning a
desktop icon is created with the following command line (I'm omitting ENV...)
  wine "C:\Program Files\App\app.exe" "C:\Program Files\App\config.file"

However, both with wine 1.2 and 1.3.1 there's a problem with the desktop
icon command line, which is now:
  wine C:\\Program Files\\App\\app.exe \"C:\\Program Files\\App\\config.file\"
that is:
- no quotes around the program name
- double back-slashes everywhere
- back-slash before quotes around the config file

Unfortunately this will result in the app starting but not getting the config
file right, and so it will start in "default mode".
To make it work I need to edit the wine icon cmd line, ie changing \" into "
at the beginning and at the end of the config file path.

Note that the link in menu "Wine -> Program Files -> App -> linkname"
is ok, and if I right click on it and choose "add to desktop" the new desktop
icon is ok too because it uses a completely different approach in the cmdline
(uses a command pointing to the .lnk file).

Do you think this is a problem with the app or with the way Wine is now
escaping the paths?

-- 
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