Bug 69419

Summary: LibreOfficePortable_4.1.1_MultilingualNormal.paf.exe won't run from within %ProgramFiles%
Product: LibreOffice Reporter: brathendl
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTABUG    
Severity: major CC: barta, jbfaure, robinson.libreoffice
Priority: medium    
Version: 4.1.1.2 release   
Hardware: x86 (IA32)   
OS: Windows (All)   
Whiteboard: NeedsWindows
Crash report or crash signature: Regression By:
Attachments: Screenshots

Description brathendl 2013-09-16 13:35:47 UTC
Created attachment 85913 [details]
Screenshots

Download LibreOfficePortable_4.1.1_MultilingualNormal.paf.exe from the server. Extract to %ProgramFiles%\Libre Office\. Run LibreOfficePortable.exe (or any other binary in the root directory) from there.

Result: Popup saying "Libre Office cannot be run from inside C:\Program Files. This location is for standard local software only. Please use this application from another location.".

Runs flawlessly from %Temp%. Using German WinXPSP3, admin rights, all updates. See attached screenshots.

Verdict: It's either portable (then I'm allowed to run in on whateve drive and in whatever directory I like), or it's not.
Comment 1 brathendl 2013-09-16 13:49:03 UTC
Addendum: The issue is even more bizarre.

Create a directory that has %ProgramFiles% as the leftmost substring, e. g. C:\Programme Portabel\ for a German Windows OS or C:\Program Files Portable\ for ENU. Same Popup saying "Libre Office cannot be run from inside C:\Program Files. This location is for standard local software only. Please use this application from another location.".

So the implementation of this check (of objectionable sense) is just plain wrong. Please get rid of it. Thank you.
Comment 2 tommy27 2013-09-17 18:43:37 UTC
I have no experience with PortableApps LibO but I know another portable version called X-LibreOffice. 

to download it from this webpage http://www.winpenpack.com/main/download.php?view.1354

click the blue arrow

maybe it can run from Program Files
Comment 3 Jean-Baptiste Faure 2013-11-16 21:27:20 UTC
LibreOfficePortable is intended to run from outside the standard installation directory even (and mainly) if you do not have administration rights on the PC. For example from an usb key. If you can install something in %ProgramFiles%, then you can install normal LibreOffice there and you don't need LibreOfficePortable.

On the other hand, PortableLibreOffice is not packaged by LibreOffice project but by portableapps.com, so please ask http://portableapps.com/apps/office/libreoffice_portable/

Closing as NotABug as it works as designed.

Best regards. JBF