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


Hi,

A couple of days ago I fixed the RegisterExtensions custom action,
which runs unopkg.exe during install and pre-registers bundled
extensions. The counterpart of this custom action, the
RemoveExtensions is supposed to remove shared\prereg\bundled directory
during uninstall. Unfortunately RemoveExtensions does not work. It
must be a deferred execution custom action, because it modifies the
system, but the original session handle and property data set during
the installation sequence is not available to a deferred execution
custom action. So it is not possible to get the value of FINDPRODUCT,
not to mention that by that time all registry values are removed, so
it would not work even if we had FINDPRODUCT.

The solution is to pass the install location via CustomActionData
property. Please find attached the patch for 3.5. It is essential to
Intel AppUp build (already applied there), but it is nice to have in
community builds, too, because uninstaller should not left files in
installation directory.

Best regards,
Andras

Attachment: 0001-fix-RemoveExtensions-custom-action.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.