The only clean ways I am coming up with involve various schemes to force the component containing that RemoveFolderEx element to remain "installed" (and presumably orphaned) when the product containing it is removed. Does anyone else want to weigh in with ideas on that theme?
Blair -----Original Message----- From: thomas.debo...@rohde-schwarz.com [mailto:thomas.debo...@rohde-schwarz.com] Sent: Tuesday, November 15, 2011 7:10 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] util:RemoveFolderEx with condition? Hi, I'm just working on a task where I have to cleanup a folder where the application will create files and folders during runtime. There for I've added a RemoveFolderEx element. <util:RemoveFolderEx On=" uninstall" Property="AppDataCommonFolder"/> This works fine so far, but for one folder the user should be able to set in a dialog if this folder should be deleted or not. For this I set a property based on a checkbox. Now I can't find a way how to set a condition based on my property to the RemoveFolderEx element. Is it possible or do I work into the wrong way? Cheers, Thomas ---------------------------------------------------------------------------- -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users