Sometimes you want to perform a clean reinstallation of OpenOffice.org. No previous settings should be imported from the previous installation. This is not complicated, but it requires one important manual step. First let me explain where the OOo folders are to be found.

The folders

OpenOffice.org occupies two folders with some subfolders on your computer. If you have downloaded a single big OOo file, a third folder is involved.

The download version

If you have downloaded your version, you most possibly have a very big download file in your browser's download directory, and a folder with a name like "OpenOffice.org installation files".

The very big download file has an .exe extension on Windows. It is a self-extracting archive file. You double-click it, and a dialog asks you for the folder where to store the installation files. Later the very big file can be used to archive this version on a backup medium, or you can delete the file.

The "OpenOffice.org installation files" folder should not be deleted, because it contains vital information on the files that get installed. You cannot perform a clean uninstallation of OpenOffice.org if you delete the "OpenOffice.org installation files" folder. --- NOTE: the developer in charge of this mechanism assured me that you can safely delete this whole folder. This is in conflict with my own experience, however. Make your own choice. ---

The setup program

After the self-extracting big archive file has created the "OpenOffice.org installation files" folder it automatically calls the setup program from inside that folder. If you have found OOo on a CD, the setup program is there inside an installation folder.

This setup program displays some dialogs where you can choose the folder and modules to install. To change the default settings, you must select the custom installation.

After setup, you can find the shared files (formerly known as the "network installation" files)

  • on Windows systems in a folder that has a name like C:\Program Files\OpenOffice.org

  • on Linux systems that folder may be located in /opt/openoffice.org

(normally, the version number of OpenOffice.org is a part of that folder names)

All users that want to run OOo should have "read and execute" permissions for these files, but only the administrator should have "write" permissions.

The setup program also installs a desktop integration, either for you or for all users on the machine. This essentially means there are some links in your Start menu that call the programs from the "network installation/programs" folder.

Now, when you or any user starts an executable program file of OOo the first time, the Welcome dialog is displayed. Accept the license and continue through the dialog pages. At the end of this stage, the "profile" folder from the shared "network installation" folder will be automatically copied to your home folder and renamed to "user".

  • On Linux systems, you now have a hidden folder like ~/.openoffice.org/user

  • On Windows XP systems, this is the folder C:\Documents und Settings\your_name\Application data\OpenOffice.org\user

  • On Windows Vista systems, this is the folder C:\Users\your_name\AppData\Roaming\OpenOffice.org\user

(add the version number to the OpenOffice.org folder name)

You may need to enable viewing hidden and system files to be able to see this folder.

Clean removal of all config files

So, after this long explanation, you know some facts about the file structure of OOo on your system. Now I can tell you the trick and give you a tip - this is the OOo Tips and Tricks blog, isn't it?

The trick is this: when an administrator with write permissions to the "network installation" files starts a deinstallation, this only removes the "network installation" files. All the "user" folders of all users are still there. These folders contain the customized configuration that the users have set up, among other files like custom wordbooks, custom autotexts, and much more.

This means if there might be some problem with the user configuration, that uninstalling and reinstalling will not help at all. The user configuration gets not changed by a reinstallation. At least this is true for small upgrades from one developer snapshot to the next. There may be some changes when you install a new release version to the same network folder as the old version. But normally this would not happen, because release versions have different folder names for the "network installation" folder.

So here is the tip: the right way to perform a clean reinstallation, deleting all existing user settings from previous versions, is as follows:

  1. First, as an administrator, uninstall the "network installation" files.

  2. Then delete the "user" folder from the user's home directory, as stated above. If you do not want a clean reinstallation, do not touch this user folder.

  3. Then remove the "OpenOffice.org installation files" folder if it exists.

  4. Now the admin can perform an installation of the new "network installation" folder, and every user can start OOo again to automatically copy the "profile" folder to the "user" folder.

After a clean install, every user must set all the personal settings again. Documents that have been saved to other folders are still there, of course.



Comments:

Hi
Thank you for a very clear and easy to follow uninstall/reinstall/upgrade set of instructions.
I have one small question though. If I want to do a clean Windows XP uninstall are there any registry files that I ought to consider removing?
Thanks

Posted by Alan on January 06, 2009 at 05:30 PM CET #

You don't need to remove any other files than the user folder as mentioned in the blog. If you really want to know what happens to the Windows registry, then start regedit, export everything to a file, install OOo, then export again and do a diff.
Then uninstall OOo and do the same export and diff. If you really need to know ...

Posted by ufi on January 06, 2009 at 06:06 PM CET #

my sister ion law has this and has the bug in the 1.* version. Will installing 3.0 delete the files she can't access OR will this fix the problem. Problem being "Get Storage: "No Content"
Thanks

Posted by tED on January 23, 2009 at 06:13 AM CET #

You can find solutions to the "Get Storage No Content" bug if you enter that message plus "ooo" to Google. For example, this link: http://wiki.services.openoffice.org/wiki/Documentation/FAQ/General/How_do_I_fix_the_internal_error,_Get_Storage:_No_Content%3F
Deleting the user folder should solve that problem, but you lose all user settings and have to re-enter them.
Installing OOo2 or OOo3 will not help in this case because they create their own user folders. Which means you can install and use all three main versions at the same time. Although it is highly recommended to use only OOo3 because of fixed issues.

Posted by Ufi on January 23, 2009 at 10:01 AM CET #

I have Open Office 2.8. I downloaded 3.0 without removing 2.8, because I wasn't sure what would happen to any documents I had saved on 2.8. I feel like I need to remove 2.8. Should I start all over, delete 2.8, then add 3.0? Will my saved documents still be accessible? Thanks.

Posted by dee wright on February 21, 2009 at 08:58 PM CET #

I have Open Office 2.8. I downloaded 3.0 without removing 2.8, because I wasn't sure what would happen to any documents I had saved on 2.8. I feel like I need to remove 2.8. Should I start all over, delete 2.8, then add 3.0? Will my saved documents still be accessible? Thanks.

Posted by dee wright on February 21, 2009 at 08:59 PM CET #

It is safe to install a 3.x together with a 2.x version. They can co-exist. When you install 3.x, it will ask whether to clone your 2.x settings into 3.x. Remove 2.x later if you want.

Posted by ufi on February 23, 2009 at 10:45 AM CET #

I have downloaded OpenOffice. 3.0.1 when I had the 3.0.0 version. Do I need to delete the previous version ?

Posted by Lodh on May 05, 2009 at 03:43 PM CEST #

I have both version 1.1.3 and 2.1 installed and operating on my computer, OS is windowsXP. The remove program list does not list the 1.1.3 version (it does list 2.1). I would like to delete the 1.1.3 version. What is a safe way to delete 1.1.3 without losing documents? It would be nice to know in case I upgrade to the latest open office suite later on.

Posted by Ed Hanson on May 13, 2009 at 09:56 PM CEST #

So, I am attempting to load in the newest version, 3.1, and the installation appears to get stuck when trying to find the installation files for the previous version.

I have also tried to uninstall the previous version myself through the Windows uninstall function and this will not work, as a window pops up looking for - C:\Users\John\Desktop\OpenOffice.org 2.4 (en-US) Installation Files\. This file does not exist, I must have deleted it after installing the 2.4 version.

Seems like an odd automatic action for the install software, to automatically place install files on the desktop, and then assume people will just leave it there after the install. Most other software installs place the install files in a file under programs, where it can remain.

So, now what? Can I just delete the files without doing an uninstall?

Still stuck after wasting time!

John

Posted by John on June 23, 2009 at 04:29 AM CEST #

I have the same problem as John except I'm going from 3.0 to 3.1 and I no longer have the 3.0 .msi file. I tried uninstalling 3.0 but that didnt work.

Posted by jeff on July 17, 2009 at 09:43 PM CEST #

The unzipped files in the folder on your desktop are not necessary for uninstalling a Windows version of OOo.

If removing OOo using the Control Panel does not work, use a 'regcleaner' or 'Windows Installer CleanUp Utility'. Be careful not to remove other important entries or files.

Normally, after a system restart, you can then delete the Program files\OOo folder.

Posted by Ufi on July 20, 2009 at 02:27 PM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed

This blog copyright 2009 by fpe