Issue 19071 - OpenOffice not listed in 'Open With' for DOC files
Summary: OpenOffice not listed in 'Open With' for DOC files
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: Installation
Classification: Application
Component: code (show other issues)
Version: OOo 1.1 RC3
Hardware: PC Windows XP
: P4 Trivial (vote)
Target Milestone: ---
Assignee: Olaf Felka
QA Contact: issues@installation
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-04 17:01 UTC by Unknown
Modified: 2003-09-16 11:11 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2003-09-04 17:01:35 UTC
I have OOo_1.1Beta installed to c:\ProgramFiles\OpenOffice. I un-installed 
that version before installing 1.1 RC3. I installed RC3 to 
E:\ProgramFiles\OpenOffice. I choose not to make OOo the default program for 
opening any files other than OOo files. After installation, when right-
clicking on a .DOC file OpenOffice.org was not listed in the 'Open With' menu. 
I was able to get it listed by making the following changes to the registry:

1> Add a new key:
    [HKEY_CLASSES_ROOT\.doc\OpenWithList\SOffice.exe]

2> Add two new keys
[HKEY_CLASSES_ROOT\Applications\soffice.exe\shell\Open]
[HKEY_CLASSES_ROOT\Applications\soffice.exe\shell\Open\command]

3> change the (default) value for 
HKEY_CLASSES_ROOT\Applications\soffice.exe\shell\Open\command:
@="\"E:\\Program Files\\OpenOffice\\program\\soffice.exe\" -o \"%1\""

4> change the (default) value for 
HKEY_CLASSES_ROOT\Applications\soffice.exe\shell\edit\command:
@="\"E:\\Program Files\\OpenOffice\\program\\soffice.exe\" -o \"%1\""
 >> It was set to "C:\Program...". I'm not sure if that was left over from the 
prior installation and not replaced, or if it was added wrong on the new 
installation. <<

5> Change the (default) value at:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{82
154420-0FBF-11d4-8313-005004526AB4}\LocalServer32]
from "C:\Program..." to "E:\Program..."

>>@="C:\\Program Files\\OpenOffice\\program\\soffice.exe -nodefault -nologo"<<

I suspect that step 1 and 4 are the keys to resolving this issue.
Comment 1 Rainer Bielefeld 2003-09-04 18:12:15 UTC
Hi Reporter,

I can't see any problem.
During installation, you selected "OOo not standard application for
.DOC". and so OOo was not the standard application for .DOC.

What's the problem here?

Rainer
Comment 2 Olaf Felka 2003-09-05 09:04:55 UTC
I can't reproduce with RC4: I've checked the M$ file association at
setup to OOo. Klicking on a *.doc raises OOo 1.1.0 with the document open.
Comment 3 Unknown 2003-09-05 14:57:11 UTC
Okay, I just finished trying to re-produce this on another system. 
It looks like this was related to the uninstall of the beta of OOo. 
I had 1.0.2 installed on another machine. I uninstalled it. Then 
installed OOo 1.1 RC3. I choose the same settings - not to associate 
by default. There was no registry key for 
[HKEY_CLASSES_ROOT\Applications\soffice.exe]. I then selected a word 
DOC and chose 'Open With', then 'Choose Program...' I selected 
OpenOffice.org 1.1.0 . Then when I went back and selected the Doc 
file and 'Open With' OpenOffice.Org 1.1.0 was listed there as I 
expected.
These were the keys that were added after that:
   [HKEY_CLASSES_ROOT\Applications\soffice.exe]
   [HKEY_CLASSES_ROOT\Applications\soffice.exe\shell]
   [HKEY_CLASSES_ROOT\Applications\soffice.exe\shell\edit]
   [HKEY_CLASSES_ROOT\Applications\soffice.exe\shell\edit\command]
   @="\"D:\\Program Files\\OpenOffice\\program\\soffice.exe\" -o \"%1
\""

The path to the executable was correct on this machine, where it 
wasn't on the prior machine. I did un-install different version from 
both prior to installing RC3.

I suspect that the issues has to do with the registry key 
[HKEY_CLASSES_ROOT\Applications\soffice.exe] not being cleared out 
after un-installing the beta for 1.1 and probably won't be an issue 
with RC3.
I'm satisfied that this is a non-issue and can be closed.
Comment 4 Olaf Felka 2003-09-16 11:11:34 UTC
Done