[Solved] Change the User Profile Location

Discuss setup / installation issues - Add a spell checker, Language pack?
Post Reply
sprokofiev
Posts: 7
Joined: Tue Jun 28, 2011 4:47 pm

[Solved] Change the User Profile Location

Post by sprokofiev »

In "[Tutorial] The OOo user profile", I read that it is possible to change the location of the user profile. That's just what I'd like to do, but the tutorial is not entirely clear on how to proceed. I'm running Windows XP, so the current location is C:\Documents and Settings\<me>\Application Data\OpenOffice.org\3\user\. I'd like to change it to something like D:\OpenOffice\user, or maybe D:\OpenOffice\Profile if that is possible.
Last edited by sprokofiev on Fri Apr 27, 2012 8:12 pm, edited 1 time in total.
OOo Version 3.3, Windows XP
User avatar
Hagar Delest
Moderator
Posts: 32655
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Change the User Profile Location

Post by Hagar Delest »

Have you checked that section: Changing the user profile location?
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
sprokofiev
Posts: 7
Joined: Tue Jun 28, 2011 4:47 pm

Re: Change the User Profile Location

Post by sprokofiev »

Yes, I read it, but the Bootstrapping the Configuration link fails, and I don't otherwise know what Bootstrapping the Configuration entails. I gather that once I do that, I can copy the contents of ...user\ to D:\OpenOffice\Profile\, and then change the line in bootstrap.ini from:

UserInstallation=$SYSUSERCONFIG/OpenOffice.org/3
to
UserInstallation=file:///D:/OpenOffice/Profile

Is that right?
OOo Version 3.3, Windows XP
User avatar
Hagar Delest
Moderator
Posts: 32655
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Change the User Profile Location

Post by Hagar Delest »

Seems so. Have you tried?
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
sprokofiev
Posts: 7
Joined: Tue Jun 28, 2011 4:47 pm

Re: Change the User Profile Location

Post by sprokofiev »

Well, now I have. :)

The procedure is simpler than I was led to believe by the tutorial. Basically, the idea is (1) move ...\user\ to wherever you want it, and (2) set bootstrap.ini to reflect this. What could go wrong? Here's a detailed procedure that worked for me, together with some comments.

1. Close any open OpenOffice.org apps.

2. if enabled, disable Quickstart.exe. At Tools Options... OpenOffice.org Memory, uncheck "Load OpenOffice.org during system startup". This is just a safety measure to protect your customization in case you screw up in the steps below.

3. Copy ...\user\ to wherever you want it to be. For example:
copy: C:\Documents and Settings\<me>\Application Data\OpenOffice.org\3\user\
to: D:\OpenOffice\
You can, of course, just move \user\ to the desired location. Copying is prudent.

4. In C:\Program Files\OpenOffice.org 3\program\bootstrap.ini, edit the UserInstallation= line. For example:
change: UserInstallation=$SYSUSERCONFIG/OpenOffice.org/3
to be: UserInstallation=file:///D:/OpenOffice

5. Reboot the system. If Quickstart is disabled, you shouldn't get an error message here. Otherwise,If you get an error message about not finding a file, it's because you screwed up in step 3 or 4. Keep going. If you didn't leave a copy, move \user\ back to it's original location, and restore the UserInstallation= line in bootstrap.ini to it's previous value. Reboot the system to get back to where you started. You may or may not have lost your toolbar and keyboard customization, options, and so forth. Ah well. Painful, but not a disaster. Fix whatever went wrong in steps 3 and 4 and try again.

6. Start OpenOffice.org. The program should start in the normal manner. If the program begins by asking for your name, initials, and so forth, you have screwed up in steps 3 or 4. Don't continue. Cancel to back out of the dialog. Fix the problem and try again (steps 3, 4, 5).

7. Re-enable Quickstart, if desired.
OOo Version 3.3, Windows XP
Post Reply