LibreOffice silent Installation -Windows




With the release of latest LibreOffice I had to move most of my windows users from old openoffice to new libreoffice.
This turns out very simple with the use of few windows commands.
Here 192.168.3.2\soft_deploy is public share, which is to dump libreoffice installer.

Uninstall OpenOffice

wmic product where name="OpenOffice.org 3.2" call uninstall /nointeractive

Install Libreoffice

msiexec /qn /i \\192.168.3.2\soft_deploy\libre\libre_setup.msi REGISTER_ALL_MSO_TYPES=1

Configuration
If you wish to save all office files with default MS office extensions,
Install libreoffice

Change saving options from –> Tools –> Options –> Load/Save –> General
Change always save as for Text / Spreadsheet / Presentation
This will generate file in below location, which you can use to copy in other machines, to change default save options.

%appdata%\libreoffice\3\user\registrymodifications.xcu

You can save followings as batch to run on other users.

cd %appdata%
cd libreoffice\3\user
xcopy /e /c /y \\192.168.3.2\soft_deploy\libre\config

here registrymodifications.xcu is stored in \\192.168.3.2\soft_deploy\libre\config

You can use following commands to uninstall apps using command prompt

WMIC
product get name
product where name="" call uninstall


if you find any missing point in here, please let us know in comment section or tweet us at @linuxreaders. To get more articles like this, subscribe to our RSS feeds / Mails.
Read 240 articles by

Trending Posts