Comment 3 for bug 243390

Revision history for this message
In , Bammzilla-a (bammzilla-a) wrote :

To reproduce:

1) Start with a clean .wine profile just to make sure (delete .wine and run wineprefixcreate)

2) Install Microsoft Office Word Viewer 2003. Installation should succeed without problems.

3) Create a shortcut in KMenu (in KDE) or Applications menu (in Gnome). The command should look similar to this:

env WINEPREFIX="/home/bamm/.wine" wine "C:\Program Files\Microsoft Office\OFFICE11\WORDVIEW.EXE"

depending, of course, on the installation path you selected, and label it Microsoft Office Word Viewer 2003 (or whatever you please).

Note that this step may be unneccessary because Wine may have already created this shortcut for you.

4) Associate *.doc files (application/msword) with the Microsoft Office Word Viewer 2003.

5) Double click on a *.doc file. Word Viewer opens but the document does not open.

==

Analysis:

It seems the wrong path to the document is sent to Word Viewer. To test this, replace wordview.exe with a script that displays the full path name.

You can see this problem without actually associating *.doc files with the viewer. In my desktop you can right-click on a *.doc file, select Open With, choose Other, then browse to the shortcut you created in Step 3. The result is the same; Word Viewer opens but the document is not loaded.