Re: [WiX-users] Leave some files during uninstall

2006-10-31 Thread Stefan Pavlik
It is not possible to change the "Permanent" attribute during uninstallation. For this you need the Custom Action. I would use the component with Permanent='yes' and additional CustomAction that will remove files ( or better add the files to RemoveFile table) from this component when the user has

Re: [WiX-users] Leave some files during uninstall

2006-10-31 Thread Anton Filippov
Ok, this way don't remove files. And next qestion, how to set condition for remove|don't remove? For example, user during uninstall, set checkbox - uninstall all files. If this check not set, files don't remove. On 10/31/06, Stefan Pavlik <[EMAIL PROTECTED]> wrote: > Hi,... > > you have two (st

Re: [WiX-users] Leave some files during uninstall

2006-10-31 Thread Stefan Pavlik
Hi,... you have two (standard) possibilities: 1) Use the component without GUID. The component without GUID cannot be pathced or deleted via standard MSI actions. 2) Use . With this approach you will be able to patch the files in the component. But the files (whole component) will not be removed

[WiX-users] Leave some files during uninstall

2006-10-30 Thread Anton Filippov
Hi All How to don't delete some files during unistall? Can I deny remove this files through standart way, or only through CA (creating backup)? Maybe set this files into one component and verify component (how)? Thanks. Anton.