Is there a way to NOT delete files after an uninstall?
+2
A:
Set the Component
value Permanent="yes"
like so:
<Component Id="LicenseDoc" Guid="{E7BDA157-1637-4a2a-84F4-7825EEFEE354}" Permanent="yes">
<File Id ="License.rtf" Source="$(var.SolutionDir)Installer\License.rtf" />
</Component>
Simeon Pilgrim
2010-04-13 16:21:35
I posted the question to the wixusers mailing list and got the same answer, but also to note about the Permanent flag (compliments of Phil Wilson):As long as everyone realizes that Permanent means permanent forever. It doesn't mean "until I change the setting to not Permanent". It makes that component permanent on the system, and I wouldn't use it unless "permanently installer forever" is what is required.
glenneroo
2010-04-14 10:34:08
A:
Compliments of Phil Wilson from wixusers mailing-list:
See the MSI SDK docs for the Component table - set the Component guid to be null (empty). The effect of this is that the component isn't registered (so it can't be repaired) and it won't be uninstalled.
glenneroo
2010-04-14 10:36:02