Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hi All,

I had a bit of time to work on the install time index generation, so
I've created a patch that implements a custom action for the MSI
installer which I think will do just that once hooked in.

As yet it's untested inside MSI as I'm not sure which files to edit in
the MSI templates to patch it in ( I have never developed anything for
MSI before).

I did test it by pulling it into a command line tool that I observed
to generate all the required index files when pointed at a pseudo-
libreoffice install with a set of dict-xx directories.

I wasn't sure what the best approach was to finding out which
dictionaries need indexing as I'm not sure what can be gained out of
the MSI database.  In the end I looked at a bunch of the other custom
actions and decided to just do a "mini-find" from the LibreOffice
install path for the dictionary extensions and generate all the idx
files for any dat file found.  I thought it may be possible to do a
query on the MSI database and determine all the .dat files.

Assuming this is a reasonable approach, what remains is to hook the
custom action into the MSI installer process and then test it a bit.

-- 
Regards,
Steven Butler

Attachment: 0001-Add-MSI-custom-action-capable-of-generating-thesauru.patch
Description: Binary data


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.