OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Issues & questions with silent install of OpenOffice 3.3

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> Setup and Troubleshooting
View previous topic :: View next topic  
Author Message
Botis
General User
General User


Joined: 04 Oct 2010
Posts: 13

PostPosted: Thu Jan 27, 2011 8:32 am    Post subject: Issues & questions with silent install of OpenOffice 3.3 Reply with quote

Hi,

One absolutely crucial thing for administrators is to have a possibility to install Openoffice on remote machines in a way that
* is silent: without any user interaction, popups, registrations or by the user, etc
* can be automated: it does not require a gui but can be triggered and configured via command-line, so that it can be triggered by a program
* is modular: the administrator can choose to _not_ install parts that are not required or not wanted - or to install additional extensions
* is shared (multi-user, not just one)

OpenOffice does/did have a system that mostly fit these requirements, via msiexec and unopkg (method and references outlined farther down below)
on linux, much of this is easier through the package managers (at least if your distribution is explicitely supported),
but on windows, there are a couple issues (the following is about the Windows case):

* In OpenOffice 3.3, an attempt to install via msiexec like many admins did up to OO3.2.1 leads to a popup window saying:
"Please use the file setup.exe to start the installation"
and abort. as it turns out, calling setup.exe [my cmdline args]
leads to a spawned call of C:\Windows\SysWOW64\\msiexec.exe SETUP_USED=1 /I "C:\path\to\oo\install\files\openofficeorg33.msi" [my cmdline args]
the problem is that even with /qn in the command-line args, this isn't really silent. There are two popups (that disappear immediately, so that i coulnd't even read them)
what does work fine though is using msiexec directly like before, but with SETUP_USED=1 added in the command line args.
But i feel kinda weird about this. Does setup.exe do something important _before_ calling msiexec or why would they try to prevent people from directly using msiexec ?
does anyone know more about this?

the rest of the question relates to issues that i also have with versions before 3.3 (e.g. with 3.2.1):

* even a fully quiet uninstall leads to the user's browser opening an uninstallation survey somewhere at http://surveys.services.openoffice.org
is there any way to disable that??

* while the normal (interactive) install gives the choice to add a shortcut icon on the desktop (or not), i do not see how to prevent that shortcut icon from being installed in the case of the silent install via msiexec.
i found one page [5] where someone suggests getting rid of this icon afterwards with
del "C:\Documents and Settings\All USers\Desktop\OpenOffice.org 3.2.lnk"
(that would be for win xp? for win 7 it would probably look more like this):
del "C:\Users\Public\Desktop\OpenOffice.org 3.2.lnk"
but in any case, deleting it afterwards is clearly _not_ as good as to prevent it from appearing in the first place.
does anyone know of a way to do that?

ok that's all for the questions. the following is for reference:
-------------
Method used for a silent install of OpenOffice:
here's what I do (or a program or script of mine for that matter)
1. download the localized non-jre version of openoffice for your language
(unfortunately, for some localizations, getting a nojre version might be the first prob)
2. extract that exe file (e.g. with 7zip)
3. from within a folder with the extracted files, run
msiexec /qn /norestart /i openofficeorg33.msi SETUP_USED=1 ADDLOCAL=All REMOVE=gm_o_Winexplorerext,gm_o_Activexcontrol,gm_o_Pyuno,gm_o_Xsltfiltersamples,gm_o_Testtool,gm_o_Javafilter,gm_o_Onlineupdate
4. remove the desktop shortcut icon (actual file location depends on your windows version):
del "C:\Users\Public\Desktop\OpenOffice.org 3.3.lnk"
5. Deactivating the OpenOffice.org Registration Wizard, get the extension from link in [3]
"c:\Program Files (x86)\OpenOffice.org 3\program\unopkg.com" add --shared DisableFirstStartWzd_ooo321.oxt
6. install whatever other extensions your users need like in 5.
7. change Logo=1 to Logo=0 in C:\Program Files (x86)\OpenOffice.org 3\Program\soffice.ini
8. done. the user (or your application specific program on the user's machine) can start OpenOffice

On 32-bit windows systems, it's "C:\Program Files" instead of "C:\Program Files (x86)"
similar silent install instructions (with a couple differences) are in [1], [5], [7] and for older versions: [4]
-----
References and pages related to the subject:
[1] Create an unattended / silent install of OpenOffice.org 3
http://user.services.openoffice.org/en/forum/viewtopic.php?f=74&t=28765&start=0
[2] msiexec command line ref:
http://technet.microsoft.com/en-us/library/cc759262%28WS.10%29.aspx
[3] getting rid of first start wizard:
http://wiki.services.openoffice.org/wiki/Documentation/Administration_Guide/Deactivating_Registration_Wizard
[4] old doc, but might still be relevant for oo-specific msiexec properties:
http://wiki.services.openoffice.org/wiki/Documentation/How_Tos/Automatic_Installation_on_Windows
[5] a script for a silent install, also deletes desktop shortcut
http://www.petri.co.il/forums/showthread.php?t=52715
[6] list of submodules?:
http://www.oooforum.org/forum/viewtopic.phtml?t=95885
[7] http://wpkg.org/OpenOffice.org_3.x
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> Setup and Troubleshooting All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group