这是indexloc提供的服务,不要输入任何密码
Skip to content

Searching UNO in Windows registry currently doesn't work #8

@xbubli

Description

@xbubli

Now that noa-libre comes with OfficeLoader that will try to find UNO on the system in the following places & following order:

  1. noa configuration ( IOfficeApplication. APPLICATION_HOME_KEY )
  2. com.sun.star.lib.loader.unopath Java property
  3. UNO_PATH environment variable
    4a. (Windows only) Registry key Software\LibreOffice\UNO\InstallPath
    4b. (Linux/Mac) PATH env.variable
  4. (Linux/Mac) 'which soffice'

the point 4a isn't quite implemented in new code yet. FIXME is planted in WinRegKey.java class in the following commit: 0f71008

Since registry.jar is shipped w/ noa-libre and already used in noa-libre code, we should use it to read Win registry and find UNO install path also in InstallationFinder/WinRegKey classes. Relying on unowinreg.dll won't work in most of the installations, as one needs to have LibO SDK installed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions