https://bugs.documentfoundation.org/show_bug.cgi?id=103786
Bug ID: 103786
Summary: Knowing the product version via Registry query
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: enhancement
Priority: medium
Component: LibreOffice
Assignee: [email protected]
Reporter: [email protected]
Knowing the product version is the key for automated updates with a batch
script. To know the version I've read to major way to do it:
a) the Registry way is little tricky and depends from version to version..
- for 5.2 REG QUERY "HKLM\SOFTWARE\Wow6432Node\The Document
Foundation\LibreOffice\5.2\{4B17E523-5D91-4E69-BD96-7FD81CFA81BB}" -v
ProductVersion
- for 5.1 REG QUERY "HKLM\SOFTWARE\Wow6432Node\The Document
Foundation\LibreOffice\5.1\{4B17E523-5D91-4E69-BD96-7FD81CFA81BB}" -v
ProductVersion
b) the .exe -version way give a graphic popup:
C:\Program Files (x86)\LibreOffice 5\program>swriter.exe -version
Is possible a c) better method to know the ProductVersion for 32/64bit
installation?
In MS Office the easy Registry way is with one query for all versions:
reg query "HKEY_CLASSES_ROOT\Word.Application\CurVer"
SUGGESTION/Enanchement: is possibile to set a registry key without
subversion-key like this one:
-> HKEY_CLASSES_ROOT\LibreOffice.Application\ProductVersion
or modify the existing one:
-> HKLM\SOFTWARE\Wow6432Node\The Document
Foundation\LibreOffice\ProductVersion
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs