Re: [WiX-users] Retaining a component not marked as Permanent during uninstall

2010-12-02 Thread Rob Hamflett
You could keep the component in the installer, but condition it based on whether or not a previous install was discovered. Rob On 01/12/2010 15:57, Leigh Wetmore wrote: Hi, I'm doing an upgrade of a product. The WIX in the original installer (1.0) for one relevant component looked like

Re: [WiX-users] Retaining a component not marked as Permanent during uninstall

2010-12-02 Thread Leigh Wetmore
That's a good option to keep in mind. Another option I recently came up with is to sneakily rename the Sample directory via a custom action - it then is not recognized during upgrade and is left intact. I already have a custom action that updates some files, so adding the rename would be

[WiX-users] Retaining a component not marked as Permanent during uninstall

2010-12-01 Thread Leigh Wetmore
Hi, I'm doing an upgrade of a product.  The WIX in the original installer (1.0) for one relevant component looked like this: Directory Id=Sample Name=Sample Component Id=SampleRules Guid={my-guid} File Id=myxmlfile.xml Name=myxmlfile.xml KeyPath=yes Source=..\pathtomyfile\myxmlfile.xml /