LibreOfficePortable.ini 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. [Launch]
  2. ProgramExecutable=libreoffice\program\soffice.exe
  3. MinOS=7
  4. DirectoryMoveOK=yes
  5. SupportsUNC=yes
  6. [Activate]
  7. Java=find
  8. XML=true
  9. Registry=true
  10. [Environment]
  11. PATH=%PAL:AppDir%\libreoffice\program;%PATH%
  12. ;[Language]
  13. ;Base=%PortableApps.comLocaleglibc%
  14. ;CheckIfExists=%PAL:AppDir%\libreoffice\readmes\readme_%PAL:LanguageCustom%.txt
  15. ;DefaultIfNotExists=en-US
  16. ;[LanguageFile]
  17. ;Type=XML text
  18. ;File=%PAL:DataDir%\settings\user\registrymodifications.xcu
  19. ;XPath=//prop[normalize-space(@oor:name)="UILocale"]/value
  20. ;[LanguageStrings]
  21. ;en_GB=en-GB
  22. ;en_US=en-US
  23. ;pt_BR=pt-BR
  24. ;zh_CN=zh-CN
  25. ;zh_TW=zh-TW
  26. [FileWrite1]
  27. Type=ini
  28. File=%PAL:AppDir%\libreoffice\program\bootstrap.ini
  29. Section=ErrorReport
  30. Key=ErrorReportServer
  31. Value=
  32. [FileWrite2]
  33. Type=ini
  34. File=%PAL:AppDir%\libreoffice\program\bootstrap.ini
  35. Section=Bootstrap
  36. Key=UserInstallation
  37. Value=$ORIGIN/../../../Data/settings
  38. [FileWrite3]
  39. File=%PAL:DataDir%\settings\user\config\javasettings_Windows_x86.xml
  40. Type=Replace
  41. Find=%PAL:LastDrive%%PAL:LastPackagePartialDir:ForwardSlash%/
  42. Replace=%PAL:Drive%%PAL:PackagePartialDir:ForwardSlash%/
  43. [FileWrite4]
  44. File=%PAL:DataDir%\settings\user\config\javasettings_Windows_x86.xml
  45. Type=Replace
  46. Find=%PAL:LastPortableAppsBaseDir:ForwardSlash%/
  47. Replace=%PAL:LastPortableAppsBaseDir:ForwardSlash%/
  48. [FileWrite5]
  49. File=%PAL:DataDir%\settings\user\config\javasettings_Windows_x86.xml
  50. Type=XML text
  51. XPath=/java/javaInfo/location
  52. Value=file:///%JAVA_HOME_FORWARDSLASH%
  53. [FileWrite6]
  54. File=%PAL:DataDir%\settings\user\registrymodifications.xcu
  55. Type=XML text
  56. XPath=//item[normalize-space(@oor:path)="/org.openoffice.Office.Paths/Paths/org.openoffice.Office.Paths:NamedPath['Temp']"]/prop/value
  57. Value=file:///%TEMP:ForwardSlash%/temp
  58. [FileWrite7]
  59. File=%PAL:DataDir%\settings\user\registrymodifications.xcu
  60. Type=Replace
  61. Find=DEFAULT--WORK--PATH
  62. Replace=file:///%PortableApps.comDocuments:ForwardSlash%
  63. [FileWrite8]
  64. File=%PAL:DataDir%\settings\user\registrymodifications.xcu
  65. Type=Replace
  66. Find=file:///%PAL:LastDrive%%PAL:LastPackagePartialDir:ForwardSlash%
  67. Replace=file:///%PAL:Drive%%PAL:PackagePartialDir:ForwardSlash%
  68. [FileWrite9]
  69. File=%PAL:DataDir%\settings\user\registrymodifications.xcu
  70. Type=Replace
  71. Find=file:///PAL:LastPortableAppsBaseDir:ForwardSlash%
  72. Replace=file:///PAL:PortableAppsBaseDir:ForwardSlash%
  73. [FileWrite10]
  74. File=%PAL:DataDir%\settings\user\registrymodifications.xcu
  75. Type=Replace
  76. Find=file:///%PAL:LastDrive%/
  77. Replace=file:///%PAL:Drive%/
  78. [FileWrite11]
  79. Type=ini
  80. File=%PAL:AppDir%\libreoffice\program\setup.ini
  81. Section=Bootstrap
  82. Key=BASISINSTALLLOCATION
  83. Value=%PAL:AppDir%\libreoffice\
  84. [FileWrite12]
  85. Type=ini
  86. File=%PAL:AppDir%\libreoffice\program\setup.ini
  87. Section=Bootstrap
  88. Key=INSTALLLOCATION
  89. Value=%PAL:AppDir%\libreoffice\
  90. [FileWrite13]
  91. Type=ini
  92. File=%PAL:AppDir%\libreoffice\program\setup.ini
  93. Section=Bootstrap
  94. Key=OFFICEINSTALLLOCATION
  95. Value=%PAL:AppDir%\libreoffice\
  96. [FileWrite14]
  97. Type=ini
  98. File=%PAL:AppDir%\libreoffice\program\setup.ini
  99. Section=Bootstrap
  100. Key=UREINSTALLLOCATION
  101. Value=%PAL:AppDir%\libreoffice\URE\\
  102. ;[FileWrite13]
  103. ;File=%PAL:DataDir%\settings\user\registrymodifications.xcu
  104. ;Type=XML text
  105. ;XPath=//prop[normalize-space(@oor:name)="UILocale"]/value
  106. ;Value=%PAL:LanguageCustom%