You can also use msiext <http://dblock.github.io/msiext/> extension that has a DeleteFiles element.
It should be conditioned like you would a custom action, unlike RemoveFolderEx which is conditioned by default by it's containing component's action. ----- Nir Bar Freelance Developer Mail: nir....@panel-sw.com Web: www.panel-sw.com - C++ On Windows, Linux and Embedded Platforms - WiX & InstallShield -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Prevent-run-of-Custom-action-if-product-is-installed-tp7599666p7599677.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users