http://bugs.winehq.org/show_bug.cgi?id=19385
Marius Marais marius@fireid.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |marius@fireid.com
--- Comment #20 from Marius Marais marius@fireid.com 2010-03-15 04:42:40 --- A few ways of launching Word document "Open source at your company.docx": 1. wine 'C:\Program Files\Microsoft Office\Office12\WINWORD.EXE' "`winepath -w "/home/FFAD/marius/Desktop/Open source at your company.docx"`" 2. Double-clicking 3. wine start /ProgIDOpen Word.Document.12 "/home/FFAD/marius/Desktop/Open source at your company.docx"
With a default install, only 1 works (note the excessive quoting), with 2-3 making Word sound like William Shatner. (3 is used internally when double-clicking.)
Using the Regedit advice above, I changed HKEY_CLASSES_ROOT\Word.Document.12\shell\Open\command(default) from: "C:\Program Files\Microsoft Office\Office12\WINWORD.EXE" /n /dde to "C:\Program Files\Microsoft Office\Office12\WINWORD.EXE" /n /dde "%1" .
Now 1-3 all work.
The same sort of Regedit changes work for Word.Document.8 (doc) and other files that don't open correctly by themselves.
(wine --version => wine-1.1.40)