X-LibreOffice

Discuss anything related to portable freeware here.
Message
Author
User avatar
Danix
Posts: 61
Joined: Wed Nov 08, 2006 1:07 pm
Location: Italy
Contact:

Re: X-LibreOffice

#16 Post by Danix »

webfork wrote:How is it handling Java? If its installing, that's definitely not portable and I'm not aware of WinPenPack releasing a portable Java package.
We have developed a winPenPack utility called "JavaGet". This program, now contained in each X-Software that requires Java, manages the automatic installation or upgrade of the Java Runtime Environment (JRE) directly in the \Lib\Java folder. Then, at X-LibreOffice Portable first run, JRE is automatically downloaded and extracted in $Drive$\X-LibreOffice\Lib\Java\ folder (but only if JRE is not present in this directory). You can easily verify this by downloading and running X-LibreOffice (details..).

Image

Please note that the folder "\Lib\Java" can be used by more X-Software. So, if in the winPenPack "Lib" folder are already present the "bin" and "lib" Java folders, or if you run the programs from a wpp suite, you don't need to re-install it anymore. In fact, the Java "installation" present in "\Lib" folder will be used by all X-Software requiring it.


webfork wrote:What is the correct documents folder? What is the expected behavior? I ask because if you're suggesting C:\Documents and Settings\User\My Documents I don't think that's the most portable-friendly option.
The default "Documents" folder for X-LibreOffice is always within the X-Software structure, even if the drive letter or the software position changes: $Drive$\X-LibreOffice\Documents\. You can verify this by opening or saving a document and also from Options >> Paths.

Note that the "Documents" folder is also a folder shared by multiple X-Software.


webfork wrote:Some users might not want a recent files listing, although admittedly that functionality should be capable of being turned on or off under preferences.
Honestly, I have not tested whether it is possible to turn on or off this option under preferences. But, anyway, I think this feature is an advantage: if you save/open files in \Documents folder (as well as the portabilization is prepared), all paths of recent files are normalized when the drive letter or the software position changes.


stoned wrote:Hey guys, have a look here, at the top of homepage...
http://www.winpenpack.com/en/news.php
IMHO a NEW very nice package! ;-)
Thank you, stoned! :wink:
Now I moved the announcement here.

User avatar
webfork
Posts: 10836
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: X-LibreOffice

#17 Post by webfork »

Danix wrote:
webfork wrote:How is it handling Java? If its installing, that's definitely not portable and I'm not aware of WinPenPack releasing a portable Java package.
We have developed a winPenPack utility called "JavaGet".
Glad there's work on a portable Java happening. I've done a lot of work here in the forums on trying to get Java Portable / jPortable working portably with existing freeware.

Has anyone tested JavaGet for portability?

User avatar
webfork
Posts: 10836
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: X-LibreOffice

#18 Post by webfork »

naxalite wrote:if I change the name of the folder containing the program, I get another very strange error: "The path to LibreOffice Portable has changed...some features may not work":

Image
I just verified naxalite's problems with path portability.

User avatar
JohnTHaller
Posts: 726
Joined: Wed Feb 10, 2010 4:44 pm
Location: New York, NY
Contact:

Re: X-LibreOffice

#19 Post by JohnTHaller »

webfork wrote:I just verified naxalite's problems with path portability.
That's just a warning shown by the launcher itself because LibreOffice Portable is relatively new and path moving wasn't rigorously tested. It's not based on any known issues, just a precaution which is shown by default before we're positive the app can be properly moved. It will be disabled in the next update of LibreOffice Portable as no issues have cropped up with path moving since we launched it.

You can disable the warning by editing the LibreOfficePortable.ini file in App\AppInfo\Launcher and adding a line to the [Launch] section as follows:

DirectoryMoveOK=yes

That's the only change necessary, it affects nothing else other than showing that warning and is the exact change we'll be making to that file in the next release.
PortableApps.com - The open standard for portable software | Support Net Neutrality

User avatar
webfork
Posts: 10836
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: X-LibreOffice

#20 Post by webfork »

JohnTHaller wrote:
webfork wrote:I just verified naxalite's problems with path portability.
That's just a warning shown by the launcher itself because LibreOffice Portable is relatively new and path moving wasn't rigorously tested.
Correction: I verified that this warning message pops up, not that there are actual issues with path portability.

User avatar
JohnTHaller
Posts: 726
Joined: Wed Feb 10, 2010 4:44 pm
Location: New York, NY
Contact:

Re: X-LibreOffice

#21 Post by JohnTHaller »

webfork wrote:Correction: I verified that this warning message pops up, not that there are actual issues with path portability.
Yeah, I knew what you meant :)

Incidentally, LibreOffice Portable will also work just fine from a path with spaces now. It was an old bug in earlier builds of OpenOffice.org and LibreOffice itself that we had the launcher trapping for to prevent users running and it just crashing. So, as with my previous post, you can edit the LibreOfficePortable.ini file in App\AppInfo\Launcher and alter the [Launch] section to be:

[Launch]
ProgramExecutable=libreoffice\program\soffice.exe
MinOS=2000
DirectoryMoveOK=yes

You remove the NoSpacesInPath line and add the DirectoryMoveOK line. LibreOffice Portable will now run from a path with spaces in it and work just fine when the relative path changes. We just left that check in for this release as the previous one still had some issues. The current LibO release seems to handle spaces properly now. We'll be making these changes to the next official LibreOffice Portable release as well.
PortableApps.com - The open standard for portable software | Support Net Neutrality

