wixl: Missing support for Permanent property on Component
We need a way to keep files around after an install is removed. E.g. we create an installer to update software, so we want it to remove the currently installed software, but we don't want to blow away the configuration files. Wix currently supports this by adding a Permanent="yes" attribute to the Component.
Name | Type | Description |
---|---|---|
Permanent | YesNoType | If this attribute is set to 'yes', the installer does not remove the component during an uninstall. The installer registers an extra system client for the component in the Windows Installer registry settings (which basically just means that at least one product is always referencing this component). Note that this option differs from the behavior of not setting a guid because although the component is permanent, it is still patchable (because Windows Installer still tracks it), it's just not uninstallable. |
-- Component - Wix Toolset Documentation
Currently this attribute throws the following error
(wixl:26886): GLib-GObject-WARNING **: 14:47:25.849: g_object_set_is_valid_property: object class 'WixlWixComponent' has no property named 'Permanent' Unsupported CustomAction
Edited by Daniel Dickerson