[Bug 21217] New: Menu item for "Visual C++ 2005 Express Command Prompt" busted

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Jan 1 13:46:26 CST 2010


           Summary: Menu item for "Visual C++ 2005 Express Command Prompt"
           Product: Wine
           Version: 1.1.35
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Keywords: download
          Severity: normal
          Priority: P2
         Component: -unknown
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: dank at kegel.com

Installing Visual C++ 2005 Express with winetricks works great:
  wget kegel.com/wine/winetricks
  sh winetricks vc2005express
but the menu item it installs in
Applications / Wine / Programs / Visual C++ 2005 Express Edition / Visual
Studio Tools / Visual Studio 2005 Command Prompt 
doesn't work.  When you try it, Gnome gives the error

Text ended before matching quote was found for ". (The text was 'env
WINEPREFIX="/home/dank/.wine" wine "C:\windows\command\start.exe"
"C:\windows\temp\SIT13762.tmp\Visual Studio 2005 Command Promptomspec /k
""C:\Program Files\Microsoft Visual S udio 8\VC\vcvarsall.bat"" x86')

That menu item is stored in

~/"./share/applications/wine/Programs/Visual C++ 2005 Express Edition/Visual
Studio Tools/Visual Studio 2005 Command Prompt.desktop"

which contains the line

Exec=env WINEPREFIX="/home/dank/.wine" wine "C:\\windows\\command\\start.exe"
"C:\\windows\\temp\\SIT13762.tmp\\%comspec%" /k ""C:\\Program Files\\Microsoft
Visual S udio 8\\VC\\vcvarsall.bat"" x86

which looks broken in several ways: 
first, there's a space instead of a t in Visual Studio 8;
second, the double quotes around vcvarsall.bat look suspicious;
third, the whole "C:\\windows\\temp\\SIT13762.tmp\\%comspec%" bit looks just
wrong, that should just be cmd, shouldn't it?

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