We help IT Professionals succeed at work.
Get Started

OpenOffice.org 3.3 Silent Install

5,831 Views
Last Modified: 2012-05-12
Okay, this is what I'm trying to do, I want to install OpenOffice 3.3 silently with a batch of other programs included.  I'm trying to add it to my current batch file, but I wrote it seperately at the moment.

This is SUPPOSED to install OpenOffice 3.3, then disable the registration wizard, and also change Writer, Calc, and Impress to default save as Word, Excel, and Powerpoint.  However, after it installs, I cannot open the program.  I get the following error.

OpenOffice.org 3.3 - Fatal Error
The application cannot be started.
A general error occured while accessing your central configuration.

Any suggestions please? :)
Title OpenOffice.org Installation

REM Setting variable
set Thumb=c:
if exist "c:\PCS Auto Install.bat" goto Start
set Thumb=D:
if exist "D:\PCS Auto Install.bat" goto Start
set Thumb=E:
if exist "E:\PCS Auto Install.bat" goto Start
set Thumb=F:
if exist "F:\PCS Auto Install.bat" goto Start
set Thumb=G:
if exist "G:\PCS Auto Install.bat" goto Start
set Thumb=H:
if exist "H:\PCS Auto Install.bat" goto Start
set Thumb=I:
if exist "I:\PCS Auto Install.bat" goto Start
set Thumb=J:
if exist "J:\PCS Auto Install.bat" goto Start
set Thumb=K:
if exist "K:\PCS Auto Install.bat" goto Start
set Thumb=L:
if exist "L:\PCS Auto Install.bat" goto Start
set Thumb=M:
if exist "M:\PCS Auto Install.bat" goto Start
set Thumb=N:
if exist "N:\PCS Auto Install.bat" goto Start
set Thumb=O:
if exist "O:\PCS Auto Install.bat" goto Start
set Thumb=P:
if exist "P:\PCS Auto Install.bat" goto Start
set Thumb=Q:
if exist "Q:\PCS Auto Install.bat" goto Start
set Thumb=R:
if exist "R:\PCS Auto Install.bat" goto Start
set Thumb=S:
if exist "S:\PCS Auto Install.bat" goto Start
set Thumb=T:
if exist "T:\PCS Auto Install.bat" goto Start
set Thumb=U:
if exist "U:\PCS Auto Install.bat" goto Start
set Thumb=V:
if exist "V:\PCS Auto Install.bat" goto Start
set Thumb=W:
if exist "W:\PCS Auto Install.bat" goto Start
set Thumb=X:
if exist "X:\PCS Auto Install.bat" goto Start
set Thumb=Y:
if exist "Y:\PCS Auto Install.bat" goto Start
set Thumb=Z:
if exist "Z:\PCS Auto Install.bat" goto Start
goto end

:Start

echo Install Java?
set /P C=[Y,N]?
if "%C%"=="Y" goto Java
if "%C%"=="y" goto Java
if "%C%"=="N" goto OOo
if "%C%"=="n" goto OOo

:Java
Echo Installing Java
Call "%Thumb%\Programs\OOoSilent\Java\Java 32-bit.exe" /s ADDLOCAL=ALL IEXPLORER=1 MOZILLA=1
echo ]

:OOo
Echo Installing OpenOffice

msiexec /qn /norestart /i %Thumb%\Programs\OOoSilent\OOo\openofficeorg33.msi SETUP_USED=1 ADDLOCAL=ALL

if NOT %PROCESSOR_ARCHITECTURE%==AMD64 goto x86 
set ProFi=C:\Program Files (x86)
goto AMD64
:x86
set ProFi-C:\Program Files
:AMD64

Echo Installing OpenOffice Extension

echo yes | "%ProFi%\OpenOffice.org 3\program\unopkg" add -f -s "%Thumb%\Programs\OOoSilent\Extension\DisableFirstStartWzd_ooo33.oxt"
Echo Copy OpenOffice Configuration files

copy %Thumb%\Programs\OOoSilent\Config\calc.xcd "%ProFi%\OpenOffice.org 3\share\registry\calc.xcd" /Y
copy %Thumb%\Programs\OOoSilent\Config\impress.xcd "%ProFi%\OpenOffice.org 3\share\registry\impress.xcd" /Y
copy %Thumb%\Programs\OOoSilent\Config\writer.xcd "%ProFi%\OpenOffice.org 3\share\registry\writer.xcd" /Y
Pause

Open in new window

Comment
Watch Question
General Factotum
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 2 Answers and 19 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant

An Experts Exchange subscription includes unlimited access to online courses.

Get Started
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE