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 checked the "Uninstall all" check box. hope this will help... Stefan Anton Filippov wrote: > 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 (standard) possibilities: >> >> 1) Use the component without GUID. >> The component without GUID cannot be pathced or deleted via standard >> MSI actions. >> >> 2) Use <Component Guid='YOUR_COMPONENT_GUID' Permanent='yes' .../>. >> With this approach you will be able to patch the files in the >> component. But the files (whole component) will not be removed >> during uninstallation. >> >> >> Regards >> >> Stefan >> >> Anton Filippov wrote: >>> 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. >>> >>> ------------------------------------------------------------------------- >>> Using Tomcat but need to do more? Need to support web services, security? >>> Get stuff done quickly with pre-integrated technology to make your job >>> easier >>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>> _______________________________________________ >>> WiX-users mailing list >>> WiX-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/wix-users >>> >>> >>> __________ NOD32 1.1841 (20061027) Information __________ >>> >>> This message was checked by NOD32 antivirus system. >>> http://www.eset.com >>> >>> >>> >> -- >> Stefan Pavlik | [EMAIL PROTECTED] >> Whitestein Technologies | www.whitestein.com >> Panenska 28 | SK-81103 Bratislava | Slovak Republic >> Tel +421(2)5930-0735 | Fax +421(2)5443-5512 >> > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > __________ NOD32 1.1841 (20061027) Information __________ > > This message was checked by NOD32 antivirus system. > http://www.eset.com > > > -- Stefan Pavlik | [EMAIL PROTECTED] Whitestein Technologies | www.whitestein.com Panenska 28 | SK-81103 Bratislava | Slovak Republic Tel +421(2)5930-0735 | Fax +421(2)5443-5512 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users