Difference between revisions of "OpenOffice.org 3.x"
(Complaint about Sun releasing only installers with JRE included for many non-US localizations.) |
|||
| Line 40: | Line 40: | ||
Sun please release a "without Java JRE" installer for non-US localizations. | Sun please release a "without Java JRE" installer for non-US localizations. | ||
| + | == File types associations == | ||
| + | Since Ooo does not configure file types other than ODF to be opened by default in Ooo I've created a registry file to set it (it has to be added for each user of the computer, so if you install Ooo as admin and have other users working consider adding batch script to 'All users'->'autostart'. Check [http://wpkg.org/Adding_Registry_Settings WPKG Adding Registry Settings] for details. | ||
| + | |||
| + | <code>registry.reg</code>: | ||
| + | <source lang="reg"> | ||
| + | Windows Registry Editor Version 5.00 | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ppsx] | ||
| + | "Application"="simpress.exe" | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ppsx\OpenWithList] | ||
| + | "a"="simpress.exe" | ||
| + | "MRUList"="ba" | ||
| + | "b"="soffice.bin" | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ppsx\OpenWithProgids] | ||
| + | "PowerPoint.SlideShow.12"=hex(0): | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pptx] | ||
| + | "Progid"="OpenOffice.org.Pptx" | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pptx\OpenWithList] | ||
| + | "a"="simpress.exe" | ||
| + | "MRUList"="ba" | ||
| + | "b"="soffice.bin" | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pptx\OpenWithProgids] | ||
| + | "PowerPoint.Show.12"=hex(0): | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ppt] | ||
| + | "Progid"="OpenOffice.org.Ppt" | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ppt\OpenWithList] | ||
| + | "a"="soffice.bin" | ||
| + | "MRUList"="ab" | ||
| + | "b"="simpress.exe" | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ppt\OpenWithProgids] | ||
| + | "PowerPoint.Show.8"=hex(0): | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.rtf] | ||
| + | "Progid"="OpenOffice.org.Rtf" | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.rtf\OpenWithList] | ||
| + | "a"="WORDPAD.EXE" | ||
| + | "MRUList"="ba" | ||
| + | "b"="soffice.bin" | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.rtf\OpenWithProgids] | ||
| + | "rtffile"=hex(0): | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pps] | ||
| + | "Progid"="OpenOffice.org.Pps" | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pps\OpenWithList] | ||
| + | "a"="soffice.bin" | ||
| + | "MRUList"="a" | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pps\OpenWithProgids] | ||
| + | "PowerPoint.SlideShow.8"=hex(0): | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.docx] | ||
| + | "Progid"="OpenOffice.org.Docx" | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.docx\OpenWithList] | ||
| + | "a"="soffice.bin" | ||
| + | "MRUList"="a" | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.docx\OpenWithProgids] | ||
| + | "Word.Document.12"=hex(0): | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.docm] | ||
| + | "Progid"="OpenOffice.org.Docm" | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.docm\OpenWithList] | ||
| + | "a"="soffice.bin" | ||
| + | "MRUList"="a" | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.docm\OpenWithProgids] | ||
| + | "Word.Document.12"=hex(0): | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xlsx] | ||
| + | "Progid"="OpenOffice.org.Xlsx" | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xlsx\OpenWithList] | ||
| + | "a"="soffice.bin" | ||
| + | "MRUList"="a" | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xlsx\OpenWithProgids] | ||
| + | "Excel.Sheet.12"=hex(0): | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xlsm] | ||
| + | "Progid"="OpenOffice.org.Xlsm" | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xlsm\OpenWithList] | ||
| + | "a"="soffice.bin" | ||
| + | "MRUList"="a" | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xlsm\OpenWithProgids] | ||
| + | "Excel.Sheet.12"=hex(0): | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.otg] | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.otg\OpenWithList] | ||
| + | "a"="soffice.bin" | ||
| + | "MRUList"="ba" | ||
| + | "b"="soffice.exe" | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.otg\OpenWithProgids] | ||
| + | "opendocument.DrawTemplate.1"=hex(0): | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.doc] | ||
| + | "Progid"="OpenOffice.org.Doc" | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.doc\OpenWithList] | ||
| + | "a"="soffice.bin" | ||
| + | "MRUList"="a" | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.doc\OpenWithProgids] | ||
| + | "Word.Document.8"=hex(0): | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xls] | ||
| + | "Progid"="OpenOffice.org.Xls" | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xls\OpenWithList] | ||
| + | "a"="soffice.bin" | ||
| + | "MRUList"="a" | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xls\OpenWithProgids] | ||
| + | "Excel.Sheet.8"=hex(0): | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.odp] | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.odp\OpenWithList] | ||
| + | "a"="soffice.bin" | ||
| + | "MRUList"="a" | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.odp\OpenWithProgids] | ||
| + | "opendocument.ImpressDocument.1"=hex(0): | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.otp] | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.otp\OpenWithList] | ||
| + | "a"="soffice.exe" | ||
| + | "MRUList"="a" | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.otp\OpenWithProgids] | ||
| + | "opendocument.ImpressTemplate.1"=hex(0): | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.odt] | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.odt\OpenWithList] | ||
| + | "a"="soffice.bin" | ||
| + | "MRUList"="a" | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.odt\OpenWithProgids] | ||
| + | "opendocument.WriterDocument.1"=hex(0): | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ott] | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ott\OpenWithList] | ||
| + | "a"="soffice.exe" | ||
| + | "MRUList"="a" | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ott\OpenWithProgids] | ||
| + | "opendocument.WriterTemplate.1"=hex(0): | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.odg] | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.odg\OpenWithList] | ||
| + | "a"="soffice.bin" | ||
| + | "MRUList"="a" | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.odg\OpenWithProgids] | ||
| + | "opendocument.DrawDocument.1"=hex(0): | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ods] | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ods\OpenWithList] | ||
| + | "a"="soffice.bin" | ||
| + | "MRUList"="a" | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ods\OpenWithProgids] | ||
| + | "opendocument.CalcDocument.1"=hex(0): | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ots] | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ots\OpenWithList] | ||
| + | "a"="soffice.exe" | ||
| + | "MRUList"="a" | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ots\OpenWithProgids] | ||
| + | "opendocument.CalcTemplate.1"=hex(0): | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.odb] | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.odb\OpenWithList] | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.odb\OpenWithProgids] | ||
| + | "opendocument.DatabaseDocument.1"=hex(0): | ||
| + | |||
| + | </source> | ||
| + | |||
| + | My batch script looks like this (I'm sure it could be done better, but it works fine) Of course xcopy command needs to have one exported profile, just run Ooo, configure it and copy created files to a network location. | ||
| + | <source lang="dos"> | ||
| + | if not exist "%APPDATA%\OpenOffice.org\3" regedit "/S \\server_name\software\OpenOffice.org3pl"\user_profile\ooo3.reg | ||
| + | if not exist "%APPDATA%\OpenOffice.org\3" xcopy "\\server_name\Software\OpenOffice.org3pl\user_profile" "%APPDATA%" /Y /E | ||
| + | |||
| + | |||
| + | </source> | ||
| + | |||
| + | If someone has already Microsoft Office 2003 or 2007 and want to use Ooo, but doesn't want it to take over his MS files extensions try this: | ||
| + | <source lang="dos"> | ||
| + | if not exist "%PROGRAMFILES%\Microsoft Office\OFFICE12\winword.exe" | ||
| + | (if not exist "%PROGRAMFILES%\Microsoft Office\OFFICE11\winword.exe" | ||
| + | (if exist "%PROGRAMFILES%\OpenOffice.org 3" | ||
| + | (if not exist "%APPDATA%\OpenOffice.org\3" | ||
| + | regedit /S "\\_server_name\software\Office\OpenOffice.org3pl\user_profile\ooo3.reg"))) | ||
| + | |||
| + | if not exist "%PROGRAMFILES%\Microsoft Office\OFFICE12\winword.exe" | ||
| + | (if not exist "%PROGRAMFILES%\Microsoft Office\OFFICE11\winword.exe" | ||
| + | (if exist "%PROGRAMFILES%\OpenOffice.org 3" | ||
| + | (if not exist "%APPDATA%\OpenOffice.org\3" | ||
| + | xcopy "\\server_name\Software\OpenOffice.org3pl\user_profile" "%APPDATA%" /Y /E))) | ||
| + | </source> | ||
[[category:Silent Installers]] | [[category:Silent Installers]] | ||
Revision as of 12:56, 21 October 2008
This is a silent installer and uninstaller for OpenOffice.org 3.
Download the installer http://download.openoffice.org/, unpack files to a local directory, customize with Microsoft ORCA tool if needed, and upload to your software source repository the following files:
licenses/
readmes/
instmsia.exe
instmsiw.exe
ooo300.mst # Microsoft Transform File created by you with the ORCA tool, this is not necessary
openofficeorg1.cab
openofficeorg30.msi
setup.exe
setup.ini # this file contains the numeric ID you need for uninstallation, {85F0337D-33AC-43B4-A003-DF35061F1D8D} in case of italian localized version
This example is for the italian localization, and associates OpenOffice as the default program for DOC, XLS and PPT files. Please update when the final will be released, adapt to your localizations, and change file associations to your needs.
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package id="openoffice300-ita" name="OpenOffice.org 3.0.0 italian" revision="1" reboot="false" priority="0">
<check type="uninstall" condition="exists" path="OpenOffice.org 3.0" />
<install cmd='msiexec /qn /i "%SOFTWARE%\ooo300-ita\openofficeorg30.msi" TRANSFORMS=%SOFTWARE%\ooo300-ita\ooo300.mst ALLUSERS=1 SELECT_WORD=1 SELECT_EXCEL=1 SELECT_POWERPOINT=1' />
<upgrade cmd='msiexec /qn /i "%SOFTWARE%\ooo300-ita\openofficeorg30.msi" TRANSFORMS=%SOFTWARE%\ooo300-ita\ooo300.mst ALLUSERS=1 SELECT_WORD=1 SELECT_EXCEL=1 SELECT_POWERPOINT=1' />
<remove cmd='msiexec /qn /x {85F0337D-33AC-43B4-A003-DF35061F1D8D}' />
</package>
</packages>
Seems to reboot the system despite the reboot="false" option when Quickstart is already loaded (ie: execute wpkg-start.bat explicitly or manual restart the WPKGSrv).
Poor availability of installer without JRE
Beware that for many non-US localizations, italian included, OpenOffice.org installer is not available in the "without Java JRE" version. As a side effect, a "with Java JRE" is so bad behaved that it does create a directory %PROGRAMFILES%\JRE\ and copy the JRE installer "jre-6u7-windows-i586-p.exe" in it, even if you specified in the Microsoft Transform that JRE is not to be installed. Uninstallation then cleanly removes this directory, however this is a waste of resources and a waste of time.
Sun please release a "without Java JRE" installer for non-US localizations.
File types associations
Since Ooo does not configure file types other than ODF to be opened by default in Ooo I've created a registry file to set it (it has to be added for each user of the computer, so if you install Ooo as admin and have other users working consider adding batch script to 'All users'->'autostart'. Check WPKG Adding Registry Settings for details.
registry.reg:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ppsx]
"Application"="simpress.exe"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ppsx\OpenWithList]
"a"="simpress.exe"
"MRUList"="ba"
"b"="soffice.bin"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ppsx\OpenWithProgids]
"PowerPoint.SlideShow.12"=hex(0):
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pptx]
"Progid"="OpenOffice.org.Pptx"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pptx\OpenWithList]
"a"="simpress.exe"
"MRUList"="ba"
"b"="soffice.bin"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pptx\OpenWithProgids]
"PowerPoint.Show.12"=hex(0):
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ppt]
"Progid"="OpenOffice.org.Ppt"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ppt\OpenWithList]
"a"="soffice.bin"
"MRUList"="ab"
"b"="simpress.exe"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ppt\OpenWithProgids]
"PowerPoint.Show.8"=hex(0):
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.rtf]
"Progid"="OpenOffice.org.Rtf"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.rtf\OpenWithList]
"a"="WORDPAD.EXE"
"MRUList"="ba"
"b"="soffice.bin"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.rtf\OpenWithProgids]
"rtffile"=hex(0):
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pps]
"Progid"="OpenOffice.org.Pps"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pps\OpenWithList]
"a"="soffice.bin"
"MRUList"="a"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pps\OpenWithProgids]
"PowerPoint.SlideShow.8"=hex(0):
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.docx]
"Progid"="OpenOffice.org.Docx"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.docx\OpenWithList]
"a"="soffice.bin"
"MRUList"="a"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.docx\OpenWithProgids]
"Word.Document.12"=hex(0):
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.docm]
"Progid"="OpenOffice.org.Docm"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.docm\OpenWithList]
"a"="soffice.bin"
"MRUList"="a"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.docm\OpenWithProgids]
"Word.Document.12"=hex(0):
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xlsx]
"Progid"="OpenOffice.org.Xlsx"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xlsx\OpenWithList]
"a"="soffice.bin"
"MRUList"="a"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xlsx\OpenWithProgids]
"Excel.Sheet.12"=hex(0):
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xlsm]
"Progid"="OpenOffice.org.Xlsm"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xlsm\OpenWithList]
"a"="soffice.bin"
"MRUList"="a"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xlsm\OpenWithProgids]
"Excel.Sheet.12"=hex(0):
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.otg]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.otg\OpenWithList]
"a"="soffice.bin"
"MRUList"="ba"
"b"="soffice.exe"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.otg\OpenWithProgids]
"opendocument.DrawTemplate.1"=hex(0):
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.doc]
"Progid"="OpenOffice.org.Doc"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.doc\OpenWithList]
"a"="soffice.bin"
"MRUList"="a"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.doc\OpenWithProgids]
"Word.Document.8"=hex(0):
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xls]
"Progid"="OpenOffice.org.Xls"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xls\OpenWithList]
"a"="soffice.bin"
"MRUList"="a"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xls\OpenWithProgids]
"Excel.Sheet.8"=hex(0):
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.odp]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.odp\OpenWithList]
"a"="soffice.bin"
"MRUList"="a"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.odp\OpenWithProgids]
"opendocument.ImpressDocument.1"=hex(0):
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.otp]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.otp\OpenWithList]
"a"="soffice.exe"
"MRUList"="a"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.otp\OpenWithProgids]
"opendocument.ImpressTemplate.1"=hex(0):
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.odt]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.odt\OpenWithList]
"a"="soffice.bin"
"MRUList"="a"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.odt\OpenWithProgids]
"opendocument.WriterDocument.1"=hex(0):
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ott]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ott\OpenWithList]
"a"="soffice.exe"
"MRUList"="a"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ott\OpenWithProgids]
"opendocument.WriterTemplate.1"=hex(0):
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.odg]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.odg\OpenWithList]
"a"="soffice.bin"
"MRUList"="a"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.odg\OpenWithProgids]
"opendocument.DrawDocument.1"=hex(0):
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ods]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ods\OpenWithList]
"a"="soffice.bin"
"MRUList"="a"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ods\OpenWithProgids]
"opendocument.CalcDocument.1"=hex(0):
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ots]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ots\OpenWithList]
"a"="soffice.exe"
"MRUList"="a"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ots\OpenWithProgids]
"opendocument.CalcTemplate.1"=hex(0):
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.odb]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.odb\OpenWithList]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.odb\OpenWithProgids]
"opendocument.DatabaseDocument.1"=hex(0):
My batch script looks like this (I'm sure it could be done better, but it works fine) Of course xcopy command needs to have one exported profile, just run Ooo, configure it and copy created files to a network location.
if not exist "%APPDATA%\OpenOffice.org\3" regedit "/S \\server_name\software\OpenOffice.org3pl"\user_profile\ooo3.reg
if not exist "%APPDATA%\OpenOffice.org\3" xcopy "\\server_name\Software\OpenOffice.org3pl\user_profile" "%APPDATA%" /Y /E
If someone has already Microsoft Office 2003 or 2007 and want to use Ooo, but doesn't want it to take over his MS files extensions try this:
if not exist "%PROGRAMFILES%\Microsoft Office\OFFICE12\winword.exe"
(if not exist "%PROGRAMFILES%\Microsoft Office\OFFICE11\winword.exe"
(if exist "%PROGRAMFILES%\OpenOffice.org 3"
(if not exist "%APPDATA%\OpenOffice.org\3"
regedit /S "\\_server_name\software\Office\OpenOffice.org3pl\user_profile\ooo3.reg")))
if not exist "%PROGRAMFILES%\Microsoft Office\OFFICE12\winword.exe"
(if not exist "%PROGRAMFILES%\Microsoft Office\OFFICE11\winword.exe"
(if exist "%PROGRAMFILES%\OpenOffice.org 3"
(if not exist "%APPDATA%\OpenOffice.org\3"
xcopy "\\server_name\Software\OpenOffice.org3pl\user_profile" "%APPDATA%" /Y /E)))