User avatar
Danix
Posts: 61
Joined: Wed Nov 08, 2006 1:07 pm
Location: Italy
Contact:

Re: X-LibreOffice

#22 Post by Danix »

X-LibreOffice has been updated to 3.4.0 version.

P.S.: I known (and I' m sorry) this isn't the right section of forum for the updates signallings. If you want I can start a new thread here.

User avatar
SYSTEM
Posts: 2045
Joined: Sat Jul 31, 2010 1:19 am
Location: Helsinki, Finland

Re: X-LibreOffice

#23 Post by SYSTEM »

Danix wrote:X-LibreOffice has been updated to 3.4.0 version.
Thanks! :)
Danix wrote: P.S.: I known (and I' m sorry) this isn't the right section of forum for the updates signallings. If you want I can start a new thread here.
Eh, X-LibreOffice doesn't have a separate database entry. That subforum is designed for reporting updates of applications which have entries of their own.

This thread is exactly the right place to report updates of X-LibreOffice, at least for now.
My YouTube channel | Release date of my 13th playlist: August 24, 2020

carbonize
Posts: 363
Joined: Wed Jan 09, 2008 1:16 am
Location: Bristol, UK
Contact:

Re: X-LibreOffice

#24 Post by carbonize »

Isn't Java only required for the database stuff though?

User avatar
SYSTEM
Posts: 2045
Joined: Sat Jul 31, 2010 1:19 am
Location: Helsinki, Finland

Re: X-LibreOffice

#25 Post by SYSTEM »

carbonize wrote:Isn't Java only required for the database stuff though?
You're right, one can usually use LibreOffice just fine without Java. Only some relatively complex functionality, like macros, requires Java.
My YouTube channel | Release date of my 13th playlist: August 24, 2020

User avatar
Danix
Posts: 61
Joined: Wed Nov 08, 2006 1:07 pm
Location: Italy
Contact:

Re: X-LibreOffice

#26 Post by Danix »

If you don't wish to use Java in X-LibreOffice, open X-LibreOffice.ini and deactivate JavaGet.exe by placing a ; before RunFile:

[RunBefore]
;RunFile=$Lib$\Java\JavaGet\JavaGet.exe

User avatar
webfork
Posts: 10836
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: X-LibreOffice

#27 Post by webfork »

webfork wrote:Has anyone tested JavaGet for portability?
So this discussion hit sort of a stopping point because JavaGet hasn't been tested for portability. As the main WinPenPack launcher went dotNET recently, this is something that should get checked.

I could swear JavaGet was mentioned in some other article here on the site but I can't seem to find it.

User avatar
Danix
Posts: 61
Joined: Wed Nov 08, 2006 1:07 pm
Location: Italy
Contact:

Re: X-LibreOffice

#28 Post by Danix »

webfork wrote:So this discussion hit sort of a stopping point because JavaGet hasn't been tested for portability.
JavaGet itself has the only function to download and install JRE into \Lib\Java\ directory, therefore it does not have portability problems. But if you're referring to the portability of Java, when X-Software run, it creates a key in HCU (HKEY_CURRENT_USER\Software\JavaSoft) that, for our choice, we have preferred to leave unchanged.

webfork wrote:As the main WinPenPack launcher went dotNET recently, this is something that should get checked.
About this part, the situation is long to explain..
Have you already seen this post?

User avatar
JohnTHaller
Posts: 726
Joined: Wed Feb 10, 2010 4:44 pm
Location: New York, NY
Contact:

Re: X-LibreOffice

#29 Post by JohnTHaller »

Danix wrote:
webfork wrote:As the main WinPenPack launcher went dotNET recently, this is something that should get checked.
About this part, the situation is long to explain..
Have you already seen this post?
He's referring to the fact that products that require .NET are not considered to be portable as the majority of Windows PCs do not have .NET pre-installed. Only Windows Vista and Windows 7 have it installed. Windows 2000 and Windows XP (about 60% of PCs) do not and only an administrator can install it. You can see a full analysis of it here: http://johnhaller.com/jh/useful_stuff/d ... able_apps/
PortableApps.com - The open standard for portable software | Support Net Neutrality

User avatar
webfork
Posts: 10836
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: X-LibreOffice

#30 Post by webfork »

Danix wrote:
webfork wrote:So this discussion hit sort of a stopping point because JavaGet hasn't been tested for portability.
JavaGet itself has the only function to download and install JRE into \Lib\Java\ directory, therefore it does not have portability problems. But if you're referring to the portability of Java, when X-Software run, it creates a key in HCU (HKEY_CURRENT_USER\Software\JavaSoft) that, for our choice, we have preferred to leave unchanged.
A single, non-settings reg key affects stealth status, not portability so that shouldn't be an issue.
Danix wrote:
webfork wrote:As the main WinPenPack launcher went dotNET recently, this is something that should get checked.
About this part, the situation is long to explain..
Have you already seen this post?
Yes, I posted your link here on the site back in December. I mention it in that context to say that what WinPenPack considers portable clashes with some users here and thus should see a bit more analysis. My issue with dotNET represents only some users here including myself and doesn't reflect site policy.

Post Reply