Hello,
We use OO portable for a long time in our office. Since OO 3.1.1 we have a problem.
We use OO portable on the PC an have an central workspace an template folder on the server. After installing OO 3.1.1 - 3.2 we change the path varaibles for workspace and document templates. After closing OO3.2 an restart the software all path changings lost! And the path options was reseted on the basic pathes.
Today i try the new OO 3.2 portable, the problem is the same, after resart all changins lost!
With OO 3.01. portable all runs fine all pathes after a restart was like our settings.
How can I fix the path alternation to our wishes in the later OO versions?
gerreg
... in order to prevent the user to save Data outside the portable installation and leave traces (over the default path settings) on the host system the entries for the user path is mandantory and You are not able to save changes made via Settings-Options (as the way a normal user will do it).
So there is nothing to fix, cause You use the portable version in and unsupported way ;-).
But YOU (!) can change the default user document path settings via an entry
'PortableApps.comDocuments' in the OpenOfficePortable.ini and place it in the folder next OpenOfficePortable.exe. A draft is in every installation in Other\Sources.
If the path exist there should be no reset of the path settings.
Once again: This way is not supported and You use it on Your own risk!
Paid for Software more or less?
What You need is OSS!
Hi Marko,
Ok, this fist change are running fine! Thank you very much!
Can I use the same way to change the pathes for the templates folders?
How is called the paramtere to set the new path in the OpenOfficePortable.ini for the template folders?
No risk, no fun!
... and no need.
If You want to keep Your changes:
*Do all changes to path You want to do
*Close OpenOffice.org Portable
*set the security for all (!)users for the file path.xcu to "Read" (The "ReadOnly" attribute don't work!)
Start OpepenOffice.org again - Your Changes will be alive
PS: Don't forget to remove the security changes if You want to use antother path
Again: It's an unsupported way and You do at at Your own risk
Paid for Software more or less?
What You need is OSS!
Hi,
Have tried the above suggestion with the ini file and works fine for setting the "My Documents" setting.
I am using Windows 7 and for some reason I cannot change the securirt permissions only to "Read" - it's "Read and Write" or nothing...
Is there a templates setting for the ini file as this is a much easier work around for me?
Thanks!
... and will be available soon.
Paid for Software more or less?
What You need is OSS!
Are there examples for the other settings?
So I will put Java off.
thx
Quaser
... You can only enable Java Portable instead of the hosts java.
If You want to disable java (keep in mind that base, some assistents an configuration tools will not work without it) set it off under Settings-Options-Java and close OpenOffice.org Portable.
Set the file javasettings_Windows_x86 in Data\settings\user\config to read only for all users.
This is no supported feature, You can use it at Your own risk!
Paid for Software more or less?
What You need is OSS!
I use a slightly more flexible solution discussed here:
http://www.oooforum.org/forum/viewtopic.phtml?p=363191#363191
it will break the portable mode.
If You'll use the OpenOffice.org executables directly You'll use it like the standard version.
My answer to Yor other post is here:
https://portableapps.com/node/22809#comment-145115
Paid for Software more or less?
What You need is OSS!
I have created an AutoIt script which seems to work (I'm running Oop 3.2.0).
The script can be converted to an EXE file, and I simply run the EXE each time I insert my thumbdrive (I name the EXE "!Start.EXE" - the "!" puts it at the top of the alphabetical list of drive contents). The script automatically runs StartPortableApps.exe after setting the documents path for Open Office, so if you have autorun working, you should edit the autorun as well.
The EXE (or script if you don't convert it to an EXE) must be in the root directory/folder of your portable drive.
---------------------
; AutoIt Version: 3.0
; Language: English
;
; Script Function:
; Sets OpenOfficePortable Documents Path and then quits.
;
$sIni = @ScriptDir & "PortableApps\OpenOfficePortable\OpenOfficePortable.ini"
$sData1 = @ScriptDir & "Documents\"
$sData2 = "OpenOfficeDirectory=App\openoffice" & @LF & "SettingsDirectory=Data\settings" & @LF & "OpenOfficeExecutable=soffice.exe" & @LF & "AdditionalParameters=" & @LF & "WaitForOpenOffice=false" & @LF & "RunDataLocally=false" & @LF & "PortableApps.comTemp=X:\temp\" & @LF & "PortableApps.comDocuments=" & $sData1
IniWriteSection($sIni, "OpenOfficePortable", $sData2)
Run(@ScriptDir & "StartPortableApps.exe")
---------------------
This script works where OpenOffice is in \PortableApps\OpenOfficePortable on the drive, and the documents path I want is \Documents
Edit as required.
AutoIt is available at
http://www.autoitscript.com/site/autoit/downloads/